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 


[Help] Experience points

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

Joined: 28 Oct 2013
Posts: 11

PostPosted: Mon Dec 09, 2013 10:27 pm    Post subject: [Help] Experience points Reply with quote

Hello in a game I'm playing I want to alter my experience points so I'll level up every time I get experience.

I found the instruction mov eax,[edx+0C] but I don't know how to write a script for it.

I also found what's address it's accessing too but every time I changed the values it returns back to normal.

Here's what's above it.

Code:
5F271D0D - 52                    - push edx
5F271D0E - E8 FDE9FFFF           - call 5F270710
5F271D13 - 83 C4 04              - add esp,04
5F271D16 - 50                    - push eax
5F271D17 - 8B 45 E0              - mov eax,[ebp-20]
5F271D1A - 8B 08                 - mov ecx,[eax]
5F271D1C - 51                    - push ecx
5F271D1D - E8 EEE9FFFF           - call 5F270710
5F271D22 - 83 C4 04              - add esp,04
5F271D25 - 50                    - push eax
5F271D26 - 68 C00F4B5F           - push 5F4B0FC0 : ["Goals"]
5F271D2B - E8 B0310D00           - call 5F344EE0
5F271D30 - 83 C4 14              - add esp,14
5F271D33 - E9 51010000           - jmp 5F271E89
5F271D38 - 8B 55 E0              - mov edx,[ebp-20]
5F271D3B - 8B 42 0C              - mov eax,[edx+0C]


There's also some things I want to ask.

1) I assume this is the right instruction? Hopefully I'm not wrong.

2) If I understand it correctly it says move the value of [edx+0c] to eax?

I don't really understand assembly language. I spent at least a day of reading tutorials but I grasp only some of it. Maybe I'm just a slow learner.

Anyways could someone help me?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Dec 09, 2013 11:32 pm    Post subject: Re: [Help] Experience points Reply with quote

xtokenx wrote:
I found the instruction mov eax,[edx+0C] but I don't know how to write a script for it.
-In memory viewer, highlight the instruction that you want to change. With the instruction highlighted, select 'tools' from the drop-down menu and click on 'auto assemble'. In the new auto assemble window, select 'template' from the drop-down menu and click on 'cheat table framework code'. Select 'template' again, and click on 'code injection'. Click okay.

When you are finished making your changes, select 'file' from the drop-down menu and click on 'assign to current cheat table'.

xtokenx wrote:
I also found what's address it's accessing too but every time I changed the values it returns back to normal.
-If you add the address to your cheat table and try to change the value and the value doesn't change, you either have the wrong address, or you are trying to change a server-sided value etc.

xtokenx wrote:
2) If I understand it correctly it says move the value of [edx+0c] to eax?
-Yes, you are moving the value at that address/offset in to the eax register.
Back to top
View user's profile Send private message
xtokenx
Newbie cheater
Reputation: 0

Joined: 28 Oct 2013
Posts: 11

PostPosted: Tue Dec 10, 2013 12:01 am    Post subject: Re: [Help] Experience points Reply with quote

++METHOS wrote:
-If you add the address to your cheat table and try to change the value and the value doesn't change, you either have the wrong address, or you are trying to change a server-sided value etc.

Thanks Methos. That would mean I have the wrong address or the wrong instruction and it's a single player game so it couldn't be server-sided.

++METHOS wrote:
-In memory viewer, highlight the instruction that you want to change. With the instruction highlighted, select 'tools' from the drop-down menu and click on 'auto assemble'. In the new auto assemble window, select 'template' from the drop-down menu and click on 'cheat table framework code'. Select 'template' again, and click on 'code injection'. Click okay.

Yes you told how me to do this last time Smile. I sought help because I didn't know if I was doing the right changes because nothing would work.

This must be your way of telling me to make the changes on my own too. That's alright I can try again now that I know my previous attempts at making changes to it is irrelevant since it was wrong in the first place.

If I have anymore questions I'll post again.

One more thing, I'm going to try find the address by finding the value this time. If the experience is represented by a percentage bar and resets to zero when leveled up. I would type 26 if it was e.g 26%. Is that right?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Dec 10, 2013 12:20 am    Post subject: Re: [Help] Experience points Reply with quote

