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 


Clipboard bug?

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

Joined: 15 Aug 2012
Posts: 1

PostPosted: Sun Oct 27, 2019 10:35 pm    Post subject: Clipboard bug? Reply with quote

version: 7.0 & 6.83

run ce with auto speedhack main.lua

Code:
require("defines")

strings_add(getAutoAttachList(), "game.exe")

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

function onOpenProcess(pid)
  t=createTimer(nil)
  timer_onTimer(t, setSpeed)
  timer_setInterval(t,1)
  timer_setEnabled(t, true)
end


the clipboard will replace with some kind of log info:
Code:
alloc(init,512, GetTickCount)
alloc(originalcall0,2048,GetTickCount)
alloc(jumptrampoline0,64,GetTickCount) //special jump trampoline in the current region (64-bit)
label(jumptrampoline0address)
label(returnhere0)

realgettickcount:

dq originalcall0

originalcall0:

jmp 77191040
nop
nop
nop
jmp returnhere0

jumptrampoline0:
jmp [jumptrampoline0address]
jumptrampoline0address:
dq speedhackversion_GetTickCount

GetTickCount:
jmp jumptrampoline0
returnhere0:



older version 6.8 doesn't have this issue.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3110

PostPosted: Mon Oct 28, 2019 2:49 am    Post subject: Reply with quote

It's a known issue and has been fixed int he SVN already.
Back to top
View user's profile Send private message
L1ttl3J1m
How do I cheat?
Reputation: 0

Joined: 26 Dec 2012
Posts: 2

PostPosted: Mon Feb 05, 2024 7:12 pm    Post subject: Not so much a bug as a bit of a feature? Reply with quote

Could be used as an excellent jumping-off point into a quick and dirty assembly tutorial though, for the minds (young and enthusiastic|old and suspicious) enough to still enquire vigorously after little surprises like that.

And just gotta say, even after all these years, but more so as the years do go on, the speedhack subroutine is by far my most favourite. Tres interesting!

Maybe leave it available behind a keyboard shortcut. Have a little blurb about it in the tutorial.
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 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