AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Mod crashing the server (https://forums.alliedmods.net/showthread.php?t=245228)

^SmileY 07-30-2014 00:53

Mod crashing the server
 
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


meTaLiCroSS 07-30-2014 01:39

Re: Mod crashing the server
 
Would be better if you try to debug with gdb. It is a crash, or it just freezes?

^SmileY 07-30-2014 02:01

Re: Mod crashing the server
 
Quote:

Originally Posted by meTaLiCroSS (Post 2176056)
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?

meTaLiCroSS 07-30-2014 15:44

Re: Mod crashing the server
 
Quote:

Originally Posted by ^SmileY (Post 2176064)
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 (Post 2176056)
It is a crash, or it just freezes?


^SmileY 07-30-2014 17:28

Re: Mod crashing the server
 
Again crash :x

meTaLiCroSS 07-30-2014 20:16

Re: Mod crashing the server
 
Quote:

Originally Posted by ^SmileY (Post 2176403)
Again crash :x

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.

^SmileY 07-30-2014 20:23

Re: Mod crashing the server
 
thanks for the help, probably is any part i am using offsets or constants ?

meTaLiCroSS 07-30-2014 23:57

Re: Mod crashing the server
 
Quote:

Originally Posted by ^SmileY (Post 2176481)
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

^SmileY 07-31-2014 14:14

Re: Mod crashing the server
 
Quote:

Originally Posted by meTaLiCroSS (Post 2176524)
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 :x

See the github for update


All times are GMT -4. The time now is 12:58.

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