MantisBT - Cheat Engine
View Issue Details
0000322Cheat Enginepublic2014-02-23 16:182014-02-24 15:34
ReporterJou 
Assigned ToDark Byte 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000322: speedhack_setSpeed(1/240) speedhack_setSpeed(0.004166666666666666) interpreted as speedhack_setSpeed(0.00)
DescriptionJust as the summary:
LUA speedhack_setSpeed(1/240) or speedhack_setSpeed(0.004166666666666666)
are interpreted as speedhack_setSpeed(0.00), clearly visible by the program stopping.
Minor problem of the bug reporting from: I cannot select a category?
TagsSpeedHack, Virtual families 2
Attached Files

Notes
(0000667)
Jou   
2014-02-23 16:20   
PS: Fixing this and pushing a release (or a compile a binary for me), 30$ OK or more?
(0000668)
Jou   
2014-02-23 17:15   
PPS:
my current ugly workaround which requires me to stay on the hotkey:

function checkKeys(timer)
  if (isKeyPressed(VK_J)) then
    openProcess( "demo.exe" )
    speedhack_setSpeed(1)
  end
  if (isKeyPressed(VK_K)) then
    openProcess( "demo.exe" )
    speedhack_setSpeed(0.05)
    sleep(83)
-- = 0.00416
-- sleep(100)
-- = 0.00500
-- sleep(333)
-- = 0,01665
    speedhack_setSpeed(0.00)
  end
end

t=createTimer(nil)
timer_setInterval(t,1000)
timer_onTimer(t, checkKeys)
timer_setEnabled(t, true)

If you know a better LUA implementation just say ;)
(0000669)
Dark Byte   
2014-02-24 15:34   
fixed in the svn.
You'll have to wait a bit for a binary though, or compile it yourself

Issue History
2014-02-23 16:18JouNew Issue
2014-02-23 16:20JouNote Added: 0000667
2014-02-23 17:15JouNote Added: 0000668
2014-02-24 15:34Dark ByteNote Added: 0000669
2014-02-24 15:34Dark ByteStatusnew => resolved
2014-02-24 15:34Dark ByteResolutionopen => fixed
2014-02-24 15:34Dark ByteAssigned To => Dark Byte
2014-09-01 20:43ShilahFaith_234Tag Attached: SpeedHack
2014-09-01 20:43ShilahFaith_234Tag Attached: Virtual families 2