<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>9</ID>
<Description>"I dont have that game so i had to do this. Click this to test but when you modify it for your table just ignore this scirpt."</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$Lua}
if syntaxcheck then return end
[ENABLE]
-- You dont need any of this i just dont have that game so i cant test i had to allocate my own memroy and shit to test so just ingnore all this.
local testMem = AllocateMemory(0x1000)
registerSymbol("pBuilding",testMem)
writeQword("pBuilding",getAddressSafe('pBuilding+80')) writeString('pBuilding+88',"This is the WorkShop")
writeQword("pBuilding+8",getAddressSafe('pBuilding+160')) writeString('pBuilding+168',"This is the Forge")
local CurBuildingMemrec = AddressList.getMemoryRecordByDescription('Current Building')
local ad = getAddressSafe('pBuilding')
local building1,building2 = string.format("%X",ad+0x80), string.format("%X",ad+0x160)
local strRep1, strRep2 = 16-#tostring(building1), 16-#tostring(building2)
CurBuildingMemrec.DropDownList.Text =
[[
]]..string.rep('0',strRep1)..building1..[[:Workshop
]]..string.rep('0',strRep2)..building2..[[:Forge
]]
[DISABLE]
deAlloc(getAddressSafe('pBuilding'))
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>6</ID>
<Description>"Building"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="FF414141FF414141"/>
<ShowAsSigned>0</ShowAsSigned>
<GroupHeader>1</GroupHeader>
<Address>[pBuilding]</Address>
<CheatEntries>
<CheatEntry>
<ID>7</ID>
<Description>"Current Building"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0000000002C70080:Workshop
0000000002C70160:Forge
</DropDownList>
<ShowAsHex>1</ShowAsHex>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>8 Bytes</VariableType>
<Address>pBuilding</Address>
</CheatEntry>
<CheatEntry>
<ID>8</ID>
<Description>"No description"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>String</VariableType>
<Length>36</Length>
<Unicode>0</Unicode>
<CodePage>0</CodePage>
<ZeroTerminate>1</ZeroTerminate>
<Address>+8</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>9</ID>
<Description>"I dont have that game so i had to do this. Click this to test but when you modify it for your table just ignore this scirpt."</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$Lua}
if syntaxcheck then return end
[ENABLE]
-- You dont need any of this i just dont have that game so i cant test i had to allocate my own memroy and shit to test so just ingnore all this.
local testMem = AllocateMemory(0x1000)
registerSymbol("pBuilding",testMem)
writeQword("pBuilding",getAddressSafe('pBuilding+80')) writeString('pBuilding+88',"This is the WorkShop")
writeQword("pBuilding+8",getAddressSafe('pBuilding+160')) writeString('pBuilding+168',"This is the Forge")
local CurBuildingMemrec = AddressList.getMemoryRecordByDescription('Current Building')
local ad = getAddressSafe('pBuilding')
local building1,building2 = string.format("%X",ad+0x80), string.format("%X",ad+0x160)
local strRep1, strRep2 = 16-#tostring(building1), 16-#tostring(building2)
CurBuildingMemrec.DropDownList.Text =
[[
]]..string.rep('0',strRep1)..building1..[[:Workshop
]]..string.rep('0',strRep2)..building2..[[:Forge
]]
[DISABLE]
deAlloc(getAddressSafe('pBuilding'))
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>6</ID>
<Description>"Building"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="FF414141FF414141"/>
<ShowAsSigned>0</ShowAsSigned>
<GroupHeader>1</GroupHeader>
<Address>[pBuilding]</Address>
<CheatEntries>
<CheatEntry>
<ID>7</ID>
<Description>"Current Building"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0000000002C70080:Workshop
0000000002C70160:Forge
</DropDownList>
<ShowAsHex>1</ShowAsHex>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>8 Bytes</VariableType>
<Address>pBuilding</Address>
</CheatEntry>
<CheatEntry>
<ID>8</ID>
<Description>"No description"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>String</VariableType>
<Length>36</Length>
<Unicode>0</Unicode>
<CodePage>0</CodePage>
<ZeroTerminate>1</ZeroTerminate>
<Address>+8</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Fuck sake I can't delete or edit my post. This is stupid.
I was going to edit it to say I'm tired right now so this is all I could think of. I'll come up with something better if you don't like this way later.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>9</ID>
<Description>"I dont have that game so i had to do this. Click this to test but when you modify it for your table just ignore this scirpt."</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$Lua}
if syntaxcheck then return end
[ENABLE]
-- You dont need any of this i just dont have that game so i cant test i had to allocate my own memroy and shit to test so just ingnore all this.
local testMem = AllocateMemory(0x1000)
registerSymbol("pBuilding",testMem)
writeQword("pBuilding",getAddressSafe('pBuilding+80')) writeString('pBuilding+88',"This is the WorkShop")
writeQword("pBuilding+8",getAddressSafe('pBuilding+160')) writeString('pBuilding+168',"This is the Forge")
local CurBuildingMemrec = AddressList.getMemoryRecordByDescription('Current Building')
local ad = getAddressSafe('pBuilding')
local building1,building2 = string.format("%X",ad+0x80), string.format("%X",ad+0x160)
local strRep1, strRep2 = 16-#tostring(building1), 16-#tostring(building2)
CurBuildingMemrec.DropDownList.Text =
[[
]]..string.rep('0',strRep1)..building1..[[:Workshop
]]..string.rep('0',strRep2)..building2..[[:Forge
]]
[DISABLE]
deAlloc(getAddressSafe('pBuilding'))
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>6</ID>
<Description>"Building"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="FF414141FF414141"/>
<ShowAsSigned>0</ShowAsSigned>
<GroupHeader>1</GroupHeader>
<Address>[pBuilding]</Address>
<CheatEntries>
<CheatEntry>
<ID>7</ID>
<Description>"Current Building"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0000000002C70080:Workshop
0000000002C70160:Forge
</DropDownList>
<ShowAsHex>1</ShowAsHex>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>8 Bytes</VariableType>
<Address>pBuilding</Address>
</CheatEntry>
<CheatEntry>
<ID>8</ID>
<Description>"No description"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>String</VariableType>
<Length>36</Length>
<Unicode>0</Unicode>
<CodePage>0</CodePage>
<ZeroTerminate>1</ZeroTerminate>
<Address>+8</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Fuck sake I can't delete or edit my post. This is stupid.
I was going to edit it to say I'm tired right now so this is all I could think of. I'll come up with something better if you don't like this way later.
And after all that I just realized you can just add a drop down list on the header as Send said. Good days, good days.
@Metanoia here is the table its for: [Link]
its a free game
My table is on the attachment (iit contains all the dropdaowns - table name is: (Inner Builds)