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 trainer crashing the game.

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

Joined: 20 Aug 2012
Posts: 2

PostPosted: Sun Oct 14, 2012 3:06 pm    Post subject: Speedhack trainer crashing the game. Reply with quote

Not sure if correct place to post this, please move if wrong.

I've been trying to make a Bullet-Time trainer for JC2, but every time i make it into a .EXE or a .CT the game crashes when i press the button.

Could somebody show me how do i make a working bullet-time trainer with a toggle-able key?

I've been using this lua code
Code:
strings_add(getAutoAttachList(), "JustCause2.exe")

state=false
function togglesh()
  if (state==false) then
    speedhack_setSpeed(0.20)
    state=true
  else
    speedhack_setSpeed(1)
    state=false
  end
end

createHotkey("togglesh",VK_HOME)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 372

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

PostPosted: Mon Oct 15, 2012 12:13 am    Post subject: Reply with quote

The script looks fine.

I can't reproduce the crash on my test app for speedhack. Not as a .ct or .cetrainer
.exe (gigantic also works fine as long as the speedhack checkbox is checked)
tin

Make sure you run the trainer after running the game, but I doubt that makes a difference since it's a hotkey thing only.

You're sure you're not adding anything else to your trainer ?


Edit: Try creating a new user account with ascii characters only. Perhaps something goes wrong again with the file path to the speedhack dll (which on a .exe trainer is inside your %temp% folder)



sh.cetrainer
 Description:
.cetrainer of this script

Download
 Filename:  sh.cetrainer
 Filesize:  429 Bytes
 Downloaded:  1444 Time(s)


_________________
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
Mercury
How do I cheat?
Reputation: 0

Joined: 20 Aug 2012
Posts: 2

PostPosted: Mon Oct 15, 2012 2:30 am    Post subject: Reply with quote

Looks like activating Speedhack in Cheat-Engine crashes the game.
Also happens in random other games, I'll try to reinstall CE

EDIT:
Nope, same issue, did take a bit longer to crash, 3-5 seconds.
Back to top
View user's profile Send private message
x119
How do I cheat?
Reputation: 0

Joined: 04 Oct 2012
Posts: 9

PostPosted: Mon Oct 15, 2012 11:58 pm    Post subject: Re: Speedhack trainer crashing the game. Reply with quote

Mercury wrote:
Not sure if correct place to post this, please move if wrong.

I've been trying to make a Bullet-Time trainer for JC2, but every time i make it into a .EXE or a .CT the game crashes when i press the button.

Could somebody show me how do i make a working bullet-time trainer with a toggle-able key?

I've been using this lua code
Code:
strings_add(getAutoAttachList(), "JustCause2.exe")

state=false
function togglesh()
  if (state==false) then
    speedhack_setSpeed(0.20)
    state=true
  else
    speedhack_setSpeed(1)
    state=false
  end
end

createHotkey("togglesh",VK_HOME)

I tried this profile, edited for fifa, but the game has some difficulties in changing from the speed o.20 to 1.

I explain: I have to press many many times the hotkey in order that game will load the second setSpeed, one time just does not work...is there any solution?
Back to top
View user's profile Send private message
x119
How do I cheat?
Reputation: 0

Joined: 04 Oct 2012
Posts: 9

PostPosted: Sat Oct 20, 2012 9:56 am    Post subject: Re: Speedhack trainer crashing the game. Reply with quote

x119 wrote:
Mercury wrote:
Not sure if correct place to post this, please move if wrong.

I've been trying to make a Bullet-Time trainer for JC2, but every time i make it into a .EXE or a .CT the game crashes when i press the button.

Could somebody show me how do i make a working bullet-time trainer with a toggle-able key?

I've been using this lua code
Code:
strings_add(getAutoAttachList(), "JustCause2.exe")

state=false
function togglesh()
  if (state==false) then
    speedhack_setSpeed(0.20)
    state=true
  else
    speedhack_setSpeed(1)
    state=false
  end
end

createHotkey("togglesh",VK_HOME)

I tried this profile, edited for fifa, but the game has some difficulties in changing from the speed o.20 to 1.

I explain: I have to press many many times the hotkey in order that game will load the second setSpeed, one time just does not work...is there any solution?


anyone know where the problem is ?
Back to top
View user's profile Send private message
Alice0725
Expert Cheater
Reputation: 11

Joined: 24 Jul 2012
Posts: 146

PostPosted: Sat Oct 20, 2012 9:17 pm    Post subject: Re: Speedhack trainer crashing the game. Reply with quote

x119 wrote:
x119 wrote:
Mercury wrote:
Not sure if correct place to post this, please move if wrong.

I've been trying to make a Bullet-Time trainer for JC2, but every time i make it into a .EXE or a .CT the game crashes when i press the button.

Could somebody show me how do i make a working bullet-time trainer with a toggle-able key?

I've been using this lua code
Code:
strings_add(getAutoAttachList(), "JustCause2.exe")

state=false
function togglesh()
  if (state==false) then
    speedhack_setSpeed(0.20)
    state=true
  else
    speedhack_setSpeed(1)
    state=false
  end
end

createHotkey("togglesh",VK_HOME)

I tried this profile, edited for fifa, but the game has some difficulties in changing from the speed o.20 to 1.

I explain: I have to press many many times the hotkey in order that game will load the second setSpeed, one time just does not work...is there any solution?


anyone know where the problem is ?


Why don't you use a table entry?
Code:
[ENABLE]
luaCall(speedhack_setSpeed(0.2))

[DISABLE]
luaCall(speedhack_setSpeed(1))
Back to top
View user's profile Send private message
x119
How do I cheat?
Reputation: 0

Joined: 04 Oct 2012
Posts: 9

PostPosted: Sun Oct 21, 2012 4:39 am    Post subject: Re: Speedhack trainer crashing the game. Reply with quote

Alice0725 wrote:
x119 wrote:
x119 wrote:
Mercury wrote:
Not sure if correct place to post this, please move if wrong.

I've been trying to make a Bullet-Time trainer for JC2, but every time i make it into a .EXE or a .CT the game crashes when i press the button.

Could somebody show me how do i make a working bullet-time trainer with a toggle-able key?

I've been using this lua code
Code:
strings_add(getAutoAttachList(), "JustCause2.exe")

state=false
function togglesh()
  if (state==false) then
    speedhack_setSpeed(0.20)
    state=true
  else
    speedhack_setSpeed(1)
    state=false
  end
end

createHotkey("togglesh",VK_HOME)

I tried this profile, edited for fifa, but the game has some difficulties in changing from the speed o.20 to 1.

I explain: I have to press many many times the hotkey in order that game will load the second setSpeed, one time just does not work...is there any solution?


anyone know where the problem is ?


Why don't you use a table entry?
Code:
[ENABLE]
luaCall(speedhack_setSpeed(0.2))

[DISABLE]
luaCall(speedhack_setSpeed(1))


I dunno how to mix the two things...Crying or Very sad
Can you help me? All I need is that program reads the process of fifa and then with a key (f5 for example) changes the speed...
I'll be very grateful if you can help me...

Thanks....
Back to top
View user's profile Send private message
izz0s
How do I cheat?
Reputation: 0

Joined: 17 Feb 2013
Posts: 4

PostPosted: Sun Feb 17, 2013 9:01 am    Post subject: Reply with quote

Hi, i need exactly the same.

I wanna "activate" the Speedhack with a Button-Combo. Someone have an working LUA-Script ?

As x119, i don't know too how tu use the luaCall function as an table entry. Maybe someone can explain?

Thanks!
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 76

Joined: 29 Oct 2010
Posts: 3669

PostPosted: Sun Feb 17, 2013 2:01 pm    Post subject: Reply with quote

Mercury,

Just a wild guess, but did you try running CE as administrator?
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