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 


getting hp/mp/exp
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Fri Sep 12, 2008 8:45 pm    Post subject: getting hp/mp/exp Reply with quote

I know I asked this before, but I would REALLY hate to have to get all the pixels just to make a hp/mp/exp bar in my bot.

please do not say this:

"Get all the pixels from the bar"

because I have already done that, I just want an easier way.

_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Sep 12, 2008 9:13 pm    Post subject: Reply with quote

Which game? Rolling Eyes
_________________
Back to top
View user's profile Send private message
ElectroFusion
Grandmaster Cheater
Reputation: 0

Joined: 17 Dec 2006
Posts: 786

PostPosted: Fri Sep 12, 2008 9:28 pm    Post subject: Reply with quote

maplestory, forgot to mention that.
_________________
qwerty147 wrote:

ghostonline wrote:

what world are you in?

bera

but i live in NZ
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Fri Sep 12, 2008 10:02 pm    Post subject: Reply with quote

You could hook that random HP/MP/EXP Render function thing... The thing people called "StatCall"
_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Sep 13, 2008 3:08 am    Post subject: Reply with quote

There's a function that returns the HP and MP, I found it by tracing the skills hacks I made for my trainer and I found where's the call to decrypt the HP and MP, then I found out there are other functions calling Decrypt constantly, then I just hooked the end of Decrypt function and checked the return address and by that I knew if it was the HP or MP value.

Find anything related to HP or MP and trace it, for example healing after 10 seconds.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Sep 13, 2008 8:28 am    Post subject: Reply with quote

Why don't u just search for the hp and mp? THen make a pointer out of it?
Back to top
View user's profile Send private message
GMZorita
Grandmaster Cheater Supreme
Reputation: 0

Joined: 21 Mar 2007
Posts: 1361

PostPosted: Sat Sep 13, 2008 8:28 am    Post subject: Reply with quote

dnsi0 wrote:
Why don't u just search for the hp and mp? THen make a pointer out of it?

Its not that easy, it is encrypted.

_________________
Gone
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Sep 13, 2008 8:35 am    Post subject: Reply with quote

Why the hell would they encrpyt a pointer like that???
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Sep 13, 2008 8:43 am    Post subject: Reply with quote

Why the hell not? so people won't change it, even though the HP is held on the server the client uses this pointer to create packets and decide if you can or cannot attack, use skills or whatever.
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Sat Sep 13, 2008 12:30 pm    Post subject: Reply with quote

Not an MS guy, but couldn't you find the text that's displayed instead of the actual number?
_________________
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Sat Sep 13, 2008 4:15 pm    Post subject: Reply with quote

Dosen't lurc's bot have something like that?
_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Sep 13, 2008 4:23 pm    Post subject: Reply with quote

HornyAZNBoy wrote:
Dosen't lurc's bot have something like that?


Na, my bot used pixel detection.
lAutoPot hooked that random Hp/Mp/Exp render function.

_________________
Back to top
View user's profile Send private message
Henley
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 671

PostPosted: Sat Sep 13, 2008 4:34 pm    Post subject: Reply with quote

HalfPrime wrote:
Not an MS guy, but couldn't you find the text that's displayed instead of the actual number?

i think i tried that once and failed horribly
Back to top
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Sat Sep 13, 2008 9:48 pm    Post subject: Reply with quote

HalfPrime wrote:
Not an MS guy, but couldn't you find the text that's displayed instead of the actual number?


Thats what I was thinking of doing.

_________________
Back to top
View user's profile Send private message AIM Address
sylvanus
Advanced Cheater
Reputation: 0

Joined: 09 May 2006
Posts: 68

PostPosted: Sat Sep 13, 2008 11:57 pm    Post subject: Reply with quote

search this?

int static GetMP(DWOR charPtr, DWORD offset)
{
try{
DWORD *ptr = NULL;
ptr = (DWORD *)(charPtr+offset);
return *ptr;
}
catch( char * str ) {
return 1; // Return whatever error value you want.
}
}

example in old version of maple story

-= Pointers And Manual Addresses =-
Char X - Pointer Address : 0077FF64 Offset: 574
Char Y - Pointer Address : 0077FF64 Offset: 578
Bottom Wall - Pointer Address : 0077F604 Offset: 10
Top Wall - Pointer Address : 0077F604 Offset: 8
Right Wall - Pointer Address : 0077F604 Offset: C
Left Wall - Pointer Address : 0077F604 Offset: 4
Unlimited Attack - Pointer Address : 0077FEF4 Offset: E70
No Breath - Pointer Address : 0077FEF4 Offset: 254
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 programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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