Autonexus
Ok I'm back to try again at showing how to locate the file and location of the AutoNexus mod/hack
I will continue to use 17.3 as my guide since I already have it open with the known locations of the hacks installed.
Autonexus is always in player.class.asasm
This remains the same, so we mostly need to concentrate on how to find where it goes and how to update the names associated.
For me in 17.3 it is Line: 4929 and I have placed the code below the 'pushtrue' ... it works for me.
I dont bother with Arena and dont bother adding the extra coding, search Cryo's mod selector to see what is added if you want to include it in your code.
Now we need to try and locate that same area in 17.4, like before find similarities in the codes surrounding it..
All I did first was to go down around the same line number 4 - 5K, notice they have added extra but still have their similarities.
Since we now have an updated name, you can search that name further, to find its partner... I find this quicker.. for me anyways, I type that name into search and its the very next one it finds:
Now we have:
maxhealth "_-1hY"
currenthealth "_-18K"
Lets put this together and add it
Autonexus 17.4
~/Desktop/rabcasm/client-1/com/company/assembleegameclient/objects/Player.class.asasm
Line: 4948
On new line: below the pushtrue
Code:
;-------------------
; AUTO NEXUS
;-------------------
#set nexusfunction "escape"
#set maxhealth "_-1hY"
#set currenthealth "_-18K"
pop
getlocal0
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "player_")
ifne END
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "name_")
pushstring "Nexus"
ifeq END
getlex QName(PackageNamespace(""), $"maxhealth")
getlex QName(PackageNamespace(""), $"currenthealth")
convert_d
divide
pushdouble .25
ifgt END
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "gs_")
getproperty QName(PackageNamespace(""), "gsc_")
callpropvoid QName(PackageNamespace(""), $"nexusfunction"), 0
END:
pushtrue
;-------------------------------------------------------------
As I said this works for me, not sure why it wouldn't for anyone else, not sure if placing above or below the pushtrue will make any difference, I haven't tried... if all else fails, experiment, try different things to find what works for you, don't be afraid to fail, worse case you have to start again oooooo lol