dreamstalker / rehlds

Reverse-engineered HLDS
GNU General Public License v3.0
652 stars 167 forks source link

Not precachea 40 models with reHLDS #508

Closed Josdel1 closed 6 years ago

Josdel1 commented 7 years ago

Hi all, I am new to rehlds and my problem is that I have a plugin for AMXMODX that precachea 40 models, and only goes to 31, I know this because I had printed the models that precachea, but the weirdest thing is that with HLDS itself works correctly, already probe with reAmxmodx and Amxmodx 1.8.3, use 1.8.2 and the same is still not working. I turn off the precacheo of the 40 models, and start up the server, active and not boot

PD: Everything boots perfect with HLDS, my problem is the reHLDS

Console with precacheo 40 mdls reHLDS: http://i.imgur.com/sHFhMH4.png

Code of the part of the precacheo: for( new i = 0; i < sizeof( g_iszWEAPONS ); i++ ) precache_model(g_iszWEAPONS[i][WEAPON_FILE]);

LevShisterov commented 7 years ago

Please install GDB, then check debug.log after crash for additional info. Also, would be nice to view the list of model names and the value of WEAPON_FILE.

Josdel1 commented 7 years ago

`enum _:_STRUCT_WEAPONS { WEAPON_FILE[ 90 ], WEAPON_CSW, WEAPON_NAME[ 90 ], WEAPON_REQUIRED };

new const g_iszWEAPONS[][_STRUCT_WEAPONS] = { { "models/On-GamersSurF/v_m3-1.mdl", CSW_M3, "weapon_m3", 90 }, { "models/On-GamersSurF/v_m3-2.mdl", CSW_M3, "weapon_m3", 380 }, { "models/On-GamersSurF/v_m3-3.mdl", CSW_M3, "weapon_m3", 580 }, { "models/On-GamersSurF/v_m3-4.mdl", CSW_M3, "weapon_m3", 999 },

{ "models/On-GamersSurF/v_glock-1.mdl", CSW_GLOCK18, "weapon_glock18", 10 },
{ "models/On-GamersSurF/v_glock-2.mdl", CSW_GLOCK18, "weapon_glock18", 900 },

{ "models/On-GamersSurF/v_usp-1.mdl", CSW_USP, "weapon_usp", 10 },
{ "models/On-GamersSurF/v_usp-2.mdl", CSW_USP, "weapon_usp", 900 },

{ "models/On-GamersSurF/v_knife-1.mdl", CSW_KNIFE, "weapon_knife", 5 },
{ "models/On-GamersSurF/v_knife-2.mdl", CSW_KNIFE, "weapon_knife", 100 },
{ "models/On-GamersSurF/v_knife-3.mdl", CSW_KNIFE, "weapon_knife", 500 },
{ "models/On-GamersSurF/v_knife-4.mdl", CSW_KNIFE, "weapon_knife", 1000 },

{ "models/On-GamersSurF/v_deagle-1.mdl", CSW_DEAGLE, "weapon_deagle", 20 },
{ "models/On-GamersSurF/v_deagle-2.mdl", CSW_DEAGLE, "weapon_deagle", 250 },
{ "models/On-GamersSurF/v_deagle-3.mdl", CSW_DEAGLE, "weapon_deagle", 800 },

{ "models/On-GamersSurF/v_he-1.mdl", CSW_HEGRENADE, "weapon_hegrenade", 5 },
{ "models/On-GamersSurF/v_he-2.mdl", CSW_HEGRENADE, "weapon_hegrenade", 250 },
{ "models/On-GamersSurF/v_he-3.mdl", CSW_HEGRENADE, "weapon_hegrenade", 800 },

{ "models/On-GamersSurF/v_mp5-1.mdl", CSW_MP5NAVY, "weapon_mp5navy", 40 },
{ "models/On-GamersSurF/v_mp5-2.mdl", CSW_MP5NAVY, "weapon_mp5navy", 350 },

{ "models/On-GamersSurF/v_xm1014-1.mdl", CSW_XM1014, "weapon_xm1014", 120 },
{ "models/On-GamersSurF/v_xm1014-2.mdl", CSW_XM1014, "weapon_xm1014", 420 },
{ "models/On-GamersSurF/v_xm1014-3.mdl", CSW_XM1014, "weapon_xm1014", 890 },

{ "models/On-GamersSurF/v_m4a1-1.mdl", CSW_M4A1, "weapon_m4a1", 70 },
{ "models/On-GamersSurF/v_m4a1-2.mdl", CSW_M4A1, "weapon_m4a1", 340 },
{ "models/On-GamersSurF/v_m4a1-3.mdl", CSW_M4A1, "weapon_m4a1", 820 },

{ "models/On-GamersSurF/v_ak47-1.mdl", CSW_AK47, "weapon_ak47", 70 },
{ "models/On-GamersSurF/v_ak47-2.mdl", CSW_AK47, "weapon_ak47", 350 },
{ "models/On-GamersSurF/v_ak47-3.mdl", CSW_AK47, "weapon_ak47", 850 },

{ "models/On-GamersSurF/v_m249-1.mdl", CSW_M249, "weapon_m249", 100 },
{ "models/On-GamersSurF/v_m249-2.mdl", CSW_M249, "weapon_m249", 500 }, // The precacheo ends here with reHLDS

{ "models/On-GamersSurF/v_awp-1.mdl", CSW_AWP, "weapon_awp", 150 },
{ "models/On-GamersSurF/v_awp-2.mdl", CSW_AWP, "weapon_awp", 500 },
{ "models/On-GamersSurF/v_awp-3.mdl", CSW_AWP, "weapon_awp", 900 },

{ "models/On-GamersSurF/v_g3sg1-1.mdl", CSW_G3SG1, "weapon_g3sg1", 160 },
{ "models/On-GamersSurF/v_g3sg1-2.mdl", CSW_G3SG1, "weapon_g3sg1", 680 },

{ "models/On-GamersSurF/v_sg550-1.mdl", CSW_SG550, "weapon_sg550", 140 },
{ "models/On-GamersSurF/v_sg550-2.mdl", CSW_SG550, "weapon_sg550", 800 },

{ "models/On-GamersSurF/v_scout-1.mdl", CSW_SCOUT, "weapon_scout", 120 },
{ "models/On-GamersSurF/v_scout-2.mdl", CSW_SCOUT, "weapon_scout", 400 }

}; `

