devildragon777 How do I cheat?
Reputation: 0
Joined: 15 Nov 2015 Posts: 4
|
Posted: Thu Sep 19, 2019 1:35 pm Post subject: Changing a group of offsets by the same value? |
|
|
Crossposted from FearlessRev:
So, this is likely to seem like a really stupid question, but is there any way to adjust a bunch of pointer offsets by the same value? As in, let's say I have something like this: | Code: | <?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>231</ID>
<Description>"Quickslot 4"</Description>
<Options moHideChildren="1"/>
<LastState Value="" Activated="1" RealAddress="00000000"/>
<GroupHeader>1</GroupHeader>
<CheatEntries>
<CheatEntry>
<ID>232</ID>
<Description>"Item Exists"</Description>
<LastState Value="0" RealAddress="14588788"/>
<VariableType>Byte</VariableType>
<Address>Inquisitor.exe+B5934</Address>
<Offsets>
<Offset>860</Offset>
<Offset>14</Offset>
<Offset>9DC</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>233</ID>
<Description>"Item"</Description>
<DropDownListLink>Item</DropDownListLink>
<LastState Value="-1" RealAddress="14588790"/>
<VariableType>4 Bytes</VariableType>
<Address>Inquisitor.exe+B5934</Address>
<Offsets>
<Offset>868</Offset>
<Offset>14</Offset>
<Offset>9DC</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>234</ID>
<Description>"Charges"</Description>
<LastState Value="0" RealAddress="14588794"/>
<VariableType>4 Bytes</VariableType>
<Address>Inquisitor.exe+B5934</Address>
<Offsets>
<Offset>86C</Offset>
<Offset>14</Offset>
<Offset>9DC</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>235</ID>
<Description>"Max Charges"</Description>
<LastState Value="0" RealAddress="14588798"/>
<VariableType>4 Bytes</VariableType>
<Address>Inquisitor.exe+B5934</Address>
<Offsets>
<Offset>870</Offset>
<Offset>14</Offset>
<Offset>9DC</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable> |
And I wanted to change all the top-level offsets by the same number, +30 (so 860 -> 890, 868 -> 898, etc.), how would I go about doing that? Changing from the "Adjust address by" changes the base pointer instead of the offset, and incrementing the offset increments all the values by consecutive amounts (so 860 -> 890, but the second entry would be +60, and the third would be +90, etc.). I don't really understand coding and lua/assembly, so I'm just sort of lost, because there has to be a better way than copy-pasting and changing all these entries by hand, right?
...Also, assume I'm dumb and don't know how to read LUA or ASM code x-x
|
|