xtokenx wrote:
Yes you told how me to do this last time Smile. I sought help because I didn't know if I was doing the right changes because nothing would work.

This must be your way of telling me to make the changes on my own too. That's alright I can try again now that I know my previous attempts at making changes to it is irrelevant since it was wrong in the first place.
-Sorry, I don't remember. I don't generally keep track of who I am replying to. I do not mind helping, but I have to know the question first.

Quote:
One more thing, I'm going to try find the address by finding the value this time. If the experience is represented by a percentage bar and resets to zero when leveled up. I would type 26 if it was e.g 26%. Is that right?
-Not necessarily. If the game resets experience points at each level (not likely), then I would target level-up value. However, the game probably keeps track of an overall experience value (float or 4 byte, if I had to guess). That being the case, I would search an unknown value, search increased / unchanged etc. until I found a list to work with. If you are working with an emulator, it's even easier. If it's an RPG or similar, you can use speedhack to speed up the game so that you level up sooner.
Back to top
View user's profile Send private message
xtokenx
Newbie cheater
Reputation: 0

Joined: 28 Oct 2013
Posts: 11

PostPosted: Tue Dec 10, 2013 1:32 am    Post subject: Reply with quote

I discovered that the experience needed to level up was a 1000.

First I tried scanning 100, 200, ect when I received exp. No results showed up when I scanned the 4th time.

Next I thought what if I scan the amount of experience needed to level up. When I had 100 exp I would scan for 900 and when I had 200 I would scan 800. No luck there.

All the scans were done twice using float and 4 byte.

Then I remember what you said. If game resets your experience to zero I would have to target the level-up value. How would I go about doing this?

Will I have to do this in float and 4 byte as well? I wish this was less of a hassle. I only want to receive the items that come from leveling up.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Dec 10, 2013 1:50 am    Post subject: Reply with quote

It is unlikely that you will find what you need by scanning for exact values, which is why I recommend scanning for an unknown value (all types, if you have to), then scanning for increased value, then scanning for unchanged value several times, then scanning for increased value again when you gain more experience (or) when you level up.

With that said, there are no rules regarding this sort of thing. For all we know, the value could be decreasing when you gain experience. Just keep that in mind when you are doing performing scans.

How do you know you need 1000? If you are certain of that, I would start with that. Try searching for ALL value types if you are having trouble with 4 byte and float...especially if you now have a numeric value to use as a gauge.

Sometimes, the hassle is unavoidable; it's the nature of the beast.
Back to top
View user's profile Send private message
xtokenx
Newbie cheater
Reputation: 0

Joined: 28 Oct 2013
Posts: 11

PostPosted: Tue Dec 10, 2013 8:36 pm    Post subject: Reply with quote

After spending a day of scanning 'increased value' and unchanged value' for at least over 100 times. I gain no progress.

One particular annoyance is you only get exp after a match. A match can take up to an hour to finish. Even then you're not guaranteed to get any exp.

It feels like I'm trying to find a needle in the haystack but with a possible outcome "everything you did was wrong".

I think I'll give up. I hate to say it but if this is the only way to hack it I be better off playing the game legitimately. Perhaps someone will miraculously release a exp hack for this game someday. I'm not betting my chances on it though. Thanks anyways Methos.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Dec 10, 2013 9:30 pm    Post subject: Reply with quote

Are you sure you are not receiving EXP during battle, incrementally? I wouldn't give up. Sometimes you just have to be creative and think of other possibilities etc.

What is the game title? Maybe someone has already looked in to it and can offer specific advice.

1-hour per battle is a long time. Remember, you can use speedhack to reduce that time by 10X's or more...just set up hotkeys to control the speed for practical reasons.

Just be flexible and do not spend too much time on something unless you are certain that you are correct. Before you run a pointer scan or inject code, make sure your address is correct by testing it. The same holds true for searching; do not set your mind on one thing, assuming that it is correct. The only thing that we can assume safely is that no two games are exactly same.

That said, in the end, sometimes we just have to give up or settle for something else.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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