Josdel1 commented 7 years ago

Sorry, I'm a bit newbie at this, What is GDB?, my server is on my VPS Ubuntun 16.04

LevShisterov commented 7 years ago

sudo apt-get install gdb

{ "models/On-GamersSurF/v_m249-2.mdl", CSW_M249, "weapon_m249", 500 }, // The precacheo ends here with reHLDS

Try to comment out this line to check if this is a bad model or just some limit.

Josdel1 commented 7 years ago

This is the model 31, until there comes the precacheo.

If I comment these

/*{ "models/On-GamersSurF/v_awp-1.mdl", CSW_AWP, "weapon_awp", 150 }, 
{ "models/On-GamersSurF/v_awp-2.mdl", CSW_AWP, "weapon_awp", 500 }, 
{ "models/On-GamersSurF/v_awp-3.mdl", CSW_AWP, "weapon_awp", 900 }, 

{ "models/On-GamersSurF/v_g3sg1-1.mdl", CSW_G3SG1, "weapon_g3sg1", 160 }, 
{ "models/On-GamersSurF/v_g3sg1-2.mdl", CSW_G3SG1, "weapon_g3sg1", 680 }, 

{ "models/On-GamersSurF/v_sg550-1.mdl", CSW_SG550, "weapon_sg550", 140 }, 
{ "models/On-GamersSurF/v_sg550-2.mdl", CSW_SG550, "weapon_sg550", 800 }, 

{ "models/On-GamersSurF/v_scout-1.mdl", CSW_SCOUT, "weapon_scout", 120 }, 
{ "models/On-GamersSurF/v_scout-2.mdl", CSW_SCOUT, "weapon_scout", 400 }*/

The server starts up perfectly with reHLDS

Josdel1 commented 7 years ago

There is no model damaged or anything, because that starts perfect with HLDS without launch problems or anything.

PD: sorry for my bad english i'm using the translator

LevShisterov commented 7 years ago

I suggested to comment out only 1 line. Also, still waiting for debug.log output with GDB installed.

Josdel1 commented 7 years ago

I already installed the GDB, but I don't know where to find the file debug.log

Josdel1 commented 7 years ago

I found one in the root of the server


----------------------------------------------
----------------------------------------------
CRASH: Fri Jul 28 18:53:47 UTC 2017
Start Line: ./hlds_linux -game cstrike -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Jul 28 18:53:58 UTC 2017
Start Line: ./hlds_linux -game cstrike -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Jul 28 18:54:09 UTC 2017
Start Line: ./hlds_linux -game cstrike -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20
End of crash report
----------------------------------------------
LevShisterov commented 7 years ago

Start the server with -debug parameter.

Josdel1 commented 7 years ago

debug.log :

----------------------------------------------
CRASH: Fri Jul 28 23:05:50 UTC 2017
Start Line: ./hlds_linux -game cstrike -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20 -debug
End of crash report
----------------------------------------------

LOG_HOME.txt:

Enabling debug mode
Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/ogp_agent/.steam/sdk32/steamclient.so
with error:
/home/ogp_agent/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 02:10:39 Jul 26 2017 (1201)
STEAM Auth Server

Server IP address 45.32.166.224:27015

   Metamod-r version 1.3.78 Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)
   Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.

Metamod-r v1.3.78, API (5:13)
Metamod-r build: 14:04:22 Jul 21 2017 (1.3.78)
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/7ffbf8f (asmodai)

   AMX Mod X version 1.8.2-dev Copyright (c) 2004-2006 AMX Mod X Development Team 
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under 
   certain conditions; type 'amxx gpl' for details.

ReGameDLL version: 5.3.0.218-dev
L 07/28/2017 - 22:42:10: -------- Mapchange to surf_ski_2 --------
stray key in process_key: item_getiteminfo 61
L 07/28/2017 - 22:42:10: [GEOIP] Database info: GEO-106FREE 20080801 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
Segmentation fault (core dumped)
email debug.log to linux@valvesoftware.com
Fri Jul 28 22:42:11 UTC 2017: Server restart in 10 seconds
LevShisterov commented 7 years ago

Nope, still is not what is expected. Here how debug.log should look.

Josdel1 commented 7 years ago

I do not understand this part which says "Debug log created only when it tries to execute illegal instruction". What I could explain you?

I have tried everything and still does not show anything in debug.log

fred0r commented 7 years ago

I think he meant: Start rehlds with the additional parameter '-debug' and try to debug the error with 'gdb'. If there's no Program called 'gdb' installed, install it using your OS Package-Manager. Connect to your current process using gdb by: 'gdb -p $PID_of_your_hlds' or start the hlds directly within gdb and provoke that error. Look on Google - there are plenty of How-Tow's.

LevShisterov commented 7 years ago

No need to connect with GDB, it will be used by hlds_run on crash.

Josdel1 commented 7 years ago

I've already tried from PuTTY or the panel OGP placing -debug and I still show nothing in debug.log

fred0r commented 7 years ago

check if DEBUG=1 is set in hlds_run

Josdel1 commented 7 years ago

After searching and asking, I think I could find something that you can serve LevShisterov

Exe build: 02:10:39 Jul 26 2017 (1201)
STEAM Auth Server
Server IP address 45.32.166.224:27015

   Metamod-r version 1.3.78 Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)
   Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.

