| View previous topic :: View next topic |
| Author |
Message |
cavalier3003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2013 Posts: 5
|
Posted: Mon Oct 21, 2013 10:57 pm Post subject: how to automatically Update a value by other address value |
|
|
Dear ppl
I tried to find the answer but I couldn't, the question is
I want the value of address1 changes automatically by value of address2,
for example ad2 is 1000 right now, so i want ad1 changes to 900 ( decrease by 100) or if ad2 became 800, ad1 changes to 700
Address 1 : <VariableType>4 Bytes</VariableType>
<Address>"game.dll"+00FBD5A8</Address>
- <Offsets>
<Offset>2EA</Offset>
<Offset>54</Offset>
<Offset>d</Offset>
<Offset>6</Offset>
<Offset>34</Offset>
<Offset>8</Offset>
</Offsets>
Address 2 : <Address>game.dll+FBC2B0</Address>
( I copied them from my .ct file )
btw the main process is game.exe
hop i could tell you what I'm looking for
thanks in advanced
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Tue Oct 22, 2013 3:40 am Post subject: |
|
|
If you just wanted the value to be equal,. then just (description) would be enough, but since you want -100 it's going to be a bit more annoying
First freeze the address, and then change the value to:
| Code: |
[getAddressList().getMemoryRecordByDescription('Address 2').Value-100]
|
Now whenever the entry with description "Address 2" changes, the value will change to that value - 100
You can also use it in hotkeys. First hotkey freezes it, and the second hotkey (with the same key combination) sets that value
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Tue Oct 22, 2013 10:20 am Post subject: |
|
|
| You can also use assembly by constantly storing the value at address #2, subtract 100 and mov that value to address #1.
|
|
| Back to top |
|
 |
cavalier3003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2013 Posts: 5
|
Posted: Tue Oct 22, 2013 10:49 am Post subject: |
|
|
thanks for your advice but i have to say im totaly noob about coding, i donno where to put this code and how to active them, all I learned is multiple pointers and set the hot key, right now im using hot key to change the value in address1 but its a but annoying cause sometimes i have to change 5times in 20sec so i was searching to find a way to change it automatically.
thanks again for your reply.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Tue Oct 22, 2013 2:01 pm Post subject: |
|
|
Freeze the address by checking the Active checkbox and then doubleclick the value and give as new value:
| Code: |
[getAddressList().getMemoryRecordByDescription('Address 2').Value-100]
|
Replace the "Address 2" part with the description of the cheat entry of the other address (can be a pointer)
It will then continuously update
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
cavalier3003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2013 Posts: 5
|
Posted: Wed Oct 23, 2013 6:27 am Post subject: |
|
|
| Dark Byte wrote: | Freeze the address by checking the Active checkbox and then doubleclick the value and give as new value:
| Code: |
[getAddressList().getMemoryRecordByDescription('Address 2').Value-100]
|
Replace the "Address 2" part with the description of the cheat entry of the other address (can be a pointer)
It will then continuously update |
I donno how to thank you, it worked, mmeeeeeeggaaaaaaa thanks bro, i was looking for something like this since 2years ago and you solved my problem
thank you bro thank you
|
|
| Back to top |
|
 |
cavalier3003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2013 Posts: 5
|
Posted: Fri Oct 25, 2013 3:48 am Post subject: |
|
|
I have another question,
Is there any way to set the min value to 1000? i mean even if the value of address 2 is 1050, the result remains 1000.
thanks in advanced
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Fri Oct 25, 2013 3:57 am Post subject: |
|
|
Try something like this:
| Code: |
[math.max(1000, getAddressList().getMemoryRecordByDescription('Address 2').Value-100])]
|
math.max picks the highest value of the 2. If address 2's value-100 is smaller than 1000, it returns 1000 instead
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
cavalier3003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2013 Posts: 5
|
Posted: Sat Oct 26, 2013 2:27 pm Post subject: |
|
|
| Dark Byte wrote: | Try something like this:
| Code: |
[math.max(1000, getAddressList().getMemoryRecordByDescription('Address 2').Value-100])]
|
math.max picks the highest value of the 2. If address 2's value-100 is smaller than 1000, it returns 1000 instead |
your are awesome it works
thanks a lot bro
|
|
| Back to top |
|
 |
|