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 


Super Wolfenstein HD wit physics

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
KaLul0
Newbie cheater
Reputation: 0

Joined: 21 Mar 2016
Posts: 20

PostPosted: Thu Mar 24, 2016 5:21 am    Post subject: Super Wolfenstein HD wit physics Reply with quote

So iam trying to learn some basics with this game:

gamejolt-com/games/super-wolfenstein-hd-now-with-realistic-physics/39194

Its free and kinda funny. I found some adresses for knife amount and life and gun ammo, but it seems that my pointers change ingame. sometimes they work and sometimes (the knife) it works just after i pickup a knife again. Else the adress isnt used. Am i not using the right pointer? do i need to scan deeper? And am i able to scan a pointer again?


the pink ones are more likely to be gun ammo.

Here have my Table so far:



Super Wolfenstein HD.CT
 Description:

Download
 Filename:  Super Wolfenstein HD.CT
 Filesize:  10.01 KB
 Downloaded:  552 Time(s)

Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Thu Mar 24, 2016 7:47 am    Post subject: Reply with quote

Find out what accessed Health address and there should popup a window showing 3 instruction:

56| 049AE4EA - 8B 40 30 - mov eax,[eax+30]
56| 049AD456 - 8B 47 30 - mov eax,[edi+30]
56| 049AE4EA - 8B 40 30 - mov eax,[eax+30]

Highlight the 3rd instruction,then click Show disassembler.
Memory Viewer window should popup.
Scroll a little up and you should see this instruction:

049AE4E4 - 8B 05 B81FFB00 - mov eax,[00FB1FB8] --- base address
049AE4EA - 8B 40 30 - mov eax,[eax+30] ------ offset
049AE4ED - 50 - push eax

From there you can make an aobscan asm to registersymbol&label the base address like this:
Code:

[ENABLE]
aobscan(aob_base,8B 05 * * * * 8B 40 30 50)
label(_base)
[aob_base+2]:
_base:
registersymbol(_base)
[DISABLE]
unregistersymbol(_base)

Here's an example table: (Sorry,I'm not good at explaining this thing)



Super Wolfenstein HD.CT
 Description:

Download
 Filename:  Super Wolfenstein HD.CT
 Filesize:  2.23 KB
 Downloaded:  477 Time(s)


_________________
...
Back to top
View user's profile Send private message
KaLul0
Newbie cheater
Reputation: 0

Joined: 21 Mar 2016
Posts: 20

PostPosted: Thu Mar 24, 2016 3:47 pm    Post subject: Reply with quote

Ok thanks. i did what you wrote and it looked good but after i was finished nothing did happen. what does this code do as soon as i inject the code?

i just saw the base adress was renamed to _base


and how did you make the script as a setting able to activate?
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Fri Mar 25, 2016 2:59 am    Post subject: Reply with quote

KaLul0 wrote:
Ok thanks. i did what you wrote and it looked good but after i was finished nothing did happen. what does this code do as soon as i inject the code?

i just saw the base adress was renamed to _base


and how did you make the script as a setting able to activate?


1. It's not injecting anything.It's just scan the array then, registersymbol and label the base address so that you can used it for your pointer by either used it in some scripts or by adding the address manually.

2.Yes,the base address is being renamed.That's the function.

3. I don't understand,setting able to activated? Did the script in the table that I had uploaded can be activated by you ? If it can, you should probably know the answer.

_________________
...
Back to top
View user's profile Send private message
KaLul0
Newbie cheater
Reputation: 0

Joined: 21 Mar 2016
Posts: 20

PostPosted: Fri Mar 25, 2016 6:40 am    Post subject: Reply with quote

Ah now i understoud how to change your script so it'll work. But there is just 1 offset wich seems to be different sometimes.

But thats not so importend right now. i only like to understand how you made it so knife shovel and all that was inside that script thing. Confused
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Fri Mar 25, 2016 7:02 am    Post subject: Reply with quote

KaLul0 wrote:
Ah now i understoud how to change your script so it'll work. But there is just 1 offset wich seems to be different sometimes.

But thats not so importend right now. i only like to understand how you made it so knife shovel and all that was inside that script thing. Confused


Backtracing and stuff.This game is pretty easy because many of the instructions regarding the offsets and base address are closed to eachother.All you need to do is find out what accessed the address then, look,find and try to understand the instruction that accessed that address.
For me I'm just backtrace the health,knife,bullet address then, for the shovel I'm just play around with the offsets.

_________________
...
Back to top
View user's profile Send private message
KaLul0
Newbie cheater
Reputation: 0

Joined: 21 Mar 2016
Posts: 20

PostPosted: Fri Mar 25, 2016 10:21 am    Post subject: Reply with quote

Thank you cake-san!
I will try to play more around. I hear it more and more often.
Cheat engine basics is in tutorials and stuff.
But more is mostly learning by doing. Smile
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