View previous topic :: View next topic |
Author |
Message |
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 9:13 am Post subject: Form and script |
|
|
I found an address and a pointer to this address.I want to write the address in the form, the address is constantly changing and the form does not work, what should I do?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 9:48 am Post subject: |
|
|
If it's a pointer it doesn't matter that the address changes. You should be able to change the value of a pointer with no problem.
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 9:53 am Post subject: |
|
|
Look
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 10:04 am Post subject: |
|
|
A pointer that holds another address is just a level within the pointer. All it can do is reference an address. Not the value. If it's the address that holds the value you want to change then it's not a pointer, it's an address.
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 10:07 am Post subject: |
|
|
What am I supposed to do now?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 10:09 am Post subject: |
|
|
I suppose it depends on the purpose of what you're trying to achieve. If you want to read the value held at an address then you can do that with one of the following:
Code: |
readShortInteger(address) / readByte(address) : Reads a 8-bit integer from the specified address
readSmallInteger(address) : Reads a 16-bit integer from the specified address
readInteger(address) : Reads a 32-bit integer from the specified address
readQword(address): Reads a 64-bit integer from the specified address
readPointer(address): In a 64-bit target this equals readQword, in a 32-bit target readInteger()
readFloat(address) : Reads a single precision floating point value from the specified address
readDouble(address) : Reads a double precision floating point value from the specified address
readString(address, maxlength, widechar OPTIONAL) : Reads a string till it encounters a 0-terminator. Maxlength is just so you won't freeze for too long, set to 6000 if you don't care too much. Set WideChar to true if it is encoded using a widechar formatting
|
If you want to write a value to an address you can use one of the following:
Code: |
writeShortInteger(address,value) / writeByte(address,value) : Writes a 16-bit integer to the specified address. Returns true on success
writeSmallInteger(address,value) : Writes a 16-bit integer to the specified address. Returns true on success
writeInteger(address,value) : Writes a 32-bit integer to the specified address. Returns true on success
writeQword(address, value): Write a 64-bit integer to the specified address. Returns true on success
writePointer(address,value)
writeFloat(address,value) : Writes a single precision floating point to the specified address. Returns true on success
writeDouble(address,value) : Writes a double precision floating point to the specified address. Returns true on success
writeString(address,text, widechar OPTIONAL) : Write a string to the specified address. Returns true on success
|
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 10:15 am Post subject: |
|
|
I want to write down the address or something else in the form itself because the address is constantly changing and I don't want to constantly change it in the form when the game starts again. how to make sure that, despite the address change, the form in which it is specified works
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 10:18 am Post subject: |
|
|
Set a timer and have the timer read the address and update the value in the form.
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 10:21 am Post subject: |
|
|
Hiw make it?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 10:35 am Post subject: |
|
|
Add a timer, set the properties. Enable it. In the timer function use one of the aforemetioned functions to read the address.
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 10:41 am Post subject: |
|
|
?????I only have "enabled" "interval" "Name" "Tag" in my properties
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 10:46 am Post subject: |
|
|
Now in the timer events, set the function for OnTimer. The function will be something you have to create. You need to be able to tell the timer what to do with each interval.
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 12:12 pm Post subject: |
|
|
and how do I write it down so that it reads what I have added to the list (there is only 1 line that needs to be read and edited)
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Tue Oct 26, 2021 12:57 pm Post subject: |
|
|
Reference the address list, then reference the memory record. Ensure that the entry exists before making any modifications. Lua is an easy language to learn and there are a ton of functions provided by DB for interfacing with Cheat Engine via Lua.
celua.txt
|
|
Back to top |
|
|
Starter_But Advanced Cheater Reputation: 0
Joined: 26 Oct 2021 Posts: 53
|
Posted: Tue Oct 26, 2021 1:00 pm Post subject: |
|
|
How make it plz tell
|
|
Back to top |
|
|
|