Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


AoB - Array help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
hitandrun160
How do I cheat?
Reputation: 0

Joined: 21 Sep 2010
Posts: 2

PostPosted: Tue Sep 21, 2010 4:13 pm    Post subject: AoB - Array help Reply with quote

ok.
i am trying to hack a game called transformice by using aob's
i am changing Arrow
Code:
            var _loc_17:Number = NaN;
            this.ObjetEnCours = null;
            if (this.Guide)
            {
                this.ListeClipObjet = new Array();
                this.AutoClou = false;
                this.InterfaceListeObjet.Vider();
                if (this.Monde444)
                {
                    _loc_1 = this.ListeObjetDispo444.slice();
                }
                else
                {
                    _loc_1 = this.ListeObjetDispo.slice();
                }
                if (this.Monde.Aaaah)
                {
                    _loc_1 = new Array(0, 24, 88);
                }
                else if (this.Monde.ObjetInterdit)
                {


to

Code:

            var _loc_17:Number = NaN;
            this.ObjetEnCours = null;
            if (this.Guide)
            {
                this.ListeClipObjet = new Array();
                this.AutoClou = false;
                this.InterfaceListeObjet.Vider();
                _loc_1 = new Array(0, 1, 2, 3, 4, 5 ect...)
                else if (this.Monde.ObjetInterdit)
                {


and got the aob
d0 66 df 0b 12 0f 00 00 d0 66 9a 0b 46 c5 1d 00 80 16 d5 10 0b 00 00 d0 66 ac 0b 46 c5 1d 00 80 16 d5 d0 66 b1 0a 66 c6 1d 12 12 00 00 5d 16 24 00 24 18 24 58 4a 16 03 80 16 d5 10 6d 00 00
>
d0 5d 16 2a 24 02 24 03 24 04 24 05 24 06 24 07 24 08 24 09 24 0a 24 0b 24 0c 24 0d 24 0e 24 0f 24 10 24 11 24 12 24 13 24 14 24 15 24 16 24 17 24 18 24 19 24 1a 24 1b 4a 16 1c 80 16 d5 02

but it dosent work!!!!!!

i run it through a hexeditor and find out that it changes it to
Arrow
Code:

            var _loc_17:Number = NaN;
            this.ObjetEnCours = null;
            if (this.Guide)
            {
                this.ListeClipObjet = new Array();
                this.AutoClou = false;
                this.InterfaceListeObjet.Vider();
                _loc_1 = new 0.Array(1, 2, 3, 4, 5 ect...)
                else if (this.Monde.ObjetInterdit)
                {


is there anyway to remove that 0.??
am i missing something?

oh sorry RAW DATA:
Arrow

Code:

/66 89 0c
_as3_getproperty InterfaceListeObjet
//4f dd 07 00
_as3_callpropvoid Vider(param count:0)
//d0
_as3_getlocal <0>
//66 df 0b
_as3_getproperty Monde444
//12 0f 00 00
_as3_iffalse offset: 15
//d0
_as3_getlocal <0>
//66 9a 0b
_as3_getproperty ListeObjetDispo444
//46 c5 1d 00
_as3_callproperty -LINK DELETED-:slice(param count:0)
//80 16
_as3_coerce Array
//d5
_as3_setlocal <1>
//10 0b 00 00
_as3_jump offset: 11
//d0
_as3_getlocal <0>
//66 ac 0b
_as3_getproperty ListeObjetDispo
//46 c5 1d 00
_as3_callproperty -LINK DELETED-:slice(param count:0)
//80 16
_as3_coerce Array
//d5
_as3_setlocal <1>
//d0
_as3_getlocal <0>
//66 b1 0a
_as3_getproperty Monde
//66 c6 1d
_as3_getproperty Aaaah
//12 12 00 00
_as3_iffalse offset: 18
//5d 16
_as3_findpropstrict Array
//24 00
_as3_pushbyte 0
//24 18
_as3_pushbyte 24
//24 58
_as3_pushbyte 88
//4a 16 03
_as3_constructprop Array(param count:3)
//80 16
_as3_coerce Array
//d5
_as3_setlocal <1>
//10 6d 00 00
_as3_jump offset: 109
//d0
_as3_getlocal <0>
//66 b1 0a
_as3_getproperty Monde
//66 c7 1d
_as3_getproperty ObjetInterdit
//12 62 00 00
_as3_iffalse offset: 98


and when i hex edit it and decompile...
Arrow

Code:
/4f dd 07 00
_as3_callpropvoid Vider(param count:0)
//5d 16
_as3_findpropstrict Array
//24 00
_as3_pushbyte 0
//2a
_as3_dup
//24 02
_as3_pushbyte 2
//24 03
_as3_pushbyte 3
//24 04
_as3_pushbyte 4
//24 05
_as3_pushbyte 5
//24 06
_as3_pushbyte 6
//24 07
_as3_pushbyte 7
//24 08
_as3_pushbyte 8
//24 09
_as3_pushbyte 9
//24 0a
_as3_pushbyte 10
//24 0b
_as3_pushbyte 11
//24 0c
_as3_pushbyte 12
//24 0d
_as3_pushbyte 13
//24 0e
_as3_pushbyte 14
//24 0f
_as3_pushbyte 15
//24 10
_as3_pushbyte 16
//24 11
_as3_pushbyte 17
//24 12
_as3_pushbyte 18
//24 13
_as3_pushbyte 19
//24 14
_as3_pushbyte 20
//24 15
_as3_pushbyte 21
//24 16
_as3_pushbyte 22
//24 17
_as3_pushbyte 23
//24 18
_as3_pushbyte 24
//24 19
_as3_pushbyte 25
//24 1a
_as3_pushbyte 26
//24 1b
_as3_pushbyte 27
//4a 16 1a
_as3_constructprop Array(param count:26)
//80 16
_as3_coerce Array
//d5
_as3_setlocal <1>
//d0
_as3_getlocal <0>
//66 b1 0a
_as3_getproperty Monde
//66 c7 1d
_as3_getproperty ObjetInterdit
//12 62 00 00
_as3_iffalse offset: 98

_________________
HI!
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Tue Sep 21, 2010 6:12 pm    Post subject: Reply with quote

Not sure about aobscan, but most arrays usually start at 0 so an array of numbers between 1 and 10 would print up to 9 because 0 would be the first element.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
hitandrun160
How do I cheat?
Reputation: 0

Joined: 21 Sep 2010
Posts: 2

PostPosted: Wed Sep 22, 2010 1:16 am    Post subject: Reply with quote

AhMunRa wrote:
Not sure about aobscan, but most arrays usually start at 0 so an array of numbers between 1 and 10 would print up to 9 because 0 would be the first element.

i dont want that i need to know why it goes "_loc_1 = new 0.Array(......)

_________________
HI!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites