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 


Speedhack with single button.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Barcks
How do I cheat?
Reputation: 0

Joined: 05 Jun 2015
Posts: 2

PostPosted: Fri Jun 05, 2015 5:23 am    Post subject: Speedhack with single button. Reply with quote

Hey,

I've been trying to get CE speedhack function to toggle on/off with single button. Apparently hotkeys integrated in CE itself doesn't support this, but you can do it with two buttons instead of one.

But I understand you can do it with lua script, but unfortunately, my search on the forums didn't yield right answer, just some answers related to it. And my knowledge with LUA is pretty much nil. So I ask if could get simple script to do this. It would be very much appreciated.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Fri Jun 05, 2015 9:41 am    Post subject: Reply with quote

Wait, what's up?

I have speedhack hotkeys for 0x and 1x and they work as-is on a first run I believe.

Show us the settings and what's happening for you?

I've also added scripts to the table to edit speedhack and they work at once too.

_________________
Back to top
View user's profile Send private message
Barcks
How do I cheat?
Reputation: 0

Joined: 05 Jun 2015
Posts: 2

PostPosted: Sat Jun 06, 2015 4:33 am    Post subject: Reply with quote

Rydian wrote:
Wait, what's up?

I have speedhack hotkeys for 0x and 1x and they work as-is on a first run I believe.

Show us the settings and what's happening for you?

I've also added scripts to the table to edit speedhack and they work at once too.


I mean I wish to have single button that toggles speed hack on/off. For example, press key to set multiplier to 5.0 and with same button back to 1.0. I can get it working with two buttons, but I wish to get it working with one. Yeah, lazy, but it would help with some games played with controller.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sat Jun 06, 2015 10:27 am    Post subject: Reply with quote

Could also use the luacall() function to avoid jumping in and out.
Code:
[ENABLE]
luacall(speedhack_setSpeed(0.5))
[DISABLE]
luacall(speedhack_setSpeed(1))


EDIT: waitwut, did the server's time change? I made this post after reading the one below it...

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Jun 06, 2015 10:33 am    Post subject: Reply with quote

Rydian wrote:
Could also use the luacall() function to avoid jumping in and out.
Code:
[ENABLE]
luacall(speedhack_setSpeed(0.5))
[DISABLE]
luacall(speedhack_setSpeed(1))


EDIT: waitwut, did the server's time change? I made this post after reading the one below it...

that's the reason i hardly ever fix the time. Give it 2 hours and 30 minutes

_________________
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
Alamer99
Expert Cheater
Reputation: 1

Joined: 04 Jan 2015
Posts: 136

PostPosted: Sat Jun 06, 2015 11:52 am    Post subject: Reply with quote

Assign Any Hotkey You Want To This Script
Code:
[ENABLE]
{$LUA}
speedhack_setSpeed(5.0)
{$ASM}
[DISABLE]
{$LUA}
speedhack_setSpeed(1.0)
{$ASM}

The Same Key Will Enable/Disable Speed Hack
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