Open Mobinkh opened 7 months ago
Can you try cargo +nightly install --git https://github.com/mejrs/rs3cache/ rs3 --bin=rs3 --features=rs3
?
thanks for response ye sure its what I got
Updating git repository `https://github.com/mejrs/rs3cache/`
Installing rs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d)
error: failed to compile rs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d)
, intermediate artifacts can be found at C:\Users\TGR.H\AppData\Local\Temp\cargo-installMwR9AX
.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR
to that path.
Caused by: none of the selected packages contains these features: rs3
the path is already defined
im using windows 11 if it helps in anyway !
btw do you know a better way so I can generate the map using python itself ?! because everything works perfectly in python but I didn't find any useful functions related to rendering the map so I decided to use the CLI tool
I just tried, cargo +nightly install --git https://github.com/mejrs/rs3cache rs3cache --bin=rs3 --features=rs3
should work.
btw do you know a better way so I can generate the map using python itself ?! because everything works perfectly in python but I didn't find any useful functions related to rendering the map so I decided to use the CLI tool
No, that is not exposed to python
thats so wierd im recieving new kind of errors !
error[E0635]: unknown feature
provide_any`
--> rs3cache_backend\src\lib.rs:5:5
|
5 | provide_any,
| ^^^^^^^^^^^
error[E0599]: no method named request_value found for reference &dyn StdError in the current scope
--> rs3cache_backend\src\error.rs:12:10 |
12 | #[derive(error::Error)] | ^^^^^^^^^^^^ method not found in &dyn Error |
---|
= note: this error originates in the derive macro error::Error
(in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0412, E0599, E0635.
For more information about an error, try rustc --explain E0412
.
warning: rs3cache_backend
(lib) generated 5 warnings
error: could not compile rs3cache_backend
(lib) due to 6 previous errors; 5 warnings emitted
warning: build failed, waiting for other jobs to finish...
error: failed to compile rs3cache v0.1.0 (https://github.com/mejrs/rs3cache#83c0db0d)
, intermediate artifacts can be found at C:\Users\TGR.H\AppData\Local\Temp\cargo-installYOtTA0
.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR
to that path.
`
can it be any rust version problem or cache problem from my old cmd I ran ?!
ill try to list all i can
error[E0412]: cannot find type Demand
in module core::any
error[E0412]: cannot find type Demand
in module core::any
--> rs3cache_backend\src\index.rs:249:10
error[E0635]: unknown feature provide_any
--> rs3cache_backend\src\lib.rs:5:5
error[E0599]: no method named request_value
found for reference &dyn StdError
in the current scope
--> rs3cache_backend\src\error.rs:12:10
my rust version
rustc 1.76.0 (07dca489a 2024-02-04)
my cargo version
cargo 1.76.0 (c84b36747 2024-01-18)
and i built the app from the github repo cloning and now when I run the map render I see this error !
.\rs3.exe --render map Error: something went wrong when parsing sprite frames (at src\definitions\sprites.rs:220:44) Caused by: reached the end of the file unexpectedly (at src\definitions\sprites.rs:254:45) Caused by: invalid seek to a negative or overflowing position
.\rs3.exe --assert-coherence
shows all is coherent
so sorry for your time btw :(
What cache are you using? Both today's and last week's cache work for me. Try deleting the js5-8
file and leaving the client open for a while so it can redownload it. Hopefully that will fix it.
in your cache can it be any rust version problem or cache problem from my old cmd I ran ?!
The repo has the rustc version pinned, which is why it works if you git clone and install it locally.
that fixed the issue! thanks a lot for your help btw cache was updated yesterday but somehow after removing and downloading cache again it fixed that error
thanks for your help mate
hi first of all thanks for this awesome tool! second I have a problem I want to generate a PNG from the map with tiles but sadly I was not able to do that with Python now I tried CLI but when I install I get this error
cargo +nightly install --git https://github.com/mejrs/rs3cache/ rs3 --features=rs3 Updating git repository
https://github.com/mejrs/rs3cache/
error: there is nothing to install inrs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d)
, because it has no binariescargo install
is only for installing programs, and can't be used with libraries. To use a library crate, add it as a dependency to a Cargo project withcargo add
.how can I fix this ?! is it expected ?!