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

[TF2] TF2Attributes (v1.7.2, 2022/09/18)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-15-2014 , 22:09   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #211

Windows will need new gamedata after today
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
caxanga334
Member
Join Date: Nov 2013
Location: Brazil
Old 05-16-2014 , 13:00   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #212

since last TF2 update plugin is no longer working, I also get this
Quote:
L 05/16/2014 - 13:55:29: [SM] Plugin encountered error 25: Call was aborted
L 05/16/2014 - 13:55:29: [SM] Native "SetFailState" reported: Could not initialize call to CEconItemSchema::GetAttributeDefinition
L 05/16/2014 - 13:55:29: [SM] Displaying call stack trace for plugin "tf2attributes.smx":
L 05/16/2014 - 13:55:29: [SM] [0] Line 97, /home/groups/alliedmodders/forums/files/8/4/3/0/4/116848.attach::OnPluginStart()
caxanga334 is offline
Cookies.net
Senior Member
Join Date: Jan 2011
Old 05-16-2014 , 13:15   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #213

This is my first time trying to find signatures, so I hope it worked out okay... I think it works, but I can't guarantee they'll all work, since I'm not really experienced in this so some were taken based on my assumptions (much more-so than the rest, that is).

Anyways, you could try it out if you feel like it, but again, wont promise every single signature is pointing to the right function.

I think I should add this is barely tested, it loaded and TF2Attrib_SetByName seems to work (it's the only native used on my friends server, that's why it's the only tested)
Attached Files
File Type: txt tf2.attributes.txt (7.0 KB, 129 views)
Cookies.net is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-16-2014 , 13:40   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #214

setbyname, removebyname works fine, looks like TF2Attrib_GetByName/TF2Attrib_GetValue does not work. I've tried finding sigs before too, got some to work, but for the most part i'm terrible at it
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 05-16-2014 at 13:40.
friagram is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 05-16-2014 , 18:50   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #215

From Voided:
Attached Files
File Type: txt tf2.attributes.txt (7.0 KB, 182 views)
__________________
Fearts is offline
DragonLight
SourceMod Donor
Join Date: Aug 2011
Old 05-16-2014 , 20:25   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #216

Quote:
Originally Posted by Fearts View Post
From Voided:
That worked. Thanks
DragonLight is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-16-2014 , 21:27   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #217

Same problem here. Plugin does not load after Valve update yesterday. Unfortunately, the file from Fearts did not work for me either. Plugin loads fine, but server crashes when a user tries to join a team.

If I use the stock TF2Attributes.txt file I get this error: [TF2] TF2Attributes: Error detected in plugin startup

My Info:
Windows 7 running TF2 with:
Sourcemod 1.5.3
TF2Attributes 1.1.1
TF2 Items Manager 1.4.1
Uber Upgrades 0.9.4

Any help would be greatly appreciated.
PC Gamer is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-16-2014 , 21:52   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #218

This gamedata works on all my servers except ff2, so perhaps something changed about arena, or it's just off a bit, i didn't look at it.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 05-17-2014 , 12:37   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #219

The community gamedata update prevents errors from spewing out but unfortunately it also does not properly work. The server will crash as soon as a non-bot player enters the game and joins a team. It seems likely that one of the functions is not properly set up, so I guess we'll need to wait for sarge's exams to end for a proper update.
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta is offline
Cookies.net
Senior Member
Join Date: Jan 2011
Old 05-17-2014 , 18:34   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #220

Tried it out a bit, the signature for "CAttributeList::DestroyAllAttributes" wasn't correct and caused a crash when called, tried playing a bit around with the TF2 Attributes Example plugin, and from what I tried, TF2Attrib_RemoveAll was the only one not working, causing a crash - so here's the gamedata with the corrected signature.

If you have some crashes caused by this still (or something that just doesn't work), please try to figure out which native is the culprit, since it'll make it easier to pin down the signature in question.
Attached Files
File Type: txt tf2.attributes.txt (7.0 KB, 226 views)

Last edited by Cookies.net; 05-17-2014 at 18:35.
Cookies.net 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 15:59.


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