Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Changing a group of offsets by the same value?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
devildragon777
How do I cheat?
Reputation: 0

Joined: 15 Nov 2015
Posts: 4

PostPosted: Thu Sep 19, 2019 1:35 pm    Post subject: Changing a group of offsets by the same value? Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites