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 a fellow friend

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Sarbaz
How do I cheat?
Reputation: 0

Joined: 03 Dec 2011
Posts: 6

PostPosted: Tue Jan 10, 2012 11:28 am    Post subject: Help a fellow friend Reply with quote

i have found the address which inc the value by 1

so my question is how can i make it dec the value by 1 right after it has inc it

or the other way around if it dec by 1 how can i make it inc by 1 right after it has dec by 1

this value can not be nopped because nopping it cause the game to freeze

Many Many Thanks in Advance Very Happy
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Tue Jan 10, 2012 11:53 am    Post subject: Reply with quote

If it's flash or another emulator game, then this won't work

Otherwise, see if you can find a way to distinguish between the address you want to increase and those you do not want to affect.
I recommend using "Find out what addresses this code write to" in the memoryview disassembler (or advanced options) and then check the structures and/or registers of the other addresses it accesses.

If it's more than 100000 addresses don't bother and try looking at the stack and see what called the function instead and do the hook there

_________________
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
Sarbaz
How do I cheat?
Reputation: 0

Joined: 03 Dec 2011
Posts: 6

PostPosted: Tue Jan 10, 2012 1:36 pm    Post subject: Reply with quote

Thanks for replaying Dark Byte

but its not a flash game its a game called dungeon defenders and it has a build limit which i want to disable by dec the value which show the max build limit i can set the limit to 1 when ever it is close to the max but come on how many time do i have to do that.

here is the code

"When you Build something
add [ebx],eax
mov ebx,[ebx]
mov ecx,[esp+14]
"

"when you remove something
sub [ebx],eax
mov ebx,[ebx]
mov ecx,[esp+14]
"

so i was wondering if there was a way to sub right after the add. so i can make my unlimited build tabel
Back to top
View user's profile Send private message
mezzo
Cheater
Reputation: 1

Joined: 08 Sep 2010
Posts: 28

PostPosted: Tue Jan 10, 2012 1:59 pm    Post subject: Reply with quote

Instead of trying to change the code that increases or decreases the current
amount of buildings, isn't it better to search for the location that holds the "maximum amount" of buildings and try and increase that instead ?

Should be easy to find, seeing as the code would first have to read in this value and then compare it to another value (which you already know since it is the building 'cap') to determine that you are at your building limit.
Back to top
View user's profile Send private message
Sarbaz
How do I cheat?
Reputation: 0

Joined: 03 Dec 2011
Posts: 6

PostPosted: Tue Jan 10, 2012 3:38 pm    Post subject: I am totaly newbie at this mezzo Reply with quote

Mezzo if i ever managed to do as your are saying i should, i dont think it would work cause each map has its own limit and wouldn't it kinda mess your idea? or am i missing something and please make your answere more newbie friendly
Back to top
View user's profile Send private message
mezzo
Cheater
Reputation: 1

Joined: 08 Sep 2010
Posts: 28

PostPosted: Tue Jan 10, 2012 5:40 pm    Post subject: Reply with quote

You have 1 memory location now, lets call this [nr.of.buildings].
What I'm saying is, somewhere in memory there is a memory location which holds the max amount of buildings [max.buildings].

When you try to build more then max, there is code in the game that compares [nr.of.buildings] to [max.buildings] and when it will prevent you
from building any more.

What I suggested is to find the [max.buildings] memory location and either
freeze that to a very big value or do a "find out what accesses this address" to see which code compares [nr.of.buildings] to [max.buildings] and change that code to compare [max.buildings] with 0 for example.

Hope this helps Smile
Back to top
View user's profile Send private message
rooski
Master Cheater
Reputation: 0

Joined: 31 Oct 2007
Posts: 340
Location: Siberia

PostPosted: Wed Jan 11, 2012 1:06 am    Post subject: Reply with quote

why not just change the add to a sub ? so what if it goes into the negatives.
_________________
clawtheclouds.com
Back to top
View user's profile Send private message
Masterbas
How do I cheat?
Reputation: 0

Joined: 16 Jan 2012
Posts: 2

PostPosted: Tue Jan 17, 2012 11:06 am    Post subject: Reply with quote

I think if you would freeze the amount of building you have to 0, that would work perfect. So whenever you add a building it just stays at 0. I also play the same game and I agree that it would be awesome being able to have unlimited building.

And the fact that you freeze your building at 0 means it will automatically work in all maps since you always starts at 0. But I think Mezzo's way would work too.

I also tried to modify this game yesterday and try to freeze the amount of mana you have at 1400. But the game crashed :p. Still trying to figure out why.
Back to top
View user's profile Send private message
mezzo
Cheater
Reputation: 1

Joined: 08 Sep 2010
Posts: 28

PostPosted: Tue Jan 17, 2012 3:48 pm    Post subject: Reply with quote

I too play the game and I wonder why you want to raise the building cap ?
Sure that way you can drop aura's everywhere, but where is the fun in that?

Why not just 'adjust' your character a bit ? Razz
Mana in bank and XP (level) can easily be changed. I just made 4 lvl74
and decked them in full mythical gear, then filled up all of their upgrades...

Think that cost me a bit more then a billion mana in total Smile
Damn those expensive AFK shops ! Anyway, thanks cheat engine Razz

I admit I looked into freezing the building amount (or raise the cap),
but I'm afraid it is far from as easy as I made it sound in my first post.
I will search for it again soon, but for now I'm enjoying my newly
acquired gear..
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