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

[DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)


Post New Thread Reply   
 
Thread Tools Display Modes
rswallen
SourceMod Donor
Join Date: Jun 2013
Location: 127.0.0.1
Old 08-01-2014 , 15:20   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #241

I didn't change them, but if you insist (edited previous post)
__________________
rswallen is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 08-01-2014 , 15:29   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #242

Quote:
Originally Posted by rswallen View Post
I didn't change them, but if you insist (edited previous post)
Testing it..

For some reason it unloads after map change (no error in the log file or the con)
just:
Code:
[SM] Plugin [DEV] TF2ItemsInfo unloaded successfully.
weird..
Might be just me?

Thanks
__________________

Last edited by Vastrix; 08-01-2014 at 15:42.
Vastrix is offline
rswallen
SourceMod Donor
Join Date: Jun 2013
Location: 127.0.0.1
Old 08-01-2014 , 15:45   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #243

Theres still a memory leak it seems
__________________
rswallen is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 08-01-2014 , 15:46   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #244

Quote:
Originally Posted by rswallen View Post
Theres still a memory leak it seems
Which makes it unload like that?
Kinda odd, no?
Vastrix is offline
rswallen
SourceMod Donor
Join Date: Jun 2013
Location: 127.0.0.1
Old 08-01-2014 , 15:57   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #245

Code:
L 08/01/2014 - 20:52:41: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "tf2itemsinfo
.smx")
L 08/01/2014 - 20:52:41: [SM] Unloading plugin to free 16193 handles.
L 08/01/2014 - 20:52:41: [SM] Contact the author(s) of this plugin to correct th
is error.
L 08/01/2014 - 20:52:41: -------------------------------------------------------
-------------------
L 08/01/2014 - 20:52:41: Type   KeyValues           |   Count   4780
L 08/01/2014 - 20:52:41: Type   GlobalFwd           |   Count   3
L 08/01/2014 - 20:52:41: Type   Trie                |   Count   1
L 08/01/2014 - 20:52:41: Type   CellArray           |   Count   11409
L 08/01/2014 - 20:52:41: -- Approximately 18243743 bytes of memory are in use by
 (16193) Handles.

[SM] Plugin [DEV] TF2ItemsInfo unloaded successfully.
__________________
rswallen is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 08-01-2014 , 16:04   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #246

Quote:
Originally Posted by rswallen View Post
Code:
L 08/01/2014 - 20:52:41: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "tf2itemsinfo
.smx")
L 08/01/2014 - 20:52:41: [SM] Unloading plugin to free 16193 handles.
L 08/01/2014 - 20:52:41: [SM] Contact the author(s) of this plugin to correct th
is error.
L 08/01/2014 - 20:52:41: -------------------------------------------------------
-------------------
L 08/01/2014 - 20:52:41: Type   KeyValues           |   Count   4780
L 08/01/2014 - 20:52:41: Type   GlobalFwd           |   Count   3
L 08/01/2014 - 20:52:41: Type   Trie                |   Count   1
L 08/01/2014 - 20:52:41: Type   CellArray           |   Count   11409
L 08/01/2014 - 20:52:41: -- Approximately 18243743 bytes of memory are in use by
 (16193) Handles.

[SM] Plugin [DEV] TF2ItemsInfo unloaded successfully.
where does that data come from? (stupid Q probably..(i'll be getting into srcpawn soon..)) ;)
Vastrix is offline
rswallen
SourceMod Donor
Join Date: Jun 2013
Location: 127.0.0.1
Old 08-01-2014 , 16:15   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #247

Straight from server console
__________________
rswallen is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 08-01-2014 , 16:18   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #248

Quote:
Originally Posted by rswallen View Post
Straight from server console
pretty darn sure it didn't print on mine..

Last edited by Vastrix; 08-01-2014 at 16:19.
Vastrix is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-01-2014 , 16:41   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #249

Quote:
Originally Posted by Horsedick View Post
I'd rather not "harass" anyone to do anything like this cause its not as if its a job and as I told Darth yesterday I and many others appreciate the work they do for the community.

But still, there are plugins I think that rely on this is it not? Shouldn't those be addressed or unapproved as well till they are revised to not include it?

I'm trying to think of a list
I only used the term harassed because he's been talking about it for months and yet he hasn't released it or told anyone how it supposedly works. It's not from reading the item's CEconItemView because it doesn't have the required information. It's possible that the item's CTFItemDefintion is being used (fetchable via CEconItemView::GetStaticData or so it looks), but I'm not sure what properties it actually has.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-01-2014 at 16:44.
Powerlord is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 08-01-2014 , 17:44   Re: [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
Reply With Quote #250

The only reason it causes a leak is because the data isn't properly being removed when trying to reload the item schema. Luckily, there is no point to reload the item schema every time the server changes maps. Try this out, it will only ever load the item schema once.
Attached Files
File Type: sp Get Plugin or Get Source (tf2itemsinfo.sp - 2426 views - 93.8 KB)
File Type: smx tf2itemsinfo.smx (34.3 KB, 6465 views)

Last edited by ReFlexPoison; 07-31-2015 at 03:03.
ReFlexPoison 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 18:34.


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