Raised This Month: $51 Target: $400
 12% 

Addon randomly stops working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jaker
Junior Member
Join Date: Jun 2014
Old 12-27-2014 , 19:56   Addon randomly stops working
Reply With Quote #1

Heya. I need some help, I'm trying to set up and test custom attributes on items on my server and I've run into this issue a number of times, though all previous times it seemed to work itself out on its own, it hasn't this time.


I enter "tf2items_manager_reload" into the console to update the tf2items.weapons file and all I get from the console is "Unknown command: tf2items_manager_reload"

It started off working perfectly fine, then just suddenly stopped working. Now, I'm a huge procrastinator, I started renting and working on this server a few months ago and part way through the list, I stopped, was busy with other things and I had distractions. I figured, maybe I just had to update the addon, so I downloaded it again and put it on the server, overwriting all the old files except the tf2items.weapons file. It worked again briefly before cutting out again.

At this point, I've been at it for hours and I'm sure I missed something, probably something super obvious. I looked through some threads on here, but didn't find a similar issue. If there is, I probably missed it as well.
Jaker is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-27-2014 , 22:31   Re: Addon randomly stops working
Reply With Quote #2

When it's coming up with "unknown command", run "sm plugins info tf2items_manager" and post the output here.
__________________
asherkin is offline
Jaker
Junior Member
Join Date: Jun 2014
Old 12-27-2014 , 22:51   Re: Addon randomly stops working
Reply With Quote #3

] tf2items_manager_reload
Unknown command: tf2items_manager_reload
] sm plugins info tf2items_manager
"Basic Comm Control" (1.6.3-dev+4580) by AlliedModders LLC
"Sound Commands" (1.6.3-dev+4580) by AlliedModders LLC
"Rock The Vote" (1.6.0-dev+4502) by AlliedModders LLC
"Super Move" (0.6) by Jindo
"Client Preferences" (1.6.3-dev+4580) by AlliedModders LLC
"Be the Skeleton" (1.0) by Mitchell
"Map Nominations" (1.6.0-dev+4502) by AlliedModders LLC
"Basic Info Triggers" (1.6.3-dev+4580) by AlliedModders LLC
"[TF2Items] Advanced Give Item" (1.0.2) by DarthNinja
"Anti-Flood" (1.6.3-dev+4580) by AlliedModders LLC
To see more, type "sm plugins 11"
Jaker is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-27-2014 , 23:05   Re: Addon randomly stops working
Reply With Quote #4

You need to run it on the server (either directly in the server console, using rcon, or using sm_rcon).
__________________
asherkin is offline
Jaker
Junior Member
Join Date: Jun 2014
Old 12-27-2014 , 23:15   Re: Addon randomly stops working
Reply With Quote #5

Filename: tf2items_manager.smx
Title: [TF2Items] Manager ([TF2Items] Manager)
Author: Damizean & Asherkin
Version: 1.4.1
URL: http://limetech.org/
Error: Error detected in plugin startup (see error logs)
Timestamp: 08/21/2010 178:44
Hash: d8b022222ebef89afd4612eae9dcac7a
Jaker is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-27-2014 , 23:28   Re: Addon randomly stops working
Reply With Quote #6

Quote:
Originally Posted by Jaker View Post
Error: Error detected in plugin startup (see error logs)
So what does your most recent error log say? (addons/sourcemod/logs/errors_*)
__________________
asherkin is offline
Jaker
Junior Member
Join Date: Jun 2014
Old 12-27-2014 , 23:36   Re: Addon randomly stops working
Reply With Quote #7

Quote:
Originally Posted by asherkin View Post
So what does your most recent error log say? (addons/sourcemod/logs/errors_*)

[SM] Native "TF2Items_SetAttribute" reported: Cowardly refusing to add invalid attribute index "0" to an item.
L 12/28/2014 - 00:52:51: [SM] Displaying call stack trace for plugin "tf2items_manager.smx":
L 12/28/2014 - 00:52:51: [SM] [0] Line 425, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp:arseItemsEntry()
L 12/28/2014 - 00:52:51: [SM] [1] Line 313, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp:arseItems()
L 12/28/2014 - 00:52:51: [SM] [2] Line 58, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::OnPluginStart()
L 12/28/2014 - 00:52:51: [SM] Plugin encountered error 25: Call was aborted

The latest Error log is attached in full.
Attached Files
File Type: log errors_20141228.log (3.9 KB, 70 views)
Jaker is offline
Jaker
Junior Member
Join Date: Jun 2014
Old 12-28-2014 , 00:00   Re: Addon randomly stops working
Reply With Quote #8

Sorry for double posting.

Turns out I had some errors in the tf2items.weapons file.

I guess I hit some buttons accidentally while not looking at that screen and missed it. I'm very sorry for the trouble and I appreciate the help very much.
Jaker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode