[AutoAim Notification] - [Partial Fix]
I decided to do a little difference on the notifications when they turn on or off. The easiest way to do this was to use built-in notifications. Now it shows "Level up!" when you turn autoaim on and "New class unlocked!" when you turn it off.
Replace the contents of *\mods\19.0.0_jNoobAutoAim\19.0.0_jNoobAutoAim_not if.txt with this:
I want @Cryogen235 to see this asap :P
Replace the contents of *\mods\19.0.0_jNoobAutoAim\19.0.0_jNoobAutoAim_not if.txt with this:
Code:
; _-names
#set privNs "com.company.assembleegameclient.game:_-Nn#0"
#set notif "_-1EV" ; search Player class for "level up!". Is the name of the function that acts on that string.
#set mouseUp "_-8w" ; mouseup maybe? right after mousedown trait slot
#set notifFolder "_-9q" ; name of the folder, grep "Player.LevelUp"
#set notifFile "_-1D2" ; name of the file, grep "Player.LevelUp"
#set levelUp "_-0Ej" ; grep "Player.LevelUp"
#set charUnlock "_-0nL" ; grep "Player.NewClassUnlocked"
; code
getlocal0
getproperty QName(PackageNamespace(""), "gs_")
getproperty QName(PackageNamespace(""), "map")
getproperty QName(PackageNamespace(""), "player_")
getlocal0
getproperty QName(PrivateNamespace("*", $"privNs"), $"mouseUp")
iffalse AA_OFF
getlex QName(PackageNamespace($"notifFolder"), $"notifFile")
getproperty QName(PackageNamespace(""), $"levelUp")
jump AA_CONT
AA_OFF:
getlex QName(PackageNamespace($"notifFolder"), $"notifFile")
getproperty QName(PackageNamespace(""), $"charUnlock")
AA_CONT:
callpropvoid QName(PackageNamespace(""), $"notif"), 1
