I was getting reports from my players that the 1st knife they throw actually threw like 3 (only subtracted 1 from total) and the next throw threw 2 (only subtracted 1 from total) and then it was fine after that.
Resets and does that every round.
I also got reports of it doing damage to teammates when I dont have friendly fire turned on.
I recompiled it against SM 1.4.1 and now this is spamming the hell out of my error log file.
Quote:
L 03/10/2012 - 21:52:35: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 21:52:35: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:52:35: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 21:53:44: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 21:53:44: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:53:44: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 21:54:33: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 21:54:33: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:54:33: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 21:54:35: [SM] Native "GetArrayArray" reported: Invalid index 2 (count: 2)
L 03/10/2012 - 21:54:35: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:54:35: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 21:56:51: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 21:56:51: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:56:51: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 21:57:09: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 21:57:09: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 21:57:09: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 22:02:27: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 22:02:27: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 22:02:27: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 22:03:03: [SM] Native "GetArrayArray" reported: Invalid index 2 (count: 2)
L 03/10/2012 - 22:03:03: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 22:03:03: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 22:03:03: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 22:03:03: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 22:03:03: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
L 03/10/2012 - 22:05:39: [SM] Native "GetArrayArray" reported: Invalid index 1 (count: 1)
L 03/10/2012 - 22:05:39: [SM] Displaying call stack trace for plugin "throwknives.smx":
L 03/10/2012 - 22:05:39: [SM] [0] Line 164, C:\Users\Gaming\Desktop\desktop\sourcemod\SM SP\scripting\ZMy plugins\throwknives.sp::OnGameFrame()
|
EDIT: Never mind. I just found that one of people that helps run the server added an extremely old version of this plugin so it was running along side of the most recent one posted here. All seems fine now.
__________________