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 


When you inject AA,

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Sun Sep 18, 2011 5:20 pm    Post subject: When you inject AA, Reply with quote

Do you NEED to use createthread to make sure it executes immediately?
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Sun Sep 18, 2011 5:22 pm    Post subject: Reply with quote

If by "immediately" you mean in 0.1 sec, just find a code that is running 1000 times / second and inject your script there. Then you don't have to use any extra stuff.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Sun Sep 18, 2011 5:25 pm    Post subject: Reply with quote

I know I could do that, but I don't want to search for code that executes every second. Every time I use createthread, it ends up crashing the program. Even if the code does absolutely nothing.

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

newmem: //this is allocated memory, you have read,write,execute access
nop

originalcode:
jmp 003C0800

exit:
jmp returnhere

00401157:
jmp newmem
returnhere:
That crashes it.
Back to top
View user's profile Send private message
gameplayer
Advanced Cheater
Reputation: 2

Joined: 26 Jun 2011
Posts: 97
Location: Vietnam

PostPosted: Sun Sep 18, 2011 8:30 pm    Post subject: Reply with quote

Make sure the command "jmp newmem" and the "jmp 003C0800" in the original memory have the same size. Can you show an image of them?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Sep 18, 2011 8:34 pm    Post subject: Reply with quote

not sure where to start, every line is basically just wrong

If you use create thread you MAY NOT use the code injection template

Also, unless 003C0800 is a function that takes no parameters that JMP will crash

_________________
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
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Tue Sep 20, 2011 5:16 pm    Post subject: Reply with quote

I know assembly language, but I learned it from a programming book, not an exploiting book :/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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