It's not working for me on windows, is it running for someone else in 0.3.7 R2-1?
@Edit: Nvm just realized that my YSF from Kurta's wasn't updated to the last version.
As asked by Dayvison_ above, here is the latest plugin commits compiled for windows:
@Edit2: Found a possible bug, I shoot players with shotgun, even using a script to prevent them to take damage they die and I get many weird erros on my console:
Код:
[11/11/16 00:59:36] [connection] incoming connection: 127.0.0.1:49627 id: 0
[11/11/16 00:59:37] [join] n0minal has joined the server (0:127.0.0.1)
[11/11/16 00:59:37] [nick] n0minal nick changed to [ZT]Guest_User[0]
[11/11/16 00:59:37] [debug] Run time error 6: "Invalid instruction"
[11/11/16 00:59:37] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 00:59:37] [debug] AMX backtrace:
[11/11/16 00:59:37] [debug] #0 000000e5 in ?? (0, 1076426179, 65535, 54, 3, 0) from zombo.amx
[11/11/16 00:59:37] [debug] #1 0000cbe8 in public OnPlayerTakeDamage (0, 65535, 1076426179, 54, 3) from zombo.amx
[11/11/16 00:59:39] [debug] Run time error 6: "Invalid instruction"
[11/11/16 00:59:39] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 00:59:39] [debug] AMX backtrace:
[11/11/16 00:59:39] [debug] #0 000000e5 in ?? (0, 1076426179, 65535, 54, 3, 0) from zombo.amx
[11/11/16 00:59:39] [debug] #1 0000cbe8 in public OnPlayerTakeDamage (0, 65535, 1076426179, 54, 3) from zombo.amx
[11/11/16 00:59:55] [nick] [ZT]Guest_User[0] nick changed to n0minal
[11/11/16 01:00:04] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:04] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:04] [debug] AMX backtrace:
[11/11/16 01:00:04] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, -1106395136, 1050312704, 1059349424) from zombo.amx
[11/11/16 01:00:04] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:04] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:04] [debug] AMX backtrace:
[11/11/16 01:00:04] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1106090394, 25, 9) from zombo.amx
[11/11/16 01:00:05] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:05] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:05] [debug] AMX backtrace:
[11/11/16 01:00:05] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, -1110376448, 1051074560, 1045471936) from zombo.amx
[11/11/16 01:00:05] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:05] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:05] [debug] AMX backtrace:
[11/11/16 01:00:05] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1109288551, 25, 3) from zombo.amx
[11/11/16 01:00:41] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:41] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:41] [debug] AMX backtrace:
[11/11/16 01:00:41] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, 1051103232, 1035632640, 1063043584) from zombo.amx
[11/11/16 01:00:41] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:41] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:41] [debug] AMX backtrace:
[11/11/16 01:00:41] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1087583028, 25, 9) from zombo.amx
[11/11/16 01:00:42] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:42] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:42] [debug] AMX backtrace:
[11/11/16 01:00:42] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, -1110999040, 1050877952, 1061412016) from zombo.amx
[11/11/16 01:00:42] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:42] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:42] [debug] AMX backtrace:
[11/11/16 01:00:42] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1102630093, 25, 5) from zombo.amx
[11/11/16 01:00:43] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:43] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:43] [debug] AMX backtrace:
[11/11/16 01:00:43] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, 1036812288, 1050836992, 1061940704) from zombo.amx
[11/11/16 01:00:43] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:43] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:43] [debug] AMX backtrace:
[11/11/16 01:00:43] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1100899943, 25, 9) from zombo.amx
[11/11/16 01:00:44] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:44] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:44] [debug] AMX backtrace:
[11/11/16 01:00:44] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, 1036828672, 1050894336, 1061940624) from zombo.amx
[11/11/16 01:00:44] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:44] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:44] [debug] AMX backtrace:
[11/11/16 01:00:44] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1100899943, 25, 9) from zombo.amx
[11/11/16 01:00:45] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:45] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:45] [debug] AMX backtrace:
[11/11/16 01:00:45] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, -1124335616, 1051148288, 1060356000) from zombo.amx
[11/11/16 01:00:45] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:45] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:45] [debug] AMX backtrace:
[11/11/16 01:00:45] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1110153626, 25, 5) from zombo.amx
[11/11/16 01:00:46] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:46] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:46] [debug] AMX backtrace:
[11/11/16 01:00:46] [debug] #0 000000e5 in public OnPlayerWeaponShot (0, 25, 1, 145, -1111310336, 1051484160, 1048926496) from zombo.amx
[11/11/16 01:00:46] [debug] Run time error 6: "Invalid instruction"
[11/11/16 01:00:46] [debug] Unknown opcode 0xc000000 at address 0x000000E5
[11/11/16 01:00:46] [debug] AMX backtrace:
[11/11/16 01:00:46] [debug] #0 000000e5 in public OnPlayerGiveDamage (0, 145, 1110153626, 25, 3) from zombo.amx
[11/11/16 01:00:46] [kill] n0minal killed Zombie[146] Shotgun
PS: I don't have OnPlayerTakeDamage callback on my gamemode, just in weapon-config include, and I'm testing it with FCNPC's.