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 


not allow a value to go to a specific value??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials
View previous topic :: View next topic  
Author Message
12Shigeru
How do I cheat?
Reputation: 0

Joined: 08 May 2020
Posts: 2

PostPosted: Thu Jun 11, 2020 4:52 am    Post subject: not allow a value to go to a specific value?? Reply with quote

1st question:
basically put:



your player position X = 100 --free to move
your friend's player position X = 200 -- but cant move here

2nd question:

i want to make my player move to the last clicked mouse value, basically speaking, cursor tp. but, when i click it takes me to the mouse value and takes me over and over again! how can i make it only take me when the mouse value changes? and dont let it go below 32 since ill get stuck at the end of the world ;-;

Code:

{$lua}
[ENABLE]
if syntaxCheck then return end
ppx = createThread(function(Thread)
  while true do
    if Thread.Terminated then break end -- breaks loops and allows function to end
    sleep(100) -- interval




memrec = getAddressList().getMemoryRecordByDescription
saveppx = memrec("punch position x").Value
saveppy = memrec("punch position y").Value


memrec = getAddressList().getMemoryRecordByDescription
memrec("posx").Value = saveppx - 14
memrec("posy").Value = saveppy - 14











  end
end)

[DISABLE]
ppx.terminate()




that's my code. some of you might say that that's the wrong code to use, but what could i say? i dont know how to use timer :/


question 3:

take player 2's value and draw a box around it on the screen (ESP)

question 4:

split values

for example:
my value = 1254
12 = X + 4
54 = X + 4

with memrec in autoassembly in lua, something like that
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 Tutorials -> Auto Assembler tutorials 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