FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
551 stars 107 forks source link

Падает при попытке создать сервер #356

Closed Mr0maks closed 6 years ago

Mr0maks commented 6 years ago

pi@raspberrypi:~/xash3d_fwgs $ ./xash.sh -dev 5 -public 1 -dev 5 -log [11:59:27] /home/pi/xash3d_fwgs is working directory now

Xash3D FWGS (build 1067, Linux-arm) started at Mar03 2018 [11:59.27]

================================================================================ [11:59:27] Console initialized [11:59:27] FS_AddGameDirectory( ./, 0 ) [11:59:27] FS_Init: done [11:59:27] FS_LoadGameInfo( valve ) [11:59:27] FS_Rescan( Half-Life ) [11:59:27] FS_AddGameHierarchy: 0 valve valve [11:59:27] FS_AddGameDirectory( valve/downloaded/, 10 ) [11:59:27] FS_AddGameDirectory( valve/, 4 ) [11:59:27] Adding packfile: valve/extras.pak (139 files) [11:59:27] Adding wadfile valve/cached.wad (2 files) [11:59:27] Adding wadfile valve/decals.wad (222 files) [11:59:27] Adding wadfile valve/fonts.wad (3 files) [11:59:27] Adding wadfile valve/gfx.wad (7 files) [11:59:27] Adding wadfile valve/halflife.wad (3116 files) [11:59:27] Adding wadfile valve/liquids.wad (32 files) [11:59:27] Adding wadfile valve/spraypaint.wad (14 files) [11:59:27] Adding wadfile valve/tempdecal.wad (1 files) [11:59:27] Adding wadfile valve/xeno.wad (264 files) [11:59:27] FS_AddGameDirectory( valve/custom/, 10 ) [11:59:27] InitDecals: 222 decals [11:59:27] NET_Init() [11:59:27] Cannot load xashcomm.lst [11:59:29] SV_LoadProgs: initailized extended EntityAPI ver. 140 [11:59:29] SV_LoadProgs: initailized extended PhysicAPI ver. 6 [11:59:29] Dll loaded for mod Half-Life [11:59:29] SV: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36 [11:59:29] SV: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18 [11:59:29] SV: hull2, player_mins: 0 0 0, player_maxs: 0 0 0 [11:59:29] execing skill.cfg [11:59:29] execing config.cfg [11:59:29] execing keyboard.cfg [11:59:29] couldn't exec userconfig.cfg [11:59:29] execing server.cfg [11:59:29] couldn't exec listip.cfg [11:59:29] couldn't exec banned.cfg [11:59:29] Please add "defaultmap" cvar with default map name to your server.cfg! [11:59:29] NET_UDPSocket( localhost, 27015 ) [11:59:29] Server IP address: 127.0.1.1:27015 map crossfire Segmentation fault pi@raspberrypi:~/xash3d_fwgs $

a1batross commented 6 years ago

-public 1

Нет такого аргумента.

А вообще запускай под GDB и выкладывай трейс.

Mr0maks commented 6 years ago
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
================================================================================
    Xash3D FWGS (build 1067, Linux-arm) started at Mar03 2018 [13:57.21]
================================================================================
[13:57:21] Cannot load xashcomm.lst

Hardware watchpoint 1: sv_gravity

Old value = (convar_t *) 0x0
New value = (convar_t *) 0x5c7ea0
SV_Init () at /home/pi/BUILDER/xash3d/engine/server/sv_main.c:954
954     sv_maxspeed = Cvar_Get( "sv_maxspeed", "320", CVAR_PHYSICINFO, "maximum speed a player can accelerate to when on ground");
(gdb) c
Continuing.
[13:57:30] Dll loaded for mod Half-Life

Hardware watchpoint 1: sv_gravity

Old value = (convar_t *) 0x5c7ea0
New value = (convar_t *) 0x0
Cvar_RegisterVariable (var=0x5b7aa4 <teamplay>) at /home/pi/BUILDER/xash3d/engine/common/cvar.c:343
343         var->flags |= CVAR_EXTDLL;      // all cvars passed this function are game cvars
(gdb) c
Continuing.
[13:57:32] execing skill.cfg
[13:57:32] execing config.cfg
[13:57:32] execing keyboard.cfg
[13:57:32] execing server.cfg
[13:57:32] Server IP address: 127.0.1.1:27015

Program received signal SIGSEGV, Segmentation fault.
0x000e3800 in SV_UpdateMovevars (initialize=true) at /home/pi/BUILDER/xash3d/engine/server/sv_main.c:237
237     svgame.movevars.gravity = sv_gravity->value;
(gdb) 
a1batross commented 6 years ago

Пересобери из master ветки. Не забудь почистить сборку, потому что мало ли. 6_9

Mr0maks commented 6 years ago

Пересобрал и заработало.