Raised This Month: $ Target: $400
 0% 

Mod crashing the server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 00:53   Mod crashing the server
Reply With Quote #1

hi, my pug mod is crashing the server in linux, i not tested in windows.

The new code i have used is this: https://github.com/SmileYzn/PugMod
(And i used my old one, and the server crashed too)

Ps.
This is the version, meta list and amxx plugins output.

The crash happens on the players connect to the server, basically when the server reaches 5 ~ 9 Players and the server crash.

I do not have access to console, but the qconsole.log generated by -condebug does not show any error, and in amxmodx/logs nothing too.

Someone can help with this? Or have a linux server to test?

Code:
] rcon version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)

] rcon meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.3-d  ini  Start ANY  
 [ 2] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.3-d  pl1  ANY   ANY  
 [ 3] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.3-d  pl1  ANY   ANY  
 [ 4] CStrike          RUN   -    cstrike_amxx_i38  v1.8.3-d  pl1  ANY   ANY  
 [ 5] CSX              RUN   -    csx_amxx_i386.so  v1.8.3-d  pl1  ANY   ANY  
5 plugins, 5 running

] rcon amxx plugins
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] Pug MOD (Anti Flood)    1.8.3-dev+  AMXX Dev Team     PugFlood.amxx    running  
 [  2] Pug MOD (CORE)          0.0.1 A     SmileY            PugCore.amxx     running  
 [  3] Pug MOD (Ready System)  0.0.1 A     SmileY            PugReady.amxx    running  
 [  4] Pug MOD (CS)            0.0.1 A     SmileY            PugCS.amxx       running  
 [  5] Pug MOD (Vote System)   0.0.1 A     SmileY            PugMenus.amxx    running  
 [  6] Pug MOD (Configs)       0.0.1 A     SmileY            PugConfigs.amxx  running  
 [  7] Pug MOD (LO3)           0.0.1 A     SmileY            PugLO3.amxx      running  
 [  8] Pug MOD (Warmup)        0.0.1 A     SmileY            PugWarmup.amxx   running  
 [  9] Pug MOD (Stats)         0.0.1 A     SmileY            PugStats.amxx    running  
9 plugins, 9 running
Sorry if i am forgotten about any information

EDIT: Oh the amxx version

Code:
AMX Mod X 1.8.3-dev+f1e07ca (http://www.amxmodx.org)
Authors:
    David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
    Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
    Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
    Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jul 29 2014, 03:24:30
Build ID: 4097:f1e07caca4f4edcaa91879006ace962e57f9055e
Core mode: JIT+ASM32
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 07-30-2014 at 00:55.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-30-2014 , 01:39   Re: Mod crashing the server
Reply With Quote #2

Would be better if you try to debug with gdb. It is a crash, or it just freezes?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 02:01   Re: Mod crashing the server
Reply With Quote #3

Quote:
Originally Posted by meTaLiCroSS View Post
Would be better if you try to debug with gdb. It is a crash, or it just freezes?
Crash, gdb? what is this?

EDIT: OH i read the topic, but i not have access to debian host, this can be used in windows too?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 07-30-2014 at 02:05.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-30-2014 , 15:44   Re: Mod crashing the server
Reply With Quote #4

Quote:
Originally Posted by ^SmileY View Post
Crash, gdb? what is this?

EDIT: OH i read the topic, but i not have access to debian host, this can be used in windows too?
Quote:
Originally Posted by meTaLiCroSS View Post
It is a crash, or it just freezes?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 17:28   Re: Mod crashing the server
Reply With Quote #5

Again crash
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-30-2014 , 20:16   Re: Mod crashing the server
Reply With Quote #6

Quote:
Originally Posted by ^SmileY View Post
Again crash
Sorry, didn't catch it.

So, try to add some debug messages, maybe I would take some time and see your code searching for possible crashes.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 20:23   Re: Mod crashing the server
Reply With Quote #7

thanks for the help, probably is any part i am using offsets or constants ?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-30-2014 , 23:57   Re: Mod crashing the server
Reply With Quote #8

Quote:
Originally Posted by ^SmileY View Post
thanks for the help, probably is any part i am using offsets or constants ?
Offsets can crash in the way if that offset handles an important value, anyway, the team join code is dangerous, debug it
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-31-2014 , 14:14   Re: Mod crashing the server
Reply With Quote #9

Quote:
Originally Posted by meTaLiCroSS View Post
Offsets can crash in the way if that offset handles an important value, anyway, the team join code is dangerous, debug it
Is the force respawn on join or jointeam code?

Thanks again

EDIT: Not worked, i changed the JoinTeam logic

See the github for update
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 08-01-2014 at 16:12.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
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:23.


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