View previous topic :: View next topic |
Author |
Message |
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Fri Jan 14, 2022 11:46 am Post subject: Using table as struct |
|
|
I have a problem whenever i've setting x = 0,memrec won't show value
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1053 Location: 0x90
|
Posted: Fri Jan 14, 2022 11:58 am Post subject: |
|
|
Going to need some more information. What code have you got? The value of the memory record isn't updating when?
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Fri Jan 14, 2022 11:59 am Post subject: |
|
|
Code: | Vector3D = {
x = 0,
y = 4,
z = 8
} |
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Fri Jan 14, 2022 12:15 pm Post subject: |
|
|
You're not doing anything with a memory record or even the "memrec" variable. You're just making a global lua table. If you want to set a "memrec" value you need to do just that.
_________________
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Fri Jan 14, 2022 12:17 pm Post subject: |
|
|
Like with address not with value Code: | 0xAAB140+Vector3D.x |
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Fri Jan 14, 2022 12:20 pm Post subject: |
|
|
Frouk wrote: | Like with address not with value Code: | 0xAAB140+Vector3D.x |
|
Try setting the address to this.
_________________
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1053 Location: 0x90
|
Posted: Fri Jan 14, 2022 12:50 pm Post subject: |
|
|
Is it not true that memrec only pertains to the currently selected memoryrecord within the table? At least without telling Cheat Engine which memoryrecord to use?
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Fri Jan 14, 2022 1:30 pm Post subject: |
|
|
LeFiXER wrote: | Is it not true that memrec only pertains to the currently selected memoryrecord within the table? At least without telling Cheat Engine which memoryrecord to use? |
You are correct, "memrec" is only available in a memory record script and is the memory record the script is a part of. I don't think they were actually doing anything with "memrec" they seemed to just use that as an abbreviation, but want to use a lua variable in the memory record's address. But with them being so vague it's hard to say, I'm really just making a guess as to what they are trying to do. It's mostly that I know "AAB140+Vector3D.x" as an address for a memory record won't work. So I'm guessing that's what they're talking about.
_________________
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1053 Location: 0x90
|
Posted: Fri Jan 14, 2022 3:36 pm Post subject: |
|
|
TheyCallMeTim13 wrote: | You are correct, "memrec" is only available in a memory record script and is the memory record the script is a part of. I don't think they were actually doing anything with "memrec" they seemed to just use that as an abbreviation, but want to use a lua variable in the memory record's address. But with them being so vague it's hard to say, I'm really just making a guess as to what they are trying to do. It's mostly that I know "AAB140+Vector3D.x" as an address for a memory record won't work. So I'm guessing that's what they're talking about. |
Thanks for the clarification. I completely understand where you're coming from with the little to no information provided in the request. I'm glad to be apart of a community that has members with a wealth of knowledge. I would +rep but CEF doesn't permit me to do so for apparently I have given you rep too soon already.
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Sat Jan 15, 2022 2:50 am Post subject: |
|
|
Everything work fine,thx
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
|