Quote:
Originally Posted by ddhoward
The map that I use this plugin on also has sentries that spawn without an engineer actually building them, but I don't get any error logs... Also, Friendly Mode only hooks OnTakeDamage on buildings that are actually BUILT, not just spawned. Have you noticed a trend that this error spam only happens for a short while after a map change? When the map is first loaded by the server, is the sentry there? Or perhaps your brother went the extra mile and had the sentry creation fire the player_builtobject event...
But yeah, I just fixed this; I'll upload the new version soonish.
|
Today is the first day I noticed it. Below is my full log from today so far but looking at yesterdays it was constantly reporting it. I'm @work so I can't login and test it.
Code:
L 10/10/2013 - 00:09:36: SourceMod error session started
L 10/10/2013 - 00:09:36: Info (map "trade_plaza_invert_v59") (file "errors_20131010.log")
L 10/10/2013 - 00:09:36: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:36: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:36: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:38: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:38: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:38: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:40: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:40: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:40: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:42: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:42: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:46: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:46: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:46: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:47: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:47: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:47: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 00:09:52: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 00:09:52: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 00:09:52: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 02:41:06: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 02:41:06: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 02:41:06: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 02:41:06: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 02:41:06: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 02:41:06: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 02:41:07: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 02:41:07: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 02:41:07: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 02:41:07: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 02:41:07: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 02:41:07: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 02:41:07: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 02:41:07: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 02:41:07: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 03:07:01: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 03:07:01: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 03:07:01: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 04:02:29: [SM] Native "ClientCommand" reported: Client index 0 is invalid
L 10/10/2013 - 04:02:29: [SM] Displaying call stack trace for plugin "free_duels.smx":
L 10/10/2013 - 04:02:29: [SM] [0] Line 1225, D:\Serveurs\tf2\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\free_duels.sp::CreateDuel2_1()
L 10/10/2013 - 04:02:29: [SM] [1] Line 604, D:\Serveurs\tf2\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\free_duels.sp::ChoiceDuelPanel2_1()
L 10/10/2013 - 05:48:47: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:48:47: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:48:47: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:48:47: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:48:47: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:48:47: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:48:48: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:48:48: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:48:48: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:48:49: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:48:49: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:48:49: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:29: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:29: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:29: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:29: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:29: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:29: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:30: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:30: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:30: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:30: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:30: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:30: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:31: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:31: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:31: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 05:53:32: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 05:53:32: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 05:53:32: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 09:51:40: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 10/10/2013 - 09:51:40: [SM] Native "ReplyToCommand" reported: Language phrase "Unable to target" not found
L 10/10/2013 - 09:51:40: [SM] Displaying call stack trace for plugin "free_duels.smx":
L 10/10/2013 - 09:51:40: [SM] [0] Line 119, D:\Serveurs\tf2\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\include\commandfilters.inc::ReplyToTargetError()
L 10/10/2013 - 09:51:40: [SM] [1] Line 268, D:\Serveurs\tf2\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\free_duels.sp::loadDuel()
L 10/10/2013 - 10:17:51: [SM] Plugin encountered error 25: Call was aborted
L 10/10/2013 - 10:17:51: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans"
L 10/10/2013 - 10:17:51: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 10/10/2013 - 10:17:51: [SM] [0] Line 206, D:\scripting\sourcebans.sp::OnPluginStart()
L 10/10/2013 - 10:55:41: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 10:55:41: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 10:55:41: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 11:00:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 11:00:51: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 11:00:51: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()
L 10/10/2013 - 11:00:52: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2013 - 11:00:52: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/10/2013 - 11:00:52: [SM] [0] Line 2074, friendly.sp::BuildingTakeDamage()