[Help] Mutants: Genetic Gladiators enemy attacks your friend Code

good I'm looking at this script and made a simple change where you are the teamB, and your enemy is the teamA, I just changed the code, it works only when the enemy attacks again, and cause damage to your friend, and after that the game did not return to my turn to play, maybe someone with more experience can solve it ..

game link:  https://apps.facebook.com/mutants_gg/



code

public function get enemyTeamLeader() : TeamLeader
{
//d0
_as3_getlocal <0>
//30
_as3_pushscope
//d0
_as3_getlocal <0>
//66 cd 24
_as3_getproperty _currentFighter
//12 0e 00 00
_as3_iffalse offset: 14
//d0
_as3_getlocal <0>
//66 cd 24
_as3_getproperty _currentFighter
//66 c7 41
_as3_getproperty leader
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//10 04 00 00
_as3_jump offset: 4
//20
_as3_pushnull
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//d5
_as3_setlocal <1>
//d1
_as3_getlocal <1>
//12 20 00 00
_as3_iffalse offset: 32
//d1
_as3_getlocal <1>
//d0
_as3_getlocal <0>
//66 c7 24
_as3_getproperty _teamA
//ab
_as3_equals
//12 0b 00 00
_as3_iffalse offset: 11
//d0
_as3_getlocal <0>
//66 c8 24
_as3_getproperty _teamB
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//10 07 00 00
_as3_jump offset: 7
//d0
_as3_getlocal <0>
//66 c7 24
_as3_getproperty _teamA
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//80 a8 02
_as3_coerce kobojo.timeManagement.fight::TeamLeader
//d5
_as3_setlocal <1>
//d1
_as3_getlocal <1>
//48
_as3_returnvalue





===================

I changed the code to this


 d0 30 d0 66 cd 24 12 0e 00 00 d0 66 cd 24 66 c7 41 80 a8 02 10 04 00 00 20 80 a8 02 80 a8 02 d5 d1 12 20 00 00 d1 d0 66 c7 24 ab 12 0b 00 00 d0 66 c8 24 80 a8 02 10 07 00 00 d0 66 c7 24 80 a8 02 80 a8 02 d5 d1 48 

 
d0 30 d0 66 cd 24 12 0e 00 00 d0 66 cd 24 66 c7 41 80 a8 02 10 04 00 00 20 80 a8 02 80 a8 02 d5 d1 12 20 00 00 d1 d0 66 c7 24 ab 12 0b 00 00 d0 66 c8 24 80 a8 02 10 07 00 00 d0 66 c8 24 80 a8 02 80 a8 02 d5 d1 48 


 

Ubi Maior Minor Cessat

Can you repeat the question?

TIM the Enchanter
Level: 1
ADR Info

Moved to the correct forum. 

It's Jowback, none of what he ever says makes a damn bit of sense.  :P





Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

Zenwaichi Publicado em: 2016/06/03 11:40

Você pode repetir a pergunta?



I want to do the same as MAA cheat where the enemy destroys self.

do the research with the code in the game and you what I mean .. sorry my english.

Ubi Maior Minor Cessat

from a quick glance at your original post it doesn't look like you are trying to change the correct stuff to achieve what you want

Haven't heard of this game before, might try it out and figure something out.



I did disable it to the anti cheat message.
But still the game disconnected, you can continue playing but it does not save the progress.

=(

local:   public class ErrorManager


private function onNetworkserviceConnectFail(param1:NetworkEvent) : void
      {
         this._networkService.connectionOnlyMode = true;
         if(this._networkService != null)
         {
            this._networkService.removeEventListener(NetworkEvent.BEGIN_CONNECT,this.onNetworkserviceBeginConnect);
            this._networkService.removeEventListener(NetworkEvent.CONNECT,this.onNetworkserviceConnect);
            this._networkService.removeEventListener(NetworkEvent.SYNC,this.onNetworkserviceSync);
         }
         if(this._networkService.sessionCompromized)
         {
            this.failWithCode_tValue(FailCodes.SERVER_SESSION_COMPROMIZED,param1.toString(),true);
         }
         else
         {
            this.failWithCode_tValue(FailCodes.SERVER_CONNECT_FAIL,param1.toString(),true);
         }
      }



Luacall(Aobswap("d0 30 d0 66 ?? ?? 26 61 ?? ?? d0 66 ?? ?? 20 13 33 00 00 d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 66 ?? ?? 12 15 00 00 d0 60 ?? ?? 66 ?? ?? d1 46 ?? ?? ?? 26 4f ?? ?? ?? 10 11 00 00 d0 60 ?? ?? 66 ?? ?? d1 46 ?? ?? ?? 26 4f ?? ?? ?? 47 ", "d0 30 d0 66 ?? ?? 26 61 ?? ?? d0 66 ?? ?? 20 13 33 00 00 d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 60 ?? 66 ?? ?? d0 66 ?? ?? 4f ?? ?? ?? d0 66 ?? ?? 66 ?? ?? 12 15 00 00 d0 60 ?? ?? 66 ?? ?? d1 46 ?? ?? ?? 27 4f ?? ?? ?? 10 11 00 00 d0 60 ?? ?? 66 ?? ?? d1 46 ?? ?? ?? 27 4f ?? ?? ?? 47 "))