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

Server crashing since a few days


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dordnung
Veteran Member
Join Date: Apr 2010
Old 02-04-2014 , 07:22   Server crashing since a few days
Reply With Quote #1

Hey,

since a few days my server is crashing when chaning attributes (Not for all attributes) and returning "Plugin_Changed". I don't get any error or something, it's just crashing.

Do somebody know something about it?

Greetz

Popoklopsi
__________________
dordnung is offline
Ra7eem
BANNED
Join Date: Feb 2014
Location: Egypt
Old 02-04-2014 , 07:50   Re: Server crashing since a few days
Reply With Quote #2

Your hlds bulid verson last ?
Ra7eem is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 02-04-2014 , 08:11   Re: Server crashing since a few days
Reply With Quote #3

Yeah, sure.

I also tested it on a friends server with the same result.
__________________
dordnung is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-04-2014 , 09:35   Re: Server crashing since a few days
Reply With Quote #4

Quote:
Originally Posted by Ra7eem View Post
Your hlds bulid verson last ?
For the record, tf2 does not use hlds, it uses srcds
WildCard65 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 02-04-2014 , 11:33   Re: Server crashing since a few days
Reply With Quote #5

Ok, that is strange, i just redownloaded the extension and now there are no problems oO, but that is exactly the same version and i downloaded it a few days ago...
__________________
dordnung is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 02-04-2014 , 11:33   Re: Server crashing since a few days
Reply With Quote #6

You are probably setting less attributes than you are calling setnumattributes for, check your code.
If you assign 3 attributes, but setnumattributes 4, the server will die, every time.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-04-2014 , 11:38   Re: Server crashing since a few days
Reply With Quote #7

Quote:
Originally Posted by friagram View Post
You are probably setting less attributes than you are calling setnumattributes for, check your code.
If you assign 3 attributes, but setnumattributes 4, the server will die, every time.
Actually, I find that a bit derpy on how it works(like you need to use setnumattributes to 1 higher then one you going to assign to(ex: 5, you use setnums 6):
(Following link is for a problem of mine, but also portrays derpyness of setnumattributes if you look at it closely): https://forums.alliedmods.net/showthread.php?t=232654
WildCard65 is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 02-04-2014 , 11:41   Re: Server crashing since a few days
Reply With Quote #8

No that was not the problem, but thanks. The strange think is it was all working, then it just stopped working. Maybe somehow the file got corrupted, don't know.
__________________
dordnung is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-04-2014 , 14:26   Re: Server crashing since a few days
Reply With Quote #9

Quote:
Originally Posted by WildCard65 View Post
Actually, I find that a bit derpy on how it works(like you need to use setnumattributes to 1 higher then one you going to assign to(ex: 5, you use setnums 6):
(Following link is for a problem of mine, but also portrays derpyness of setnumattributes if you look at it closely): https://forums.alliedmods.net/showthread.php?t=232654
It works just like arrays.

PHP Code:
new foo[5]; 
Gives you 5 "slots" to use, numbered: 0, 1, 2, 3, and 4.

PHP Code:
TF2Items_SetNumAttributes(handle5); 
Gives you 5 "slots" to use, numbered: 0, 1, 2, 3, and 4.

I don't see what's confusing?
__________________
asherkin is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-04-2014 , 14:38   Re: Server crashing since a few days
Reply With Quote #10

Idk why for some reason I found it derpy, I must've forgot that it goes from 0 to 15 and not 0 to 16(which was making me believe it's derpy)
WildCard65 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 01:52.


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