AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Server Crashing with no error... (https://forums.alliedmods.net/showthread.php?t=173065)

Melisko 11-29-2011 14:47

[Help] Server Crashing with no error...
 
Is it possible to detect why is my server crashing in the middle of playing , when there is no error in amxx log , no error in server log , no error in hlsw? :/

joshknifer 11-29-2011 14:59

Re: [Help] Server Crashing with no error...
 
Probably a 3rd party plugin causing the issue. Could be a loop in something as well. Check out this post:

http://forums.alliedmods.net/showthread.php?t=172729

B3N4K 11-29-2011 15:38

Re: [Help] Server Crashing with no error...
 
I have also experience that HLDS sometimes crash without any errors in logs. Try to open directly your console in background and play CS in windowed mode. When it crash, just switch to server console windows and printscreen whatever is there co you can explore it easily later. There ALWAYS must be smth in server console even if there is nothing in logs ;)

Melisko 11-30-2011 15:16

Re: [Help] Server Crashing with no error...
 
Im not a good scripter so.... and that thing with console is not working...

But , I was looking through hlsw and watched when the server will crash. When it crashed , I looked to the cstrike log and I found this

"L 11/30/2011 - 20:49:05: Team "CT" triggered"

The system havenīt got enaugh time to write full message like this :

"L 11/30/2011 - 20:47:08: Team "CT" triggered "CTs_Win" (CT "1") (T "0")"

Thats pretty weird.....

fysiks 11-30-2011 16:08

Re: [Help] Server Crashing with no error...
 
Quote:

Originally Posted by Melisko (Post 1605401)
Im not a good scripter so.... and that thing with console is not working...

But , I was looking through hlsw and watched when the server will crash. When it crashed , I looked to the cstrike log and I found this

"L 11/30/2011 - 20:49:05: Team "CT" triggered"

The system havenīt got enaugh time to write full message like this :

"L 11/30/2011 - 20:47:08: Team "CT" triggered "CTs_Win" (CT "1") (T "0")"

Thats pretty weird.....

You have to look at the server console directly, HLSW will not work for this since the server is no longer running when it crashes.

Melisko 12-01-2011 09:27

Re: [Help] Server Crashing with no error...
 
Ok guys , server crashed and Ive got some messages from the console :
PHP Code:

 L 12/01/2011 15:11:24Team "CT" triggered "CTs_Win" (CT "12") ("2")
L 12/01/2011 15:11:24World triggered "Round_End"
L 12/01/2011 15:11:29World triggered "Round_Start"
email debug.log to linux@valvesoftware.com
Ä
Śt pro  1 15:11:31 CET 2011: Server restart in 10 seconds 

So , I think that server is crashing at roundstart with a lot of players connected (there were 16 players playing) Im running a private mod (nightcrawler) and I think that it is crashing because of the "weapon_knife" giving to all players at round start.... If you know how to help me write something...

Thanks :)

fysiks 12-01-2011 12:18

Re: [Help] Server Crashing with no error...
 
Quote:

Originally Posted by Melisko (Post 1605719)
I think that it is crashing because of the "weapon_knife" giving to all players at round start.... If you know how to help me write something...

Then remove that and you will know if you are correct.

Melisko 12-01-2011 12:34

Re: [Help] Server Crashing with no error...
 
Quote:

Originally Posted by fysiks (Post 1605834)
Then remove that and you will know if you are correct.

its not that easy... :P :)

This is Sick! I just changed this : strip_user_weapons(id)
give_item(id, "weapon_knife")

to this : /*strip_user_weapons(id)
give_item(id, "weapon_knife")
*/

And server is not crashing... epic

fysiks 12-02-2011 00:06

Re: [Help] Server Crashing with no error...
 
Quote:

Originally Posted by Melisko (Post 1605844)
its not that easy... :P :)

This is Sick! I just changed this : strip_user_weapons(id)
give_item(id, "weapon_knife")

to this : /*strip_user_weapons(id)
give_item(id, "weapon_knife")
*/

And server is not crashing... epic

Wow, it was that easy!


All times are GMT -4. The time now is 08:31.

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