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 


Edit memory without event?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Fri May 16, 2014 2:37 pm    Post subject: Edit memory without event? Reply with quote

This game i'm messing with has an item which allows you to inc number of minions

when item is equipt

newmem:
add [esi+00000128],#10 //works
originalcode:
inc [esi+00000128]

but it only works of course when u equip the item which executed the code

so what im asking is, can i some how edit [esi+00000128] without waiting for the player to equip that item //it has only a display value as a "type" Byte - 2byte - 4byte

as soon as the player activates the cheat, increase [esi+00000128] Very Happy
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri May 16, 2014 3:09 pm    Post subject: Reply with quote

You can use pointers, or find other codes to gather the address of the items, but if your question is if you can force the game to execute this code whenever you want, you can but the stack and the registers will be completely screwed up and the result will be a mighty crash, so doing this is useless.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Fri May 16, 2014 3:14 pm    Post subject: Reply with quote

Hmm Damnn Thx For the Answere Geri Very Happy
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri May 16, 2014 3:19 pm    Post subject: Reply with quote

You should check which codes are accessing to your value. This code is writing to it, but you will probably find several others that will read it and those codes will probably run more frequently.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Fri May 16, 2014 3:33 pm    Post subject: Reply with quote

Code:
0F16879B - 81 79 38 48070000     - cmp [ecx+38],00000748 //item id
0F1687A2 - 75 2A                 - jne 0F1687CE //jump over Minon Value, if i nop this, it sets minons value to 6 no idea why hehe
0F1687A4 - D9 05 1898160F        - fld dword ptr [0F169818] : [(float)2.0000] //explain please what these does
0F1687AA - D8 86 B8020000        - fadd dword ptr [esi+000002B8] //??
0F1687B0 - D9 9E B8020000        - fstp dword ptr [esi+000002B8] //??
0F1687B6 - D9 05 1C98160F        - fld dword ptr [0F16981C] : [(float)0.1500] //??
0F1687BC - D8 86 B4020000        - fadd dword ptr [esi+000002B4] //??
0F1687C2 - D9 9E B4020000        - fstp dword ptr [esi+000002B4] //??
0F1687C8 - FF 86 28010000        - inc [esi+00000128] //minon value
0F1687CE - 81 79 38 35070000     - cmp [ecx+38],00000735 //probly next item compare
0F1687D5 - 75 18                 - jne 0F1687EF


So what are my options now i can nop the jmp and and say "mov [esi+00000128],A"

or is there another smart way to do this, also i have no idea how my aobscan code should look like sense i never done double aobscan Very Happy
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri May 16, 2014 3:54 pm    Post subject: Reply with quote

No idea what values are those float instructions changing, but esi is not changed by any of these codes, so you can try to put a

mov [esi+00000128],(int)10

at any of those jne or cmp instructions. (Either right before the cmp or before the jne, but not after the jne.)

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Fri May 16, 2014 4:27 pm    Post subject: Reply with quote

Thx Mate IT Works Hehehe

Matrix. The Machines are Back! at night it looks really cool Very Happy



sdasd.png
 Description:
 Filesize:  268.31 KB
 Viewed:  4729 Time(s)

sdasd.png


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