Help17.4 Auto-Nexus Script -- WIP

Posts 16–19 of 19 · Page 2 of 2
mod seletor is approved, time to check how its done and what went wrong. Did someone find his mistakes?
17.4 Production

Hopefully this will help for future reference. I will try and explain as best I can...

Decompile an older client, lets say 17.3, delete the abc files and the .swf and KEEP the client-1 folder, place this into a separate folder or move it
Decompile a fresh 17.4.swf and use a Text editor that allows you to view all containing folders, I find this much easier..

I use TextWrangler on Mac, its free and does the job

example:
If we look back through given source codes, for 17.3 we know that we need to modify:

~/rabcasm/client-1/_-iC/_-jf.class.asasm



Now we need to find this file in the new 17.4 update. Names change with each update.

Using 'grep' (Mac) to find string "production"

grep -r "production" /Users/YourName/Desktop/rabcasm/client-1

I get results:

client-1/_-1QD/_-10s.class.asasm
client-1/_-1QD/_-rE.class.asasm
client-1/_-Vf/_-Qo.class.asasm


Now we need to look and see which one of these files either match or have the closest similarities to the 17.3
For me I found this:



So now we know the file location is:

~/Desktop/rabcasm/client-1/_-1QD/_-10s.class.asasm

Next we try and find similarities for where the code goes, scroll down the 17.3 to find where the code has been placed.
Then search in the 17.4 to find similarities again to find where it needs to go for this update:

This is what I find:



Ok, now we see you can search for string "Capabilities" to find the location of where the code needs to go, knowing this is the method below the desired area.

RESULT:

17.4 PRODUCTION

~/Desktop/rabcasm/client-1/_-1QD/_-10s.class.asasm

Line: 481
On new line:

Code:
      pop
      pushtrue


I fucked up here because there is no 17.3 source codes thread, but you can easily do the same thing with 17.2 source codes thread [[HERE]]

. sorry about that .

Next I will try and do the same for AutoNexus.
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
Amazing tutorial. Thanks a lot cyeclops. This thread will surely help bring a few new updaters onto the scene.
Posts 16–19 of 19 · Page 2 of 2

Post a Reply

Similar Threads

Talk with us