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 


simple question (please write something especially darkbyte)

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

Joined: 06 May 2017
Posts: 2
Location: Turkey

PostPosted: Thu Jul 13, 2017 12:37 am    Post subject: simple question (please write something especially darkbyte) Reply with quote

how can i reach to that ?what is wrong? and are there other wrong in the code?
I'm trying this:

value = readInteger("hl2.exe+client.dll+5A7B9C+1558")

process + module + address + offset


I'm doing simple triggerbot for double action and C for on off hack


there are 2 function hack function like main function it starts loop for check value and there tiny lable for show value to user switch function for on off

function switch(sender)
if C == true or C==nil then C = false else C = true
end
end



function HACK(sender)
C = true
createHotkey(switch, VK_F6)

while true
do
value = readInteger("hl2.exe+client.dll+5A7B9C+1558")
control_setCaption(CELabel1, tostring(value))
if value >0 and value <17 and C==true then doKeyPress(VK_LBUTTON)end
end
end
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Jul 13, 2017 5:15 pm    Post subject: Reply with quote

Code:
readInteger("[client.dll+5A7B9C]+1558")
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