Skip to content

Conversation

RealRTTV
Copy link
Contributor

@RealRTTV RealRTTV commented May 31, 2024

Add Villager RNG Manipulation to brute-force optimal trades

Edit by xpple: closes #114.

@xpple
Copy link
Collaborator

xpple commented May 31, 2024

Holy fuck nice!

@erxson
Copy link

erxson commented May 31, 2024

yooooo

RealRTTV and others added 24 commits May 31, 2024 14:55
- i need to fix for ping tho
- i can probably remove the clock requirement and use the day/night packets
- i can probably remove the clock requirement and use the day/night packets
Add simulation for more actions and add trade cracking for levels above 1
Copy link
Owner

@Earthcomputer Earthcomputer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm having some issues running it, see Discord

RealRTTV and others added 6 commits December 2, 2024 19:32
…king

# Conflicts:
#	src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java
…king

# Conflicts:
#	src/main/java/net/earthcomputer/clientcommands/features/FishingCracker.java
@vanvac
Copy link

vanvac commented Dec 21, 2024

any updates/problems or just waiting for soemthing to do with mc versions

@RealRTTV
Copy link
Contributor Author

RealRTTV commented Dec 22, 2024

currently we need to fix levelUp changes, but other than that it should be good

@vanvac
Copy link

vanvac commented Dec 22, 2024

hope this comes soon bc making villiager trading halls with this will be so much easier

@vanvac
Copy link

vanvac commented Dec 25, 2024

Idk if this is a knows issue or not but if a viliager loses its profession while its running the rng manipulation after running /cvilliager start the villiager cracking just dies and prevents the command from being run again, it is fixed by reloging and prob many more

@RealRTTV
Copy link
Contributor Author

does /cvillager reset fix it?

@vanvac
Copy link

vanvac commented Jan 18, 2025

tried to recreat it and turns out my description isnt the best
also /cvilliager reset isn't an available command

reproduce problem:

  1. setup villiager cracking setup with a cracked villiager and a goal that would take a decent amount of time to find
  2. break the profession block when the bar at the bottom is flling and the cracking is doing its thing
  3. once the cracking completes it trys to open the villiager gui but cant as it is unemployed
  4. then giving the villiager a proffession and trying to crack it would fail

fixes:

  • relog
  • interact with the villiager and reset the proffesion so you can crack trades again

half fix: these things allow the villiager rng to be cracked again but do not fix the soft lock

  • anything that resets the villiager manipulation atumatically (eg. holding item in hand, villiager hurt, bad setup, etc)

ps. are there any plans to make it where you can specify like a below certian amount of emrald requirement eg. sharp 5 book for <=24 emralds

added `reset` subcommand
levelUp code is still broken
@Amirhan-Taipovjan-Greatest-I
Copy link

Amirhan-Taipovjan-Greatest-I commented Feb 20, 2025

Hello!
I'm sorry for non-Development related Question, but I really want to ask this so much:
Is this "RNG Manipulation" will allow to manipulate Armorer's/Smiths' last (Master-Expert) Trades like Diamond Stuff?

@vanvac
Copy link

vanvac commented Feb 21, 2025

#642 (comment)
yes it will but im pretty sure that the feature to manupilate the traded for upgraded villiagers is broken as of now

@GodGun968
Copy link
Contributor

I'm very interested in this so when will this be merged

@RealRTTV
Copy link
Contributor Author

RealRTTV commented Oct 2, 2025

I was working on it a while ago, the last thing I was doing iirc was making nextLevel work correctly, I can maybe boot 'er up and see if I can patch it, I know someone made a diff to update to 1.21.9 or smth too.

@GodGun968
Copy link
Contributor

Alright, keep it up. I'll provide the Chinese translation once you've finished and merged it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion Villager Trades
8 participants