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 


[Diablo 2] Finding value for Life

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

Joined: 28 May 2006
Posts: 121

PostPosted: Thu Mar 18, 2010 1:57 am    Post subject: [Diablo 2] Finding value for Life Reply with quote

Hey all. I am trying to find the address for life in Diablo 2, however when I locate it and exit the game the address changes. So, I attempted to locate the pointer. When I input the hex scan nothing appears. Does anyone have any ideas of what I may do to get what I desire?
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25930
Location: The netherlands

PostPosted: Thu Mar 18, 2010 8:16 am    Post subject: Reply with quote

code injection

and if that fails (or is too hard) pointerscan

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Dillonz
Grandmaster Cheater
Reputation: 4

Joined: 20 Jan 2008
Posts: 758
Location: Under your bed

PostPosted: Thu Mar 18, 2010 10:12 am    Post subject: Reply with quote

Would setting the HP regeneration rate to a high number make your health stay full or is there a wait time between taking damage and regeneration?
Back to top
View user's profile Send private message MSN Messenger
Aqua Regia
Advanced Cheater
Reputation: 0

Joined: 12 May 2009
Posts: 51
Location: Sweden

PostPosted: Thu Mar 18, 2010 10:40 am    Post subject: Reply with quote

Dillonz wrote:
Would setting the HP regeneration rate to a high number make your health stay full or is there a wait time between taking damage and regeneration?


Even if you changed your hp reg to something insane like 10 billion, you could still be killed in one hit if the enemy does more dmg than you have hp.
Back to top
View user's profile Send private message
apocalypticx
Expert Cheater
Reputation: 4

Joined: 19 Jul 2009
Posts: 126
Location: UK

PostPosted: Thu Mar 18, 2010 6:31 pm    Post subject: Reply with quote

Do some code injection at the life decrease routine and put a compare against your life value jump if equals you etc
Back to top
View user's profile Send private message
Dillonz
Grandmaster Cheater
Reputation: 4

Joined: 20 Jan 2008
Posts: 758
Location: Under your bed

PostPosted: Wed Mar 24, 2010 8:38 pm    Post subject: Reply with quote

Aqua Regia wrote:
Dillonz wrote:
Would setting the HP regeneration rate to a high number make your health stay full or is there a wait time between taking damage and regeneration?


Even if you changed your hp reg to something insane like 10 billion, you could still be killed in one hit if the enemy does more dmg than you have hp.

Hack stat points, put it in vitality then hack health regen?
Back to top
View user's profile Send private message MSN Messenger
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Wed Mar 24, 2010 9:17 pm    Post subject: This post has 1 review(s) Reply with quote

Here's how I'd do it...

1) Drop to half your life or so, so you start regenerating.
2) Enable "find out what writes to this address".
3) Note the ones already there due to HP increases and such.
4) If you're in town, walk out and repeat step 3. Some auras and items only apply out of town.
5) Get hit by an enemy. This will add a new item to the list. I'd guess either a sub or mov operation.

Now you have two choices:
a) Replace with NOPs and save as a patch.
b) Look at the call (and the stuff before) to deduce the pointer and modify it as you wish.

Just in case you are dumb enough to try this online, it does NOT work, Blizz DO detect it and you WILL get banned if you repeatedly try. If it's SP/OpenBNET then you should be ok.

_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
Dillonz
Grandmaster Cheater
Reputation: 4

Joined: 20 Jan 2008
Posts: 758
Location: Under your bed

PostPosted: Thu Mar 25, 2010 7:59 pm    Post subject: Reply with quote

Burningmace wrote:
Here's how I'd do it...

1) Drop to half your life or so, so you start regenerating.
2) Enable "find out what writes to this address".
3) Note the ones already there due to HP increases and such.
4) If you're in town, walk out and repeat step 3. Some auras and items only apply out of town.
5) Get hit by an enemy. This will add a new item to the list. I'd guess either a sub or mov operation.

Now you have two choices:
a) Replace with NOPs and save as a patch.
b) Look at the call (and the stuff before) to deduce the pointer and modify it as you wish.

Just in case you are dumb enough to try this online, it does NOT work, Blizz DO detect it and you WILL get banned if you repeatedly try. If it's SP/OpenBNET then you should be ok.

The NOP works but it kind of screws up the rest of the game.
Back to top
View user's profile Send private message MSN Messenger
apocalypticx
Expert Cheater
Reputation: 4

Joined: 19 Jul 2009
Posts: 126
Location: UK

PostPosted: Thu Mar 25, 2010 8:50 pm    Post subject: Reply with quote

Noping also gives other players godmode aswell on tcp/ip and open bnet.
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Fri Mar 26, 2010 8:38 am    Post subject: Reply with quote

It doesn't give everybody else god mode on tcp/ip or open bnet, since it's only on your machine they appear to have full health. When they actually die, it's a separate event. You just can't see their health drop. I didn't really think the NOP through. A pointer scan seems the best option here.

If you wanna go all out, you could create a code cave on the "decrease health" routine that checks if it's being called on the local player, but that's going pretty overboard.

_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
apocalypticx
Expert Cheater
Reputation: 4

Joined: 19 Jul 2009
Posts: 126
Location: UK

PostPosted: Fri Mar 26, 2010 8:50 am    Post subject: Reply with quote

If your hosting and you nop out 6FD88A14: mov [eax+04],edi all players in the game gain godmode.. Run two copies of the game and check on tcp/ip or open bnet if you have two cdkeys.

You need to compare against your life value then jump if = you as i said above and burningmace has just said..
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Fri Mar 26, 2010 9:00 am    Post subject: Reply with quote

Oh, wow, that actually does work! Haha, that's kinda cool. It'd be interesting to see how much I could do with something like that, for example teleporting other people outside the map. Wouldn't that count as a DoS exploit?

Anyhoo, I digress. Pointer scan or code injection is the way forward. /thread

_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
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