Quote:
Originally Posted by luki1412
Fixed a bunch of problems.
- "client not connected error" shouldnt appear in logs anymore.
- players shouldnt get renamed anymore.
- added a check for saytext2, if the game doesnt support.
|
Does not work on latest insurgency patch (released today, may 26th 2016), even after applying the update to line 468. Throws the following error and bots have stock names
Code:
L 05/26/2016 - 11:47:31: SourceMod error session started
L 05/26/2016 - 11:47:31: Info (map "tell_coop") (file "errors_20160526.log")
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()
L 05/26/2016 - 11:47:31: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 05/26/2016 - 11:47:31: [SM] Displaying call stack trace for plugin "botnames.smx":
L 05/26/2016 - 11:47:31: [SM] [0] Line 312, botnames.sp::DoBotName()
L 05/26/2016 - 11:47:31: [SM] [1] Line 510, botnames.sp::Event_PlayerTeam()