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 


"Att. DarkByte" Problem with Injection in CE Train

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Wed Feb 28, 2007 12:00 pm    Post subject: "Att. DarkByte" Problem with Injection in CE Train Reply with quote

There is a problem with using code injection im having.
It causes the CE trainer to send a error saying it is not for this version of the game.
It has happened to me on several games doing injections.
This is a very simple injection and it works in CE but not in a trainer.
SunBeam also looked at this with me, We both seen the same thing.
Now you can do this same injection in VB and TMK and it will work.

Using winmine Game to explain and show whats going on.
Do this and you will see the same error message.


Target: Minesweeper Timer.
Injection:
reversing the timer to count up and not down,

Code:
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

01002FF5:
jmp newmem
nop
returnhere:

newmem:
dec [0100579c]

originalcode:
// inc [0100579c]

exit:
jmp returnhere


Back to top
View user's profile Send private message
Hans Henrik
Expert Cheater
Reputation: 0

Joined: 18 Feb 2007
Posts: 178

PostPosted: Thu Mar 01, 2007 4:15 am    Post subject: Reply with quote

hahaha! thats funny idea

gonna try it! Razz

EDIT:
that was easy!
Code:
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

01002FF5:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
dec [0100579c]
dec [0100579c]

originalcode:
inc [0100579c]

exit:
jmp returnhere


(just replace 0100579c with whatever pointer address u found i just didnt do any pointer scan lol)



and whats wrong with your code is
Code:
originalcode:
// inc [0100579c]

nothing is suppose to start with // in an assembler code, // is beeing used to make comment in the script

and btw you need to double that "dec [0100579c]" if you want to go lower, just 1 dec equals that the timer just stop (evrytime its like adding 1-1=0 to add)
or you cud just remove the whole "inc" command from the original code Laughing

_________________
Im not around.

im almost never checking the forum anymore
Back to top
View user's profile Send private message MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Thu Mar 01, 2007 9:04 am    Post subject: Reply with quote

Dude, thats not wrong. I put that there to show the original code.
It is commented out on purpose.

Hans Henrik wrote:
hand btw you need to double that "dec [0100579c]" if you want to go lower, just 1 dec equals that the timer just stop (evrytime its like adding 1-1=0 to add)
or you cud just remove the whole "inc" command from the original code Laughing

Hello, look at my code silly willy, // is removing the original instruction.
So i only need to dec 1 time.
I know perfectly well how this works and what a comment is.
This is all you really need.
Code:
alloc(newmem,2048)
label(returnhere)
label(exit)

01002FF5:
jmp newmem
nop
returnhere:

newmem:
dec [0100579c]

exit:
jmp returnhere


All im saying is it does not work in a compiled CE trainer.
I think SunBeam knows all to well what im talking about.
Only one that can correct this problem is DarkByte if he tries this. Then he will see there is some small problem with it.
Back to top
View user's profile Send private message
SunBeam
I post too much
Reputation: 65

Joined: 25 Feb 2005
Posts: 4023
Location: Romania

PostPosted: Thu Mar 01, 2007 5:33 pm    Post subject: Reply with quote

If he didn't use // on that line, last instruction used would've been the inc, which is the original code. And what's the purpose of a cave in which you write the original data o.O ?
Back to top
View user's profile Send private message
stanoja
Cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 33
Location: Mk.

PostPosted: Fri Mar 09, 2007 12:24 pm    Post subject: Reply with quote

It's for backing up.
you should find Auto injection.

_________________
Busy thinking...
Back to top
View user's profile Send private message Send e-mail
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Fri Mar 09, 2007 1:10 pm    Post subject: Reply with quote

stanoja wrote:
It's for backing up.
you should find Auto injection.



Where do you people come from?
I know if you post here with something like this, You have no idea what this thread is about.
So far only 2 people in this thread know whats going on.
Back to top
View user's profile Send private message
stanoja
Cheater
Reputation: 0

Joined: 08 Mar 2007
Posts: 33
Location: Mk.

PostPosted: Fri Mar 09, 2007 1:32 pm    Post subject: Reply with quote

you have no idea what's going on...
_________________
Busy thinking...
Back to top
View user's profile Send private message Send e-mail
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Fri Mar 09, 2007 6:24 pm    Post subject: Reply with quote

nice reply,

You can crawl back in your hole now.
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