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 

Age of Empires 3 (resources)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Auto Assemble scripts
View previous topic :: View next topic  
Author Message
bach12345
Cheater
Reputation: 0

Joined: 25 Aug 2007
Posts: 33
Location: right behind you!

PostPosted: Thu Nov 22, 2007 7:24 am    Post subject: Reply with quote

+rep for u!
_________________
advanced cheater(i really am......really.)
Back to top
View user's profile Send private message
moldy
How do I cheat?
Reputation: 0

Joined: 26 Dec 2008
Posts: 3

PostPosted: Wed Apr 15, 2009 3:17 am    Post subject: Re: Age of Empires 3 (resources) Reply with quote

Dark Byte wrote:
Here's a auto assemble script that should give you never decreasing resources, but not the comp:
Code:

alloc(newmem,2048) //2kb should be enough
alloc(timesnotskipped,4)
label(returnhere)
label(originalcode)
label(exit)
label(aftersub)

004FEDE6:
jmp newmem
nop
returnhere:

newmem:
//edx contains at this spot the location of the resource structure
cmp [edx-4],0
jne aftersub //it's the player (I hope), so don't decrease the resource
inc [timesnotskipped]

originalcode:
fsub dword ptr [esp+14]

aftersub:
mov edx,[esi]

exit:
jmp returnhere



And here is a auto assemble script that sets the resources to what you want , float value (please forgive me for the horrible code I'm posting here...)

Code:

alloc(newmem,2048) //2kb should be enough
alloc(timesnotskipped,4)
label(returnhere)
label(originalcode)
label(exit)
label(player)

004FEDE2:
jmp newmem
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

returnhere:

newmem:
//edx contains at this spot the location of the resource structure
cmp [edx-4],0
jne player //it's the player (I hope), so don't decrease the resource
inc [timesnotskipped]

originalcode:
fld [esp+10]
fsub dword ptr [esp+14]
mov edx,[esi]
mov [esp+0c],edx
fstp [esp+18]

jmp exit

player:
push eax
mov eax,459c4000  //5000 coins
xor eax,[00bc4590]  //apply the encryption
mov [edx],eax

mov eax,459c4000  //5000 wood
xor eax,[00bc4594]  //apply the encryption
mov [edx+4],eax

mov eax,459c4000  //5000 food
xor eax,[00bc4598]  //apply the encryption
mov [edx+8],eax

pop eax

//original code without the sub
fld [esp+10]
mov edx,[esi]
mov [esp+0c],edx
fstp [esp+18]

cmp ecx,2 //check is it is resource type 1,2 or 3
ja exit //if not, exit else set the current resource to 5000
mov [esp+18],459c4000

exit:
jmp returnhere


you can also set other resources like available shipments and other stuff, but you'll have to do some experimenting



works on multyplayer ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 64

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

PostPosted: Thu Apr 23, 2009 11:44 am    Post subject: Reply with quote

most likely not.
you can try, but there's a 99.99999% chance that you get kicked out for not being in sync with the others

_________________

You like Cheat Engine?
I like donations!

Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
name change invalid
Grandmaster Cheater Supreme
Reputation: 1

Joined: 11 Nov 2006
Posts: 1800
Location: -.-

PostPosted: Thu Apr 23, 2009 12:32 pm    Post subject: Reply with quote

Will this work the expansion packs?
Also, if you play AoE3 Asian Dynasties, PM Very Happy

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
akinos
Grandmaster Cheater
Reputation: 0

Joined: 11 Jan 2007
Posts: 517
Location: St-Low

PostPosted: Thu Apr 23, 2009 2:18 pm    Post subject: Reply with quote

ty
_________________
200 Posts: [X]
400 Posts: [X]
500 Posts: [X]

www.myspace.com/dakee_
Back to top
View user's profile Send private message MSN Messenger
mysticosmos
How do I cheat?
Reputation: 0

Joined: 29 Oct 2009
Posts: 1

PostPosted: Fri Oct 30, 2009 1:07 am    Post subject: Reply with quote

I'm a new user so excuse the inexperience... i understand some of the simple stuff, but how do i get to where i can paste that code for it to work? just curious =)

thnx in advance, im really interested in this stuff
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Auto Assemble scripts All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 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