Sorry for being away for a while. I will check out the radius thing.
Quote:
Originally Posted by SpazShot
Is this still being supported?
edit: error log
Code:
L 10/19/2011 - 20:47:01: [SM] Native "KillTimer" reported: Invalid timer handle 40030456 (error 1)
L 10/19/2011 - 20:47:01: [SM] Displaying call stack trace for plugin "sm_jihad-fix.smx":
L 10/19/2011 - 20:47:01: [SM] [0] Line 246, /home/groups/alliedmodders/forums/files/1/5/1/6/1/2/93375.attach::Event_RoundEnd()
L 10/19/2011 - 20:47:45: [SM] Native "KillTimer" reported: Invalid timer handle 40030456 (error 1)
L 10/19/2011 - 20:47:45: [SM] Displaying call stack trace for plugin "sm_jihad-fix.smx":
L 10/19/2011 - 20:47:45: [SM] [0] Line 393, /home/groups/alliedmodders/forums/files/1/5/1/6/1/2/93375.attach::Detonate()
L 10/19/2011 - 20:47:45: [SM] [1] Line 360, /home/groups/alliedmodders/forums/files/1/5/1/6/1/2/93375.attach::TimerCallback_Detonate()
L 10/19/2011 - 20:48:43: [SM] Native "KillTimer" reported: Invalid timer handle 40030456 (error 1)
L 10/19/2011 - 20:48:43: [SM] Displaying call stack trace for plugin "sm_jihad-fix.smx":
L 10/19/2011 - 20:48:43: [SM] [0] Line 246, /home/groups/alliedmodders/forums/files/1/5/1/6/1/2/93375.attach::Event_RoundEnd()
L 10/19/2011 - 20:53:41: [SM] Native "KillTimer" reported: Invalid timer handle 40030456 (error 1)
L 10/19/2011 - 20:53:41: [SM] Displaying call stack trace for plugin "sm_jihad-fix.smx":
L 10/19/2011 - 20:53:41: [SM] [0] Line 246, /home/groups/alliedmodders/forums/files/1/5/1/6/1/2/93375.attach::Event_RoundEnd()
L 10/19/2011 - 20:54:04: Error log file session closed.
|
It might be because I'm just killing the timer at every opportunity. It's not very clean code and I should probably check if the handle is valid before trying to kill it. That's why you're seeing the errors. It's nothing to worry about other than it spamming the log file.
Edit: I do check the handle at the end of the round (Event_RoundEnd), so I'm not sure why that's cropping up. I fixed a few other minor issues, though, but nothing big. Also, I didn't see any error in the code in relation to the radius, I'll need to test it in-game to see what the deal is.