19MisterX98 / Nether_Bedrock_Cracker

Cracks nether seeds from bedrock. JAVA EDITION ONLY
68 stars 8 forks source link

How to insert data into main.rs #6

Closed FlailoftheLord closed 1 year ago

FlailoftheLord commented 1 year ago

I don't understand what's happening when i open the main.rs, it's asking for a filename, but doesn't specify the path... where do i insert the coordinates?

19MisterX98 commented 1 year ago

Readme is outdated, either you go sone commits back and edit the file or you can write coords into a new file via the format x y z x y z x y z

Then parse the file path as a command argument cargo run -- path/to/coords.txt

In case of the file being in the directory cargo run -- coords.txt

FlailoftheLord commented 1 year ago

Screenshot_20230406_132133 Panics on an unwrap error. Perhaps it only reads certain line endings/encodings?

FlailoftheLord commented 1 year ago

Found this. https://users.rust-lang.org/t/thread-main-panicked-at-called-result-unwrap-on-an-err-value-error-expected-value/68820

19MisterX98 commented 1 year ago

I made some changes for better errors. try again