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 


For beginners. Write value for multiple pointer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> LUA Tutorials
View previous topic :: View next topic  
Author Message
GH*master
Expert Cheater
Reputation: 8

Joined: 10 Jan 2008
Posts: 159

PostPosted: Fri Sep 23, 2011 11:30 am    Post subject: For beginners. Write value for multiple pointer Reply with quote

8 Tutorial-i386

Tutorial-i386.CETRAINER
Code:

<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="12">
  <Forms>
    <UDF1>458F516EC2400C443759CA2604B5572837A0520F8058888A04022941FDAC0818B048D6D1AEF9805370C75EA44920D45F63CBA399F7E90991AEE2A14AF534265B74D693F8A333873DCB77D9FD023C1CD9B732A552FE7A2FDFB8E3A31C79D198EC0EEC6C4BC645FD0C938B63281660CEBD0C1768B0C02B88C757C2971C5490B904CDA1527A533292E936517D9D23186E83A2FBDAE6A8A5D139395061DDAD91C18A1CD67EF556D204DC89A9D49505AC082B86F199994CD88A3B8AFFD3920C6B127FF000B98967997F479389DB937A7D9E9A3D4837D9B2E6F145357F</UDF1>
  </Forms>
  <CheatEntries/>
  <UserdefinedSymbols/>
  <LuaScript>form_show(UDF1)

autoAttachList = getAutoAttachList()
strings_add(autoAttachList, "Tutorial-i386.exe")

function CEButton1Click(sender)
  if (getOpenedProcessID()~= 0) then
    pValue = '[[[["Tutorial-i386.exe"+17C3A0]+C]+14]+0]+18'
    writeInteger(pValue,5000)
  end
end

function FormClose(sender)
  closeCE()
  return caFree
end
</LuaScript>
</CheatTable>
Back to top
View user's profile Send private message
DrWeazle
How do I cheat?
Reputation: -1

Joined: 15 Feb 2012
Posts: 7

PostPosted: Wed Feb 15, 2012 5:31 pm    Post subject: Reply with quote

what does the writeInteger() function do? and parameters?
also why do you say '[[[["Tutorial-i386.exe"+17C3A0]+C]+14]+0]+18'
what does that mean?(i know your saying access this proccess at this mem offset but why the ']+C]+14]+0]+18' part?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Feb 16, 2012 1:19 am    Post subject: Reply with quote

read the helpfile or main.lua, it's described there

Anyhow readInteger reads a 4 byte value.
The parameter is an address given as a string or as an integer

The notation in the form of [[[xxxxxx+xx]+xx]+xx]+xx is a pointer notation

_________________
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
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Feb 16, 2012 1:20 am    Post subject: Reply with quote

read the helpfile or main.lua, it's described there

Anyhow readInteger reads a 4 byte value.
The parameter is an address given as a string or as an integer

The notation in the form of [[[xxxxxx+xx]+xx]+xx]+xx is a pointer notation

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> LUA 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites