make client functions parameterizable by version
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CEBF0 (4 bytes)
|
||||
.data 0x801CEBF0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CEBF0 => b +0x0000000C /* 801CEBFC */
|
||||
# region @ 801CFAE0 (4 bytes)
|
||||
.data 0x801CFAE0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CFAE0 => b +0x00000014 /* 801CFAF4 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CEBF0 (4 bytes)
|
||||
.data 0x801CEBF0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CEBF0 => b +0x0000000C /* 801CEBFC */
|
||||
# region @ 801CFAE0 (4 bytes)
|
||||
.data 0x801CFAE0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CFAE0 => b +0x00000014 /* 801CFAF4 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CEDF0 (4 bytes)
|
||||
.data 0x801CEDF0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CEDF0 => b +0x0000000C /* 801CEDFC */
|
||||
# region @ 801CFCE0 (4 bytes)
|
||||
.data 0x801CFCE0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CFCE0 => b +0x00000014 /* 801CFCF4 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CE7AC (4 bytes)
|
||||
.data 0x801CE7AC # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CE7AC => b +0x0000000C /* 801CE7B8 */
|
||||
# region @ 801CF69C (4 bytes)
|
||||
.data 0x801CF69C # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CF69C => b +0x00000014 /* 801CF6B0 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CECC0 (4 bytes)
|
||||
.data 0x801CECC0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CECC0 => b +0x0000000C /* 801CECCC */
|
||||
# region @ 801CFBB0 (4 bytes)
|
||||
.data 0x801CFBB0 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CFBB0 => b +0x00000014 /* 801CFBC4 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801D0D10 (4 bytes)
|
||||
.data 0x801D0D10 # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801D0D10 => b +0x0000000C /* 801D0D1C */
|
||||
# region @ 801D1CEC (4 bytes)
|
||||
.data 0x801D1CEC # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801D1CEC => b +0x00000014 /* 801D1D00 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CED8C (4 bytes)
|
||||
.data 0x801CED8C # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CED8C => b +0x0000000C /* 801CED98 */
|
||||
# region @ 801CFC7C (4 bytes)
|
||||
.data 0x801CFC7C # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801CFC7C => b +0x00000014 /* 801CFC90 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -1,22 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
# region @ 801CF2AC (4 bytes)
|
||||
.data 0x801CF2AC # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x4800000C # 801CF2AC => b +0x0000000C /* 801CF2B8 */
|
||||
# region @ 801D019C (4 bytes)
|
||||
.data 0x801D019C # address
|
||||
.data 0x00000004 # size
|
||||
.data 0x48000014 # 801D019C => b +0x00000014 /* 801D01B0 */
|
||||
# end sentinel
|
||||
.data 0x00000000 # address
|
||||
.data 0x00000000 # size
|
||||
@@ -0,0 +1,24 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Allow backsteps and\nmovement when\nenemies are nearby"
|
||||
# Original code by Ralf @ GC-Forever and Aleron Ives
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2050
|
||||
# https://www.gc-forever.com/forums/viewtopic.php?t=2049
|
||||
|
||||
.versions 3OE0 3OE1 3OE2 3OJ2 3OJ3 3OJ4 3OJ5 3OP0
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksGC
|
||||
|
||||
.data <VERS 0x801CEBF0 0x801CEBF0 0x801CEDF0 0x801CE7AC 0x801CECC0 0x801D0D10 0x801CED8C 0x801CF2AC>
|
||||
.data 0x00000004
|
||||
b +0x0C
|
||||
|
||||
.data <VERS 0x801CFAE0 0x801CFAE0 0x801CFCE0 0x801CF69C 0x801CFBB0 0x801D1CEC 0x801CFC7C 0x801D019C>
|
||||
.data 0x00000004
|
||||
b +0x14
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x00308E88
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x00308F08
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x003067D8
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x003073D8
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x00308F08
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x00308EB8
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -1,16 +0,0 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data 0x00309078
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
.include MovementXB
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
+17
-2
@@ -1,10 +1,23 @@
|
||||
.meta name="Movement"
|
||||
.meta description="Fixes movement dead\nzone thresholds"
|
||||
|
||||
.versions 4OED 4OEU 4OJB 4OJD 4OJU 4OPD 4OPU
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksXB
|
||||
|
||||
.data <VERS 0x00308E88 0x00308F08 0x003067D8 0x003073D8 0x00308F08 0x00308EB8 0x00309078>
|
||||
.deltaof code_start, code_end
|
||||
code_start:
|
||||
call process_stick_value
|
||||
push esi
|
||||
sub esi, 4
|
||||
call process_stick_value
|
||||
pop esi
|
||||
jmp end
|
||||
jmp code_end
|
||||
|
||||
process_stick_value:
|
||||
mov ax, [esp + 0x3C] # ax = stick val y
|
||||
@@ -36,4 +49,6 @@ process_stick_value:
|
||||
ret
|
||||
|
||||
.zero 0x56
|
||||
end:
|
||||
code_end:
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
Reference in New Issue
Block a user