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

tf2items not working after today's update


Post New Thread Closed Thread   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-23-2013 , 00:31   Re: tf2items not working after today's update
#111

Quote:
Originally Posted by nergal View Post
I got a crash dump because my server's been literally crashing ALL day :/

http://crash.limetech.org/jzwrrmxnvtce
You're adding an attribute to an item that doesn't exist.
__________________
asherkin is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-23-2013 , 10:25   Re: tf2items not working after today's update
#112

Quote:
Originally Posted by asherkin View Post
You're adding an attribute to an item that doesn't exist.
How would I find that item in particular?
__________________
nergal is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 07-23-2013 , 10:44   Re: tf2items not working after today's update
#113

btw, asherkin, what have you done in new version (1.5.x->1.6.x)?
what feature may crash server? because 1.5.3-hg244 is more stable than latest ones.
__________________
Leonardo is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 07-23-2013 , 11:19   Re: tf2items not working after today's update
#114

Confirmation, our clan leader rolled back to an earlier version of tf2items and the weapons randomly breaking seems to have stopped. So whatever it is, it's tf2items.
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-23-2013 , 11:35   Re: tf2items not working after today's update
#115

Quote:
Originally Posted by nergal View Post
How would I find that item in particular?
You'll need to look through your tf2items_manager config files and any plugins using tf2items.

To rephrase what I said better, you're adding an attribute that doesn't exist to an item, for example an attribute index of "0" (which is how someone else hit this, as it used to be the "invalid" index so could be used to force tf2items_manager to just remove all attributes on an item).

Quote:
Originally Posted by Leonardo View Post
btw, asherkin, what have you done in new version (1.5.x->1.6.x)?
what feature may crash server? because 1.5.3-hg244 is more stable than latest ones.
Nothing in particular, it's unlikely that the IterateAttributes hooking will be causing a crash directly, I think it's more likely your problem stems from making assumptions about what the game does.

FWIW, VoiDeD and I looked into your crashes, it's dying trying to get the information required to broadcast the player_healed event, so it's likely not to be directly related to tf2items - it won't protect you against doing things the game doesn't handle.

Quote:
Originally Posted by Requiesta View Post
Confirmation, our clan leader rolled back to an earlier version of tf2items and the weapons randomly breaking seems to have stopped. So whatever it is, it's tf2items.
Yes, this is a bug with the hooking of IterateAttributes, it's sometimes carrying over to the wrong item entities, I might just remove all this as we know an update is coming to fix it properly.
__________________
asherkin is offline
eminemxw88
Senior Member
Join Date: Dec 2009
Old 07-23-2013 , 11:48   Re: tf2items not working after today's update
#116

my server update to hg-253 now,but i can't remove attribute in the other plugins,somebody help.

for exp:
PHP Code:
public Action:TF2Items_OnGiveNamedItem(clientString:classname[], iItemDefinitionIndex, &Handle:hItem)
{
 if (!
Enabled2) return Plugin_Continue;
 if (
hItem != INVALID_HANDLE) return Plugin_Continue;
 switch (
iItemDefinitionIndex)
 {
  case 
239:
  {
   new 
Handle:hItemOverride PrepareItemHandle(hItem__"6 ; 0.5 ; 107 ; 2 ; 1 ; 0.5 ; 128 ; 1 ; 191 ; -3"true);
   if (
hItemOverride != INVALID_HANDLE)
   {
   
hItem hItemOverride;
   return 
Plugin_Changed;
   }
  }
 }
 return 
Plugin_Continue;


Last edited by eminemxw88; 07-23-2013 at 12:01.
eminemxw88 is offline
Send a message via MSN to eminemxw88
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 07-23-2013 , 13:09   Re: Re: tf2items not working after today's update
#117

Quote:
Originally Posted by asherkin View Post
it's dying trying to get the information required to broadcast the player_healed event, so it's likely not to be directly related to tf2items - it won't protect you against doing things the game doesn't handle.
Well then that's because of multiplied health or healing rate, I think.
__________________
Leonardo is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-23-2013 , 14:23   Re: tf2items not working after today's update
#118

got another crash today.

http://crash.limetech.org/kzpr3hqmvxjp

is it the same problem because it's a little difficult to tell.
__________________
nergal is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 07-23-2013 , 14:40   Re: tf2items not working after today's update
#119

I could also confirm that the older versions stopped my crashing and issues where attributes weren't saving on the weapons properly. Specifically 1.5.3-hg243.
__________________
Chaosxk is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 07-23-2013 , 16:07   Re: tf2items not working after today's update
#120

Quote:
Originally Posted by asherkin View Post
I'm currently waiting to hear back from Valve on some things,
I do hope they are able to provide great wealth of help. Valve owe you (and other key modders) a lot, for keeping a great amount of the tf2 community alive.
CoolJosh3k is offline
Closed Thread



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 09:20.


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