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 


To Dark Byte or some one fully Assembly Know

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

Joined: 25 May 2007
Posts: 1

PostPosted: Wed May 30, 2007 1:51 am    Post subject: To Dark Byte or some one fully Assembly Know Reply with quote

Hi Guys
im new user in this forum and i love it!
because very good!im read Dark Bytes post in this topic:

Code:
http://forum.cheatengine.org/viewtopic.php?t=4869


and im think this scripts very useful and i want to practice this scripts on the windows pinball because its very easy for practice.
i want to create my own TRAINER Form this scripts.
but how i can use this scripts in the trainer?
im use code cave in my scripts but trainer isnt work?how i can fix this?
can some one write true scripts for me please?
i know im not gone use [alloc] in my scripts but when i delete line alloc game is going to crash!!!
PINBALL.exe+2FE=this is my cave
Code:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
registersymbol(pointertoballs) //add "pointertoballs" to the userdefined symbollist
alloc(pointertoballs,4)

label(returnhere)
label(originalcode)
label(exit)

Pinball.exe+175b7:
jmp PINBALL.exe+2FE
nop
returnhere:

PINBALL.exe+2FE: //this is allocated memory, you have read,write,execute access
//place your code here
mov [pointertoballs],esi //store the base address to pointertoballs

originalcode:
mov [esi+00000146],eax

exit:
jmp returnhere
 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
unregistersymbol(pointertoballs)
dealloc(pointertoballs)

Pinball.exe+175b7:
mov [esi+00000146],eax


thanks!
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed May 30, 2007 11:44 am    Post subject: Re: To Dark Byte or some one fully Assembly Know Reply with quote

xxx_xxx is that you......
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed May 30, 2007 11:47 am    Post subject: Reply with quote

let me guess, he's been copy/pasting his question with script to you as well every few hours hoping you give him a fixed script...
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed May 30, 2007 11:52 am    Post subject: Reply with quote

No, but he has been the only one asking about making that script into a script for a trainer.
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Wed May 30, 2007 1:40 pm    Post subject: Reply with quote

yes is me.
but just i want to made my own trainer.but i cant. Crying or Very sad Crying or Very sad
just i want use this scripts in the trainer.but i cant. Crying or Very sad Crying or Very sad
just i want this.
i dont want anything else.
thank you Labyrnth to help me how to find and use code cave in the scripts
and thank you Dark Byte for Cheat Engine.
im going from this forum and im never came back here and you will never see me in this forum.
Good Bye my friends.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed May 30, 2007 1:52 pm    Post subject: Reply with quote

Why hide mate......?
You can make one just dont use alloc at all in the script.

Also it is not a good idea to PM the crap out of the admin Sad.

Man that is sad... I just could not help him understand how to write a script for a trainer.
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Wed May 30, 2007 3:14 pm    Post subject: Reply with quote

but when i delete alloc from my scripts game is crash out?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed May 30, 2007 3:16 pm    Post subject: Reply with quote

if you just remove the alloc it won't even get injected

also, even with the alloc like that, it may not work since
PINBALL.exe+2FE might not be executable.

anyhow, find a region to replace the label, and use fullaccess to make sure it's writable and accessible

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 21 Apr 2007
Posts: 185

PostPosted: Wed May 30, 2007 3:40 pm    Post subject: Reply with quote

this scripts for windows pinball
i use this scripts but windows pinball is crash out?
is this scripts true:
Code:
[ENABLE]
registersymbol(pointertoballs)
fullaccess(PINBALL.exe+4A175,4)

label(pointertoballs)
label(returnhere)
label(originalcode)
label(exit)

pointertoballs:

Pinball.exe+175b7:
jmp PINBALL.exe+2FE
nop
returnhere:

PINBALL.exe+2FE: //this is allocated memory, you have read,write,execute access
//place your code here
mov [pointertoballs],esi

originalcode:
mov [esi+00000146],eax

exit:
jmp returnhere
 
 
[DISABLE]
unregistersymbol(pointertoballs)
Pinball.exe+175b7:
mov [esi+00000146],eax
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed May 30, 2007 3:58 pm    Post subject: Reply with quote

I take it that PINBALL.exe+4A175 is the address where you want to store pointertoballs?

then try it like this:

Code:

[ENABLE]
registersymbol(pointertoballs)
fullaccess(PINBALL.exe+4A175,4)

label(pointertoballs)
label(returnhere)
label(originalcode)
label(exit)

PINBALL.exe+4A175:
pointertoballs:
dd 0  ;initialize it for fun


Pinball.exe+175b7:
jmp PINBALL.exe+2FE
nop
returnhere:

PINBALL.exe+2FE: //this is allocated memory, you have read,write,execute access
//place your code here
mov [pointertoballs],esi

originalcode:
mov [esi+00000146],eax

exit:
jmp returnhere
 
 
[DISABLE]
unregistersymbol(pointertoballs)
Pinball.exe+175b7:
mov [esi+00000146],eax

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 21 Apr 2007
Posts: 185

PostPosted: Thu May 31, 2007 1:19 am    Post subject: Reply with quote

thank you very much Dark Byte!!!! Razz Razz Razz Razz
this method is working!!!!! Razz Razz Razz Razz
now i can make my own trainer!!! Razz Razz Razz Razz
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Thu May 31, 2007 10:58 am    Post subject: Reply with quote

xxx_xxx
Hey does this mean your not leaving now ?

hehehehe..
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Thu May 31, 2007 3:20 pm    Post subject: Reply with quote

no
im do not go any where.
because i love Cheat Engine!!!!!!! Razz Razz Razz Razz Razz Razz Razz Razz Razz Razz
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Fri Jun 01, 2007 12:30 pm    Post subject: Reply with quote

Heh,

So your understanding now alloc is great for AA scripts and for trainers you got to make your own so it works.
Wooot !

This is the one that didnt get away... Thx to DB.
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