Metamod-r v1.3.78, API (5:13)
Metamod-r build: 14:04:22 Jul 21 2017 (1.3.78)
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/7ffbf8f (asmodai)

   AMX Mod X version 1.8.2-dev Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.

ReGameDLL version: 5.3.0.218-dev
L 07/31/2017 - 01:55:52: -------- Mapchange to surf_ski_2 --------
stray key in process_key: item_getiteminfo 61
L 07/31/2017 - 01:55:52: [GEOIP] Database info: GEO-106FREE 20080801 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
[New Thread 0xf4067b40 (LWP 25476)]

Thread 1 "hlds_linux" received signal SIGSEGV, Segmentation fault.
0xf7633e11 in memsetAVX () from /var/www/html/servidores/1/engine_i486.so
(gdb) bt
#0  0xf7633e11 in memsetAVX () from /var/www/html/servidores/1/engine_i486.so
#1  0xf766fcb8 in Cache_Alloc () from /var/www/html/servidores/1/engine_i486.so
#2  0x00000058 in ?? ()
#3  0xf7fc7000 in ?? () from /usr/lib32/libstdc++.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.

        Inferior 1 [process 25472] will be killed.

Quit anyway? (y or n) clear
Please answer y or n.
A debugging session is active.

        Inferior 1 [process 25472] will be killed.

Quit anyway? (y or n) y
root@OnGamers:/var/www/html/servidores/1# clear
root@OnGamers:/var/www/html/servidores/1# gdb -args ./hlds_linux -game cstrike -debug -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./hlds_linux...done.
(gdb) run
Starting program: /var/www/html/servidores/1/hlds_linux -game cstrike -debug -pidfile ogp_game_startup.pid +map surf_ski_2 +ip 45.32.166.224 +port 27015 +maxplayers 20
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 02:10:39 Jul 26 2017 (1201)
STEAM Auth Server
Server IP address 45.32.166.224:27015

   Metamod-r version 1.3.78 Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)
   Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.

Metamod-r v1.3.78, API (5:13)
Metamod-r build: 14:04:22 Jul 21 2017 (1.3.78)
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/7ffbf8f (asmodai)

   AMX Mod X version 1.8.2-dev Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.

ReGameDLL version: 5.3.0.218-dev
L 07/31/2017 - 01:56:50: -------- Mapchange to surf_ski_2 --------
stray key in process_key: item_getiteminfo 61
L 07/31/2017 - 01:56:50: [GEOIP] Database info: GEO-106FREE 20080801 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
[New Thread 0xf4067b40 (LWP 25488)]

Thread 1 "hlds_linux" received signal SIGSEGV, Segmentation fault.
0xf7633e11 in memsetAVX () from /var/www/html/servidores/1/engine_i486.so
(gdb) bt
#0  0xf7633e11 in memsetAVX () from /var/www/html/servidores/1/engine_i486.so
#1  0xf766fcb8 in Cache_Alloc () from /var/www/html/servidores/1/engine_i486.so
#2  0x00000058 in ?? ()
#3  0xf7fc7000 in ?? () from /usr/lib32/libstdc++.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
LevShisterov commented 7 years ago

Output from these please:

bt info locals info sharedlibrary info frame

Josdel1 commented 7 years ago
(gdb) bt
#0  0xf7633e11 in memsetAVX () from /var/www/html/servidores/1/engine_i486.so
#1  0xf766fcb8 in Cache_Alloc () from /var/www/html/servidores/1/engine_i486.so
#2  0x00000058 in ?? ()
#3  0xf7fc7000 in ?? () from /usr/lib32/libstdc++.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) info locals
No symbol table info available.
(gdb) info sharedlibrary
From        To          Syms Read   Shared Object Library
0xf7fd9860  0xf7ff273d  Yes (*)     /lib/ld-linux.so.2
0xf7ec0360  0xf7f74c94  Yes (*)     /usr/lib32/libstdc++.so.6
0xf7e4fa30  0xf7e50961  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0xf7e36870  0xf7e43ef1  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0xf7c93750  0xf7dbf1bd  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0xf7c2b590  0xf7c630f7  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0xf7c0c080  0xf7c21d35  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0xf762d700  0xf77406f1  Yes (*)     /var/www/html/servidores/1/engine_i486.so
0xf759d840  0xf75a105c  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0xf758b5c0  0xf7595d74  Yes (*)     /lib/libsteam_api.so
0xf7571a00  0xf757e1b8  Yes         /var/www/html/servidores/1/filesystem_stdio.                                                                                        so
0xf4cc30e0  0xf4d324c1  Yes (*)     /var/www/html/servidores/1/./cstrike/addons/                                                                                        metamod/dlls/metamod_i386.so
0xf4a65da0  0xf4bcab90  Yes (*)     /var/www/html/servidores/1/cstrike/dlls/cs.s                                                                                        o
0xf48e6a00  0xf4946768  Yes (*)     /var/www/html/servidores/1/cstrike/addons/am                                                                                        xmodx/dlls/amxmodx_mm_i386.so
0xf484cd30  0xf48bf208  Yes (*)     cstrike/addons/amxmodx/modules/sqlite_amxx_i                                                                                        386.so
0xf482ec10  0xf4831c98  Yes (*)     cstrike/addons/amxmodx/modules/fun_amxx_i386                                                                                        .so
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) info frame
Stack level 0, frame at 0xffffc060:
 eip = 0xf7633e11 in memsetAVX; saved eip = 0xf766fcb8
 called by frame at 0xffffc06c
 Arglist at 0xffffc058, args:
 Locals at 0xffffc058, Previous frame's sp is 0xffffc060
 Saved registers:
  eip at 0xffffc05c
(gdb)
Josdel1 commented 7 years ago

With reAmxmodx:

Thread 1 "hlds_linux" received signal SIGSEGV, Segmentation fault.
0xf7635ea1 in memcpyU256 () from /var/www/html/servidores/Surf/engine_i486.so
(gdb) bt
#0  0xf7635ea1 in memcpyU256 () from /var/www/html/servidores/Surf/engine_i486.so
#1  0xf76e7cba in Mod_LoadStudioModel_internal(model_s*, void*) () from /var/www/html/servidores/Surf/engine_i486.so
#2  0xf76fdddc in Mod_LoadStudioModel () from /var/www/html/servidores/Surf/engine_i486.so
#3  0xf791a1f0 in mod_known () from /var/www/html/servidores/Surf/engine_i486.so
#4  0xf37a5008 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) info locals
No symbol table info available.
(gdb) info sharedlibrary
From        To          Syms Read   Shared Object Library
0xf7fd9860  0xf7ff273d  Yes (*)     /lib/ld-linux.so.2
0xf7ec0360  0xf7f74c94  Yes (*)     /usr/lib32/libstdc++.so.6
0xf7e4fa30  0xf7e50961  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0xf7e36870  0xf7e43ef1  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0xf7c93750  0xf7dbf1bd  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0xf7c2b590  0xf7c630f7  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0xf7c0c080  0xf7c21d35  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0xf762d700  0xf77406f1  Yes (*)     /var/www/html/servidores/Surf/engine_i486.so
0xf759d840  0xf75a105c  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0xf758b5c0  0xf7595d74  Yes (*)     /lib/libsteam_api.so
0xf7571a00  0xf757e1b8  Yes         /var/www/html/servidores/Surf/filesystem_std                                                                                        io.so
0xf4cc30e0  0xf4d324c1  Yes (*)     /var/www/html/servidores/Surf/./cstrike/addo                                                                                        ns/metamod/metamod_i386.so
0xf4a65da0  0xf4bcab90  Yes (*)     /var/www/html/servidores/Surf/cstrike/dlls/c                                                                                        s.so
0xf487d990  0xf4907640  Yes         /var/www/html/servidores/Surf/cstrike/addons                                                                                        /amxmodx/dlls/amxmodx_mm_i386.so
0xf473e2d0  0xf4807f80  Yes (*)     cstrike/addons/amxmodx/modules/sqlite_amxx_i                                                                                        386.so
0xf467d420  0xf46f3d90  Yes (*)     cstrike/addons/amxmodx/modules/hamsandwich_a                                                                                        ---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) info frame
Stack level 0, frame at 0xffffbc70:
 eip = 0xf7635ea1 in memcpyU256; saved eip = 0xf76e7cba
 called by frame at 0xffffbcb0
 Arglist at 0xffffbc68, args:
 Locals at 0xffffbc68, Previous frame's sp is 0xffffbc70
 Saved registers:
  esi at 0xffffbc64, edi at 0xffffbc60, eip at 0xffffbc6c
