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 


How to make a speed hack without ce opened.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
jobeth213
Newbie cheater
Reputation: 0

Joined: 27 Sep 2016
Posts: 22

PostPosted: Mon Jan 08, 2018 5:23 am    Post subject: How to make a speed hack without ce opened. Reply with quote

I'm using the openProcess function and speedhack_setSpeed function but I can't set the speed hack when cheat engine is close. Can someone help me what function I can use when C.E. is close so that I can implement my trainer without C.E.
_________________
I'm idiot
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Mon Jan 08, 2018 6:50 am    Post subject: Reply with quote

I haven't messed with it, but what I understand is that, the speed hack is just a DLL injection of the "speedhack-i386.dll" or the "speedhack-x86_64.dll" DLLs.

It would be that or use the "hideAllCEWindows" function and just leave it open.

_________________
Back to top
View user's profile Send private message Visit poster's website
jobeth213
Newbie cheater
Reputation: 0

Joined: 27 Sep 2016
Posts: 22

PostPosted: Mon Jan 08, 2018 7:12 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
I haven't messed with it, but what I understand is that, the speed hack is just a DLL injection of the "speedhack-i386.dll" or the "speedhack-x86_64.dll" DLLs.

It would be that or use the "hideAllCEWindows" function and just leave it open.


I was hoping to create a stand alone trainer without C.E. to help a friend so that ,he doesn't need to learn C.E. to use speed hack. When I create the trainer I see that speed hack is checked so I guess the dll is there already?

_________________
I'm idiot
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Mon Jan 08, 2018 7:30 am    Post subject: Reply with quote

jobeth213 wrote:

...

I was hoping to create a stand alone trainer without C.E. to help a friend so that ,he doesn't need to learn C.E. to use speed hack. When I create the trainer I see that speed hack is checked so I guess the dll is there already?


Then just use the "speedhack-i386.dll" or the "speedhack-x86_64.dll" DLLs, and inject one in to the process and call what ever functions you need.

But "speedhack_setSpeed" is a Lua function added by Cheat Engine.

_________________
Back to top
View user's profile Send private message Visit poster's website
jobeth213
Newbie cheater
Reputation: 0

Joined: 27 Sep 2016
Posts: 22

PostPosted: Mon Jan 08, 2018 7:38 am    Post subject: Reply with quote

I found this function to be working

Code:


strings_add(getAutoAttachList(), "fifa11.exe")  --or whatever your fifa11 exe is called

function setSpeed(bla)
  speedhack_setSpeed(0.93)
  timer_setEnabled(t,false)
end

function onOpenProcess(pid)
  t=createTimer(nil)
  timer_onTimer(t, setSpeed)
  timer_setInterval(t,1) --really short wait (setting the speed on open won't work)
  timer_setEnabled(t, true)
 
end


but I don't really understand is onOpenProcess part of lifecycle of my created trainer or the game itself? Also why there is no include or import on some timer_onTimer(t,setSpeed) function

_________________
I'm idiot
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Mon Jan 08, 2018 7:47 am    Post subject: Reply with quote

Also try this :

Code:
function onOpenProcess(processid)
  reinitializeSymbolhandler()
  speedhack_setSpeed(10.0)  --- or what ever
end

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
movss
Cheater
Reputation: 0

Joined: 10 Feb 2018
Posts: 38

PostPosted: Sat Feb 10, 2018 3:37 pm    Post subject: Reply with quote

When generating a trainer, include speed regulation
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 Lua Scripting 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