How do you combine scripts?
Posted: Fri Mar 24, 2023 2:40 am
so everytime I make scripts i usually just hide the second part as a child even when activated but i feel like its a little messy and im just trying to see if theres a better way to do things.
for instance for the Resident evil 3 remake on steam. its for an FOV at all times and aiming doesnt zoom in. just a little different way to play the game. PS i name stuff terribly.
And this Script
Not asking for someone to do it for me as I want to learn. Everytime I think i figured it out i make things crash. shoot me a hint or a youtube link if you have one.
for instance for the Resident evil 3 remake on steam. its for an FOV at all times and aiming doesnt zoom in. just a little different way to play the game. PS i name stuff terribly.
Code: Select all
[ENABLE]
aobscanmodule(nozoomwhenaiming,re3.exe,F3 0F 11 43 54 F3 0F 10 45 A0) // should be unique
alloc(newmem,$1000,nozoomwhenaiming)
label(code)
label(return)
newmem:
code:
mov [rbx+54],(float)110
jmp return
nozoomwhenaiming:
jmp newmem
return:
registersymbol(nozoomwhenaiming)
[DISABLE]
nozoomwhenaiming:
db F3 0F 11 43 54
unregistersymbol(nozoomwhenaiming)
dealloc(newmem)
Code: Select all
[ENABLE]
aobscanmodule(camerazoom,re3.exe,F3 0F 11 46 54 E9) // should be unique
alloc(newmem,$1000,camerazoom)
label(code)
label(return)
newmem:
code:
mov [rsi+54],(float)110
jmp return
camerazoom:
jmp newmem
return:
registersymbol(camerazoom)
[DISABLE]
camerazoom:
db F3 0F 11 46 54
unregistersymbol(camerazoom)
dealloc(newmem)