LevShisterov commented 7 years ago

Also, do with your plugin what I suggested earlier. Comment out these line by line with trying to start the server each time

{ "models/On-GamersSurF/v_awp-1.mdl", CSW_AWP, "weapon_awp", 150 },
{ "models/On-GamersSurF/v_awp-2.mdl", CSW_AWP, "weapon_awp", 500 },
{ "models/On-GamersSurF/v_awp-3.mdl", CSW_AWP, "weapon_awp", 900 },

{ "models/On-GamersSurF/v_g3sg1-1.mdl", CSW_G3SG1, "weapon_g3sg1", 160 },
{ "models/On-GamersSurF/v_g3sg1-2.mdl", CSW_G3SG1, "weapon_g3sg1", 680 },

{ "models/On-GamersSurF/v_sg550-1.mdl", CSW_SG550, "weapon_sg550", 140 },
{ "models/On-GamersSurF/v_sg550-2.mdl", CSW_SG550, "weapon_sg550", 800 },

{ "models/On-GamersSurF/v_scout-1.mdl", CSW_SCOUT, "weapon_scout", 120 },
{ "models/On-GamersSurF/v_scout-2.mdl", CSW_SCOUT, "weapon_scout", 400 }

Then tell if you have to comment all lines or only specific ones from these.

Josdel1 commented 7 years ago

Discuss these models and the server I start with reAMXX

/*  { "models/On-GamersSurF/v_m249-1.mdl", CSW_M249, "weapon_m249", 100 },
    { "models/On-GamersSurF/v_m249-2.mdl", CSW_M249, "weapon_m249", 500 },

    { "models/On-GamersSurF/v_awp-1.mdl", CSW_AWP, "weapon_awp", 150 },
    { "models/On-GamersSurF/v_awp-2.mdl", CSW_AWP, "weapon_awp", 500 },
    { "models/On-GamersSurF/v_awp-3.mdl", CSW_AWP, "weapon_awp", 900 },

    { "models/On-GamersSurF/v_g3sg1-1.mdl", CSW_G3SG1, "weapon_g3sg1", 160 },
    { "models/On-GamersSurF/v_g3sg1-2.mdl", CSW_G3SG1, "weapon_g3sg1", 680 },

    { "models/On-GamersSurF/v_sg550-1.mdl", CSW_SG550, "weapon_sg550", 140 },
    { "models/On-GamersSurF/v_sg550-2.mdl", CSW_SG550, "weapon_sg550", 800 },

    { "models/On-GamersSurF/v_scout-1.mdl", CSW_SCOUT, "weapon_scout", 120 },
    { "models/On-GamersSurF/v_scout-2.mdl", CSW_SCOUT, "weapon_scout", 400 }*/
fred0r commented 7 years ago

@SoundB1: Dont run hlds as root

Josdel1 commented 7 years ago

That would solve my problem? u.u

gui1porpis commented 7 years ago

Try to use Metamod-P, I was using Metamod-R and I was having a lot of problems opening my servers, I went back to using Metamod-P and solved 90% of my server problems.

In-line commented 6 years ago

Closing as non active.