need help with scripts

Want Cheat Engine to do something specific and no idea how to do that, ask here. (From simple scripts to full trainers and extensions)
Post Reply
nightmare3
Cheater
Cheater
Posts: 39
Joined: Tue Jan 29, 2019 9:05 pm
Reputation: 18

need help with scripts

Post by nightmare3 »

ok i have update my pcsx2 to ver 1.7 nightly.
most my code has to be rewrite to pointer style and i have done it.
like this :PS2Mem+36D1B0
now i want to make scripts change the value of address :PS2Mem+36D1B0 to some thing specific.
so:

infinity MP in battles
address :PS2Mem+A72E7C
[ENABLE]: 00000000
[DISABLE]: FF FF 63 24

change the code manual or script is ok.

i tried like this:

Code: Select all

[ENABLE]
alloc(newmem,512)
label(infinityMP)
registersymbol(infinityMP)


newmem:
PS2Mem+A72E7C:
infinityMP:
dq 00000000

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
newmem:
PS2Mem+A72E7C:
infinityMP:
dq 2463FFFF
unregistersymbol(infinityMP)
unregistersymbol(infinityMP)
the problem is changing the address value is not allow all the time.
once the value change, the effect is always active and cant deactivated till i sleep or start a minigame.
cant manual or by deactivate the script
game SUIKODEN V NTSC
Pcsx2: 1.7.52
CE:7.4


Edit: found that the address becomes read-only need the game to change it to writeable to change the value. even if cheat is not load the read-only appear.

Post Reply

Who is online

Users browsing this forum: No registered users