View previous topic :: View next topic |
Author |
Message |
drewfist98 Newbie cheater Reputation: 0
Joined: 24 Mar 2015 Posts: 11
|
Posted: Sun Feb 28, 2021 3:42 pm Post subject: How would i add a list of Addresses using LUA? |
|
|
Lets say i have multiple addresses that i would like to add to address list.
How would could i use lua to automatically add them?
for example, lets say i had 3 address: 00000001,00000002,00000003
i could turn it into a list: list = [00000001,00000002,00000003]
and have lua automatically add them to my cheat list
make them all float value, no description
|
|
Back to top |
|
|
ByTransient Expert Cheater Reputation: 5
Joined: 05 Sep 2020 Posts: 240
|
Posted: Wed Apr 07, 2021 7:39 pm Post subject: |
|
|
EDIT:
This is where "vtFloat" defines a byte value.
If you do "Add.Type = vtSingle" or Add.Type = 4 "instead, it will result in" Float ".
Code: | MaxAddressAdd = 3
UPNP = 0x00000001
Relative = 0x00
local al = getAddressList()
for i = 0,MaxAddressAdd-1 do
local Listener = string.format("+%8X", i + UPNP + Relative)
local Add = al.createMemoryRecord()
Add.Description = "Annunnakis"..i
Add.Type = 4
Add.Address = Listener
end |
Here are the CE.Defines descriptions:
Code: | --Variable types
vtByte=0
vtWord=1
vtDword=2
vtQword=3
vtSingle=4
vtDouble=5
vtString=6
vtUnicodeString=7 --Only used by autoguess
vtWideString=7
vtByteArray=8
vtBinary=9
vtAll=10
vtAutoAssembler=11
vtPointer=12 --Only used by autoguess and structures
vtCustom=13
vtGrouped=14 |
|
|
Back to top |
|
|
|