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 


I need to create a 'Godmode script'...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Thu May 30, 2013 6:19 pm    Post subject: Reply with quote

If the image base is 00400000, then 00E10F60 should equal to "Client.exe"+00A10F60, at then you can modify the assembly code the way you want.

but since the code is not much helpful (i don't have your prog or game), and you have the pointers to the health and the mana, you can create a thread to modify your values, or put the code in that routine instead, a simple thread that should work (using createthread method)

Code:

Alloc(MyMem,100)

[ENABLE]
MyMem:
//"Client.exe"+006BE494 | 478 | 94 | 688 | 7C | 234  modifies the health every 100 milesecs

mov eax,"Client.exe"+006BE494
mov eax,[eax]
mov ebx,[eax+478]
mov eax,[ebx+94]
mov ebx,[eax+688]
mov eax,[ebx+7C]
mov [eax+234],0x64     //Here modify your health, 0x64 is the hexadecimal value of 100

push 64 //100 milesec
call Kernel32.Sleep
jmp MyMem


createthread(MyMem)


[DISABLE]
MyMem:
ret
[/code]

Last edited by TsTg on Thu Jun 27, 2013 2:40 am; edited 2 times in total
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Thu Jun 27, 2013 2:38 am    Post subject: Reply with quote

Sorry for late respone, yes i forgot the 688, updated the script above
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