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 


Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Apr 13, 2007 5:21 pm    Post subject: Trainer Reply with quote

I am making a trainer in delphi. I got the hooking part finished. But that only part now, is that i want to know how to insert asm scripts in, so my trainer can use it in maplestory.

how would i put :

[enable]
0067de96:
je 0067ed3a
[disable]
0067de96:
jne 0067ed3a

into my trainer

Are you happy now appalsap?!
Back to top
View user's profile Send private message AIM Address MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Apr 13, 2007 5:31 pm    Post subject: Reply with quote

I remember looking through the sources and finding a DLL that dark byte made that could write AA scripts but I can't find it now, so here's the alternative way.

Translate the instructions into bytes, then write them. JE may represent say 28(it doesnt) and JNE may represent 99 (it doesnt). Find these values by either getting a reference or by using a disassembler like CE. Remember to use hex ($)

If this is too much for you and you want a more general program you could always write your own assembler.
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Sat Apr 14, 2007 12:57 pm    Post subject: Reply with quote

Here's a tut on how to find the bytes of instructions:
http://www.petesqbsite.com/sections/tutorials/tutorials/asm.txt
No credit to me.

--Pillboi--

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
tj102985
Master Cheater
Reputation: 0

Joined: 10 Feb 2007
Posts: 277
Location: NY

PostPosted: Sat Apr 14, 2007 7:31 pm    Post subject: Reply with quote

ne one have an auto asembler that i can dl?

cause im learning how to write it...

_________________

Back to top
View user's profile Send private message Send e-mail AIM Address
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Sat Apr 14, 2007 7:35 pm    Post subject: Reply with quote

tj102985 wrote:
ne one have an auto asembler that i can dl?

cause im learning how to write it...


You mean a ASM complier? http://win32assembly.online.fr/download.html Download mASM32 v7

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

Joined: 10 Feb 2007
Posts: 277
Location: NY

PostPosted: Sat Apr 14, 2007 8:26 pm    Post subject: Reply with quote

ty
_________________

Back to top
View user's profile Send private message Send e-mail AIM Address
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sat Apr 14, 2007 9:06 pm    Post subject: Reply with quote

zomgiownyou wrote:
tj102985 wrote:
ne one have an auto asembler that i can dl?

cause im learning how to write it...


You mean a ASM complier? http://win32assembly.online.fr/download.html Download mASM32 v7


It's called an assembler.

and the latest version is 9:
http://www.masm32.com/

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sat Apr 14, 2007 9:26 pm    Post subject: Reply with quote

Just to be clear about it, compilation is a three step process, if you write in assembler it becomes a two step process.


    Compilation is the process where high level code is translated to assember.

    Assembly is where assember code is translated to machine code.

    Linking process is where the libraries are "linked" in, API calls translated, resources are put in, most of the final touches happen here.
Back to top
View user's profile Send private message
tj102985
Master Cheater
Reputation: 0

Joined: 10 Feb 2007
Posts: 277
Location: NY

PostPosted: Sat Apr 14, 2007 9:52 pm    Post subject: Reply with quote

Question then... what does this do? and how do i make it?

Code:

.MODEL SMALL
.STACK 200H
.CODE
START:

Mov ah, 2
Mov dl, 1
Int 21h

mov ah, 4ch
mov al,00h
int 21h

END START

_________________

Back to top
View user's profile Send private message Send e-mail AIM Address
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun Apr 15, 2007 7:22 am    Post subject: Reply with quote

that's code for DOS, you are running on Windows.
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Sun Apr 15, 2007 10:14 am    Post subject: Reply with quote

Using the link in my last post try and sink it into qbasic. Wink
That should help with sinking into other languages too, except obviously not the same.

--Pillboi--

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
tj102985
Master Cheater
Reputation: 0

Joined: 10 Feb 2007
Posts: 277
Location: NY

PostPosted: Sun Apr 15, 2007 7:32 pm    Post subject: Reply with quote

ok thanx
_________________

Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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