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: 11

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.
_________________
Just a normal programmer who knows java,c++,html,css,android,php,mysql,etc.

<b>Everything is free</b>
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 5

Joined: 24 Feb 2017
Posts: 146
Location: Right Here Buddy.

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.

_________________
A: What manner of man are you that can summon up fire without flint or tinder?
T: I... am an enchanter.
Back to top
View user's profile Send private message
jobeth213
Newbie cheater
Reputation: 0

Joined: 27 Sep 2016
Posts: 11

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?

_________________
Just a normal programmer who knows java,c++,html,css,android,php,mysql,etc.

<b>Everything is free</b>
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 5

Joined: 24 Feb 2017
Posts: 146
Location: Right Here Buddy.

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.

_________________
A: What manner of man are you that can summon up fire without flint or tinder?
T: I... am an enchanter.
Back to top
View user's profile Send private message
jobeth213
Newbie cheater
Reputation: 0

Joined: 27 Sep 2016
Posts: 11

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

_________________
Just a normal programmer who knows java,c++,html,css,android,php,mysql,etc.

<b>Everything is free</b>
Back to top
View user's profile Send private message
Corroder
Master Cheater
Reputation: 8

Joined: 10 Apr 2015
Posts: 449

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

_________________
Singapore Sling + Jhony Walker
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