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

hltv getting called twice


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
whosyourdaddy
Senior Member
Join Date: Apr 2008
Old 01-19-2010 , 01:02   hltv getting called twice
Reply With Quote #1

ok pretty much this is what i have my register event set as

Code:
register_event( "HLTV"                , "EVENT_NewRound"    , "a"    , "1=0"    ,            "2=0"    );
and i only have hltv set once. my server kept crashing and i couldnt figure out why, lookin into hlsw it seemed that end round was the last thing being called and new round even was never called

Code:
21:59:16 L 01/18/2010 - 21:59:16: World triggered "Round_End"
so i put in logs to see if new round ever starts and this is what came out

Code:
L 01/18/2010 - 21:59:21: EVENT_NEWROUND START
L 01/18/2010 - 21:59:21: EVENT_NEWROUND START
L 01/18/2010 - 21:59:21: EVENT_NEWROUND END
i looked at the logs before it crashes and new round is only called once but it randomly gets called twice and then crashes. any idea what can cause this?

Last edited by whosyourdaddy; 01-19-2010 at 02:13. Reason: fixed spelling and made it clearer to read
whosyourdaddy is offline
whosyourdaddy
Senior Member
Join Date: Apr 2008
Old 01-19-2010 , 04:29   Re: hltv getting called twice
Reply With Quote #2

found out my problem, rarely a function will get called and the while loop wouldnt stop so it will go on forever causing the server to crash but its fixed so thnks all
whosyourdaddy 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 10:12.


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