View previous topic :: View next topic |
Author |
Message |
kraqur1 How do I cheat? Reputation: 0
Joined: 04 Aug 2021 Posts: 2
|
Posted: Wed Aug 04, 2021 2:26 pm Post subject: Copy Thread.. What am i doing wrong |
|
|
So i have 4 pointers..
p_playerbase offset 2148 <--- Copy 1 Value
p_playerbaseP2 offset 2148 <-- Paste 1 Value
p_playerbase offset 2150 <---Copy 2 Value
p_playerbaseP2 offset 2150 <--Paste 2 Value
Here is my thread code.. It copies just fine.. the issue is the game crash's 2 seconds after the copy? Ive tried everything i can think of to fix this. Hoping someone can work this out.
[ENABLE]
globalalloc(copycos,4096)
createthread(copycos)
label(Ccosmetics)
label(Pcosmetics)
label(Cvalue)
label(Pvalue)
registersymbol(Ccosmetics)
registersymbol(Pcosmetics)
registersymbol(Cvalue)
registersymbol(Pvalue)
[p_playerbase]+2148:
Ccosmetics:
[p_playerbaseP2]+2148:
Pcosmetics:
[p_playerbase]+2150:
Cvalue:
[p_playerbaseP2]+2150:
Pvalue:
copycos:
push eax
mov eax,[Ccosmetics]
mov [Pcosmetics],eax
mov eax,[Cvalue]
mov [Pvalue],eax
pop eax
ret
[DISABLE]
unregistersymbol(Ccosmetics)
unregistersymbol(Pcosmetics)
unregistersymbol(Cvalue)
unregistersymbol(Pvalue)
If you have a better way to auto copy a value to another value im all ears as well.. Just know im fairly new to all this and still learning. So please try to keep it simple
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Wed Aug 04, 2021 2:33 pm Post subject: |
|
|
just use cheat engine to copy either using lua, or using memory records and freeze record1 to the value of record2
_________________
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 |
|
|
kraqur1 How do I cheat? Reputation: 0
Joined: 04 Aug 2021 Posts: 2
|
Posted: Wed Aug 04, 2021 2:39 pm Post subject: |
|
|
Dark Byte wrote: | just use cheat engine to copy either using lua, or using memory records and freeze record1 to the value of record2 |
So i can copy and paste the values manually with no issue.. but im trying to find a way to have cheat engine auto copy the values once checked. I have a bunch of them i need them to copy and it will have to be done every time the game is booted. So i was hoping to make a script to copy all the values with one click.
I dont know anything about LUA yet.. im still working on learning assembly. any chance you have a copy paste script example i can work off of?
Also thank you for the quick response.. Its an honor to have you of all people reply to my poste
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed Aug 04, 2021 4:09 pm Post subject: |
|
|
Code: | writeInteger(address1, readInteger(address2)) |
_________________
|
|
Back to top |
|
|
|