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 


Call a function from a new thread?

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

Joined: 18 Apr 2015
Posts: 34

PostPosted: Sun Jul 05, 2015 11:59 am    Post subject: Call a function from a new thread? Reply with quote

So I have this shoot function but it has all sorts of limitations

like it wont shoot while running or jumping etc..

so I want to create a script to just call that function straight away so I wont have to manually reverse all the jumps and conditions..

how would one do that?

also I want it to insta enable and disable so it I could keep firing single shots..

how would I accomplish it?
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Tue Jul 07, 2015 1:30 am    Post subject: Reply with quote

Maybe this will help you :

https://www.youtube.com/watch?v=T5sXoEEPFBQ

However you should know that what you're getting into is far from easy unlike one might think after watching this tutorial.
Back to top
View user's profile Send private message
Loset
Cheater
Reputation: 0

Joined: 18 Apr 2015
Posts: 34

PostPosted: Tue Jul 07, 2015 3:44 pm    Post subject: Reply with quote

ulysse3131 wrote:
Maybe this will help you :

https://www.youtube.com/watch?v=T5sXoEEPFBQ

However you should know that what you're getting into is far from easy unlike one might think after watching this tutorial.



thank you! its very useful didnt know about ultimap at all

but It slows down the game like hell =/? anyway around this?
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jul 09, 2015 7:06 am    Post subject: Reply with quote

If I remember correctly the game is slowed because your graphic card is no longer used.
I think that there are some GC that can still be put to use but you should google it as i wouldn't want to deliver intox info.
And keep in mind it never is as easy to do as it is in the video !
Good luck !
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8518
Location: 127.0.0.1

PostPosted: Thu Jul 09, 2015 4:54 pm    Post subject: Reply with quote

Keep in mind if the game is not intended to be threaded, you may run into race conditions and crashes due to thread safety. Something you could do instead is create a code-cave that is called every frame (such as injecting into the games main render loop or similar) and call the function inside of your cave so it happens every frame as needed.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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