AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   Addon randomly stops working (https://forums.alliedmods.net/showthread.php?t=253750)

Jaker 12-27-2014 19:56

Addon randomly stops working
 
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.

asherkin 12-27-2014 22:31

Re: Addon randomly stops working
 
When it's coming up with "unknown command", run "sm plugins info tf2items_manager" and post the output here.

Jaker 12-27-2014 22:51

Re: Addon randomly stops working
 
] 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"

asherkin 12-27-2014 23:05

Re: Addon randomly stops working
 
You need to run it on the server (either directly in the server console, using rcon, or using sm_rcon).

Jaker 12-27-2014 23:15

Re: Addon randomly stops working
 
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 17:38:44
Hash: d8b022222ebef89afd4612eae9dcac7a

asherkin 12-27-2014 23:28

Re: Addon randomly stops working
 
Quote:

Originally Posted by Jaker (Post 2240852)
Error: Error detected in plugin startup (see error logs)

So what does your most recent error log say? (addons/sourcemod/logs/errors_*)

Jaker 12-27-2014 23:36

Re: Addon randomly stops working
 
1 Attachment(s)
Quote:

Originally Posted by asherkin (Post 2240854)
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::ParseItemsEntry()
L 12/28/2014 - 00:52:51: [SM] [1] Line 313, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::ParseItems()
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.

Jaker 12-28-2014 00:00

Re: Addon randomly stops working
 
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.


All times are GMT -4. The time now is 14:57.

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