Function is crashing the server
This function seems to be crashing the server when I execute it. Any ideas?
Server OS and type: Windows XP - Listen Function: Code:
Modules.ini: Code:
; AMX Mod X ModulesCode:
; AMX Mod X plugins |
Re: Function is crashing the server
you might want to delay them from getting a knife right after stripping. try that.
|
Re: Function is crashing the server
new i = 1
Might wanna change it to that - strip_user_weapons and give_item on index 0 may cause bad things to happen. |
Re: Function is crashing the server
Quote:
|
Re: Function is crashing the server
I was about to say...
How long do you think I should wait? .1? .5? |
Re: Function is crashing the server
Quote:
|
Re: Function is crashing the server
i would try .1, if still not, try .5
also, which messages are being logged? |
Re: Function is crashing the server
It is only logging the messages before the for loop, not after... I'm going to add a log message inside the look just to see where it crashes...I'm assuming it's because of what you said...not enough time between the two...
|
Re: Function is crashing the server
It seems the problem is in strip_user_weapons:
Log: Code:
L 10/13/2006 - 01:01:24: Server cvar "sv_password" = "***PROTECTED***"Code:
Just a note, this function isn't getting called in a ResetHud event... Hmm...anyway....any ideas? |
Re: Function is crashing the server
Just tried it with setting a task on the strip weapons and it gets all the way through the for loop, but then crashes after the restart round line:
Code:
L 10/13/2006 - 01:14:25: "CAL CS Match In Progress<0><><>" started a match "mr10 cal.cfg "Code:
|
| All times are GMT -4. The time now is 04:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.