Originally Posted by
miningmandude
Well, the only reason I use the client is for the anti confuse, so I won't be downloading this one. But thanks for helping everyone out. Also, where did you find how to do this? I would be very interested in learning.
The files inside "19.5_Mod_Selector\mods\19.5.0_autoNexus" just needed to be updated, so I looked at what kind of information was used, decompiled both the 19.5 client and 19.5.1 client to compare them and find the new values.
I'll give you the example of updating 1 value, for the sake of showing how I did it and perhaps helping you learn as well.
in 19.5 _-at was the name of the object(?) that held your current HP. I found this by looking at 19.5.0_autoNexus_30.txt (Thank you for comments / well named variables)
So I searched the files for it and found a piece of code next to it that probably wasn't going to change in the new version. UseBuyPotionCommand/instance"), "player")
From there, I searched that piece of code on the decompiled 19.5.1 files, and made sure what I had found earlier was the same as what I had just found, except for the _-at. That's what I was trying to update, so it's normal that it's not the same. I also found the other thing I needed to update 2 lines bellow.
Then I replaced _-at with the updated name _-1Fz inside 19.5.0_autoNexus_30.txt.
Last but not least;
I made sure the code was put at the right place by the mod selector by updating 19.5.0_autoNexus.xml.
Code:
<mod id="Auto-Nexus 30 Percent">
<code file2mod="com/company/assembleegameclient/objects/Player.class.asasm"
line="5057">
19.5.0_autoNexus_30.txt
</code>
An example with pictures might help for this... This tells us it's going to do something in Player.class.asasm at the line 4999. This is what it looks like.
Looking at the code from the 19.5.1 client, that same line of code is now on line 4999.
The code now becomes
Code:
<mod id="Auto-Nexus 30 Percent">
<code file2mod="com/company/assembleegameclient/objects/Player.class.asasm"
line="4999">
19.5.0_autoNexus_30.txt
</code>
and BAM! Mod Selector can now be used to apply Auto Nexus to your clients.
You don't need to know much about coding to do what I did. Everyone here could have done it, you just need to know that it's possible. It's very much like finding the differences between 2 pictures.