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 


Issues with threading and injecting calls

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

Joined: 09 Aug 2006
Posts: 146
Location: In your washing machine

PostPosted: Sat Jan 06, 2007 11:21 am    Post subject: Issues with threading and injecting calls Reply with quote

what ive been trying to do here is making a thread or injecting a call in a function that gets called alot.

first attempt was making a whole new thread for it which seemed to run..not long enough


Code:
0000:mov [someaddress],ekacfeeb
push 2000
call sleep
jmp 0000


this only seems to loop two times for some reason i dont understand.






the second attempt was injecting the call in a function thats called alot.

ill take a random one and call it bob, bob is called every 0.1 seconds

i inject right at the start of bob:
Code:
mov [myaddress],ekacfeeb
push 2000
call sleep
REST OF BOB's CODE HERE

i know this method doesnt work because of the registers, even when i replace them all to their original state after the call sleep is made, the program still doesnt seem to "sleep" through it and just keeps spamming the mov [myaddress],ekacfeeb as fast as the function runs itself.

id like some help on this please ive tried googling but no success there

_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground..
Back to top
View user's profile Send private message
olie
How do I cheat?
Reputation: 0

Joined: 01 Jan 2007
Posts: 5

PostPosted: Sun Jan 07, 2007 7:23 am    Post subject: Reply with quote

Code:
push 2000


Will sleep for about 8sec, maybe you where to quick to judge your thread code ?
Could it be you where trying to sleep for 2sec but did a typo there ?
Back to top
View user's profile Send private message
dezuzi
Expert Cheater
Reputation: 0

Joined: 09 Aug 2006
Posts: 146
Location: In your washing machine

PostPosted: Tue Jan 09, 2007 4:20 pm    Post subject: Reply with quote

BUMP!!
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground..
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jan 09, 2007 5:04 pm    Post subject: Reply with quote

just making sure, you havn't declared anywhere the name 'sleep' in any other script right ?
_________________
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
dezuzi
Expert Cheater
Reputation: 0

Joined: 09 Aug 2006
Posts: 146
Location: In your washing machine

PostPosted: Wed Jan 10, 2007 9:14 am    Post subject: Reply with quote

nope, nowhere and never have Smile
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground..
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