View previous topic :: View next topic |
Author |
Message |
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Tue Apr 12, 2016 11:50 am Post subject: Simple script for freezing values? |
|
|
Ive only done minor things with the auto assembler such as nopping functions but now i am trying to set one up to change the value of and freeze a certain address. I can get it to work without the freezing but the script i have seems awful long.
Code: | [ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
ePSXe.exe+74FF4C:
db -1
originalcode:
cli
add [eax],al
add dl,bh
exit:
jmp returnhere
ePSXe.exe+74FF4C:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
ePSXe.exe+74FF4C:
cli
add [eax],al
add dl,bh
|
The next step I am wanting to do is have multiple addresses in the same script which will also be frozen.
any help out there? ive looked around a bit and cant find what im looking for. thanks
Last edited by PinPoint on Tue Apr 12, 2016 12:35 pm; edited 1 time in total |
|
Back to top |
|
|
akumakuja28 Master Cheater Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Tue Apr 12, 2016 12:02 pm Post subject: |
|
|
Thats broken. Download a table from someone to figure out how scripts are created/written.
_________________
|
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Tue Apr 12, 2016 12:34 pm Post subject: |
|
|
sorry i pasted the wrong code in. ive edited the right on in now.
|
|
Back to top |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Wed Apr 13, 2016 6:15 am Post subject: |
|
|
I used templates and only added: Code: | ePSXe.exe+74FF4C:
db -1 |
However, even if its wrong it does actually work for changing the value to -1.
What it is anyway is an instant kill cheat, having the address in the table changed from 2 byte to float and setting it to -1, the game kills the enemies as it sees it is out of range.
there are 6 addresses I have for enemies and want to make a script where on enable it sets all addresses to -1 and freezes them until disabled.
I know i can do this with hotkeys but a script is tidier.
|
|
Back to top |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Wed Apr 13, 2016 7:36 am Post subject: |
|
|
Quote: | I had edited the thread script to your liking , I think Confused |
It works for freezing but sets the value at 65350.
I was wanting code injection instead of having a hotkey for multiple addresses changing/freezing to the same value. I havent found any relevant tutorials going through what i am wanting it to do.
Ive been using group config to do what i need but would rather just have the one cheat to work with.
|
|
Back to top |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
Posted: Wed Apr 13, 2016 7:53 am Post subject: |
|
|
PinPoint wrote: | Quote: | I had edited the thread script to your liking , I think Confused |
It works for freezing but sets the value at 65350.
I was wanting code injection instead of having a hotkey for multiple addresses changing/freezing to the same value. I havent found any relevant tutorials going through what i am wanting it to do.
Ive been using group config to do what i need but would rather just have the one cheat to work with. |
Edited, meh.
Sorry just change the value in the script to your liking,then.
_________________
... |
|
Back to top |
|
|
PinPoint Expert Cheater Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Wed Apr 13, 2016 7:56 am Post subject: |
|
|
ah, i tried that but didn't put (float) before it. thanks
edit.
It works perfectly, I added the rest of the addresses in the same format also and it works great. not sure if this is entirely correct but it works.
Code: | _freeze:
mov [ePSXe.exe+74FF4C],(float)-1
mov [ePSXe.exe+74FFB4],(float)-1
mov [ePSXe.exe+75001C],(float)-1
mov [ePSXe.exe+750084],(float)-1
mov [ePSXe.exe+7500ec],(float)-1
mov [ePSXe.exe+750154],(float)-1 |
THANKS CAKE-SAN
|
|
Back to top |
|
|
|