Raised This Month: $51 Target: $400
 12% 

Solved [DoD] Dedicated Server & AMXX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Milovic
Junior Member
Join Date: Dec 2016
Old 12-03-2016 , 15:31   [DoD] Dedicated Server & AMXX
Reply With Quote #1

Hello everybody, thank you for the support you will give me

First of all I'm a French guy so I would like to apologize for my bad English ! I'll try to be as clear as possible.

Sooo...
I recently decided to create a Day of Defeat Dedicated Server for fun on my desktop ( Ubuntu 16.04 LTS ).

In order to do it, I follow this tutorial to run SteamCMD and install all DoD's files in the server's directory.

I use the following command --> ./hlds_run -console -game dod +ip 192.168.1.47 +port 27015 +maxplayers 8 +map dod_avalanche to run my server : All is ok, me and my friends can connect to it

This is the prompt i get after running :

Code:
./hlds_run -console -game dod +ip 192.168.1.47 +port 27015 +maxplayers 8 +map dod_avalanche
Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 30
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.6/Stdio (dod)
Exe build: 13:12:29 Aug 29 2013 (6153)
STEAM Auth Server
Server IP address 192.168.1.47:27015
   
   Metamod version 1.21p37 Copyright (c) 2001-2013 Will Day
     Patch: Metamod-P (mm-p) v37 Copyright (c) 2004-2013 Jussi Kivilinna
   Metamod 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.
   

   AMX Mod X version 1.8.2 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.
  
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
After that, I decided to install Metamod and AMX ModX :

I downloaded the linux binaries Metamod P from this site and put the "metamod.so" in the moddir/addons/metamod/dlls path.
After that, I edit my liblist.gam file like this :
Code:
game "Day of Defeat"
url_info "www.dayofdefeat.net"
url_dl ""
version "1.3"
size "5"
svonly "0"
cldll "1"
secure "1"
hlversion "1110"
type "multiplayer_only"
nomodels "1"
nohimodel "1"
mpentity "info_player_allies"
gamedll "dlls\dod.dll"
gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "dlls/dod.so"
gamedll_linux "addons/metamod/dlls/metamod.so"
detailed_textures "1"
and this is what i get from the meta list command :

Code:
meta version
Metamod v1.21p37  2013/05/30 (5:13)
by Will Day
   http://www.metamod.org/
 Patch: Metamod-P (mm-p) v37
 by Jussi Kivilinna
    http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)

After that, i tried to install AMX Mod X : I took the AMX Mod X Base - v1.8.2 Linux and Day of Defeat Addon - v1.8.2 Linux that I correctly install in the Addons dir ( the base first, the addons after ).
I edit my addons/metamod/plugins.ini with adding this line
Code:
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
, add admin like described in page and you can see in the first prompt above that the AMXX is detected when launching the server and with meta list command :
Code:
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini   Start ANY  
1 plugins, 1 running
But when i prompt amxx plugins and amxx modules there is nothing..
Code:
amxx plugins
Currently loaded plugins:
       name                    version     author            file             status   
0 plugins, 0 running
amxx modules
Currently loaded modules:
      name                    version     author               status     
0 modules, 0 correct
Soo this is where I am blocked, I can't execute any commands, AMXX seems to be running but nothing work.

What could have I miss ? I'm working on it since 3 days and can't fix this alone..
Thank for all the support you are going to give to me


PS : Here is the content of my moddir/addons/amxmodx/configs/plugins.ini file
Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Day of Defeat
stats.amxx		; stats on death or round end (DoD Module required!)
;statssounds.amxx	; precache plugin for stats plugins
stats_logging.amxx	; weapons stats logging (DoD Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

Last edited by Milovic; 07-14-2017 at 20:12.
Milovic is offline
arnalll
Member
Join Date: Nov 2015
Location: France
Old 12-04-2016 , 03:08   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #2

hi,

just check your module.ini config file. it should like a bit like that:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;

fun
engine
fakemeta
geoip
sockets
regex
nvault
dodfun
dodx
hamsandwich
parachute
orpheu
setanimation

If modules are in the list, so try to remove the quote in front of the module name.

arnalll is offline
Milovic
Junior Member
Join Date: Dec 2016
Old 12-04-2016 , 10:16   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #3

Hi Arnall Thank you for your answer !

This is the content of my modules.ini file :

Code:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;dodfun
;dodx
;hamsandwich
So I removed the quotes as you suggest me and this is what I got :

Code:
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini   Start ANY  
 [ 2] DoDX             RUN   -    dodx_amxx_i386.s  v1.8.2    ini   ANY   ANY  
 [ 3] Fun              RUN   -    fun_amxx_i386.so  v1.8.2    pl1   ANY   ANY  
 [ 4] Engine           RUN   -    engine_amxx_i386  v1.8.2    pl1   ANY   ANY  
 [ 5] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2    pl1   ANY   ANY  
 [ 6] DoD Fun          RUN   -    dodfun_amxx_i386  v1.8.2    pl1   ANY   ANY  
 [ 7] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2    pl1   ANY   ANY  
7 plugins, 7 running
Code:
amxx plugins
Currently loaded plugins:
       name                    version     author            file             status   
0 plugins, 0 running
Code:
amxx modules
Currently loaded modules:
      name                    version     author               status     
 [ 1] Fun                     1.8.2       AMX Mod X Dev Team   running    
 [ 2] Engine                  1.8.2       AMX Mod X Dev Team   running    
 [ 3] FakeMeta                1.8.2       AMX Mod X Dev Team   running    
 [ 4] GeoIP                   1.8.2       AMX Mod X Dev Team   running    
 [ 5] Sockets                 1.8.2       HLSW Dev Team        running    
 [ 6] RegEx                   1.8.2       AMX Mod X Dev Team   running    
 [ 7] nVault                  1.8.2       AMX Mod X Dev Team   running    
 [ 8] DoD Fun                 1.8.2       AMX Mod X Dev Team   running    
 [ 9] DoDX                    1.8.2       AMX Mod X Dev Team   pending    
 [10] Ham Sandwich            1.8.2       AMX Mod X Dev Team   running    
10 modules, 9 correct
Modules are now detected but still not working...
Moreover, this is what I get when I try to connect to the server :
Code:
crash_20161204155907_1.dmp[3823]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161204155907_1.dmp
Segmentation fault (core dumped)
crash_20161204155907_1.dmp[3823]: Finished uploading minidump (out-of-process): success = yes
crash_20161204155907_1.dmp[3823]: response: CrashID=bp-1b63b3bc-7e05-402c-b979-46aa22161204
crash_20161204155907_1.dmp[3823]: file ''/tmp/dumps/crash_20161204155907_1.dmp'', upload yes: ''CrashID=bp-1b63b3bc-7e05-402c-b979-46aa22161204''
Works correctly if I unload DoDX . AMXX commands still not working too...

Really don't understand what could be the problem
Milovic is offline
arnalll
Member
Join Date: Nov 2015
Location: France
Old 12-04-2016 , 12:21   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #4

well try to reinstall all amxx stuff both base and dod specific, overwrite files

then launch the server with a command like this:

./hlds_run -autoupdate -game dod -port 27015 +maxplayers 32 +map dod_avalanche -debug

if you still have a core dumped error i think that the server needs some libraries or one module try to access memory that is not available.

look here :https://developer.valvesoftware.com/wiki/SteamCMD:fr
arnalll is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-04-2016 , 19:21   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #5

Note: I am also running DOD on Ubuntu but I'm on 12.04 IIRC.

First off, you should be using "Metamod 1.21.1-am" which comes with AMX Mod X.

modules.ini is no longer relevant for any of the modules that come with AMX Mod X (and likely most other modules so you don't need to edit modules.ini yet; get the AMX Mod X core working before doing so). They will automatically load when a plugin uses them. So, if they aren't loading then that means plugins are not loading which means that the AMX Mod X core is not working.

This is what I use to launch my server (I'm quite sure you don't need the -console because in Linux, console mode is the only mode that exists):

Code:
./hlds_run -game dod +maxplayers 30 +map dod_kalt +ip localhost +port 27015
So, I would probably start over and use Metamod 1.21.1-am. Oh and after downloading, copy the whole HLDS folder that you get from Valve to a backup location so that you can easily go back to a pristine version without redownloading. I probably have 6 to 10 copies in various states .
__________________

Last edited by fysiks; 12-04-2016 at 19:26.
fysiks is offline
arnalll
Member
Join Date: Nov 2015
Location: France
Old 12-05-2016 , 15:52   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #6

mine is on Ubuntu Server 16.04 "Xenial Xerus"
metamod 1.3p38
amxx 1.8.3 dev+5057

please note that this metamod version is a modded one for sven co op, original last metamod p works flawlessly for me.

also i give you what i've added in server to enable sturmbot again:

sudo dpkg --add-architecture i386
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install libc6-dev-i386

after that you may need this libstdc++2.10-glibc2.2_2.95.4-27_i386.deb
arnalll is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-05-2016 , 21:12   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #7

If you use AMX Mod X 1.8.2, I found that there was an error in the hamdata.ini for DOD servers on Linux. Replace yours with this one:
Attached Files
File Type: ini hamdata.ini (40.9 KB, 409 views)
__________________
fysiks is offline
Milovic
Junior Member
Join Date: Dec 2016
Old 12-06-2016 , 15:27   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #8

Hi everybody ! Thank you for all your answers

Let's get back to the work !

Soo I've started by using Arnall's command ./hlds_run -autoupdate -game dod -port 27015 +maxplayers 32 +map dod_avalanche -debug that give's me the same error like above...
I went to https://forums.alliedmods.net/newrep...te=1&p=2475499 and installed the packages : this it what I had ( packages was already installed, and still not working )

Code:
sudo apt-get install lib32gcc1 libstdc++6 libstdc++6:i386 
[sudo] Mot de passe de trailovic*: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
lib32gcc1 is already the newest version (1:6.0.1-0ubuntu1).
libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.4).
libstdc++6:i386 is already the newest version (5.4.0-6ubuntu1~16.04.4).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.
So as Fysiks adviced me, I return to the AMXX site in order to get Metamod v1.21.1-am (all OSes) and at the same time downloading again the AMX Mod X Base - v1.8.2 Linux Day of Defeat Addon - 1.8.2 Linux for AMX .
Even with that, I get the sames problems...

I tried Arnall's commands
Code:
sudo dpkg --add-architecture i386
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install libc6-dev-i386
all was already correctly installed
I downloaded and installed the libstdc++2.10-glibc2.2_2.95.4-27_i386.deb , nothing changes...

Finally I replaced my hamdata.ini with yours, and still not working

Code:
./hlds_run -autoupdate -game dod -port 27015 +maxplayers 32 +map dod_avalanche -debug +ip 127.0.0.1
Enabling debug mode
Auto-restarting the server on crash
Could not locate steam binary:steamcmd/steamcmd.sh, ignoring.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 30
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.6/Stdio (dod)
Exe build: 13:12:29 Aug 29 2013 (6153)
STEAM Auth Server
Server IP address 127.0.0.1:27015
   
   Metamod version 1.21.1-am  Copyright (c) 2001-2013 Will Day <[email protected]>
   Metamod 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.
   

   AMX Mod X version 1.8.2 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.
  
stray key in process_key: objectcollisionbox 12
stray key in process_key: item_getiteminfo 66
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
crash_20161206211431_1.dmp[8695]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161206211431_1.dmp
Segmentation fault (core dumped)
email debug.log to [email protected]
mardi 6 décembre 2016, 21:14:45 (UTC+0100): Server restart in 10 seconds
crash_20161206211431_1.dmp[8695]: Finished uploading minidump (out-of-process): success = yes
crash_20161206211431_1.dmp[8695]: response: CrashID=bp-27c2ab13-9bf2-4dba-9a1e-b2a4a2161206
crash_20161206211431_1.dmp[8695]: file ''/tmp/dumps/crash_20161206211431_1.dmp'', upload yes: ''CrashID=bp-27c2ab13-9bf2-4dba-9a1e-b2a4a2161206''
Really don't know how to go further, will trying with some others versions of MetaMod and AMXX later ( having some internet issues this days )

Some other ideas ??

Last edited by Milovic; 12-06-2016 at 16:44.
Milovic is offline
Milovic
Junior Member
Join Date: Dec 2016
Old 12-13-2016 , 14:59   Re: [DoD] Dedicated Server & AMXX
Reply With Quote #9

Hello everybody !

My Network is back, so I was able to work on the DoD serv and guess what... ??
I think that my problem is solved !!

Remember my liblist.gam file ?

Code:
game "Day of Defeat"
url_info "www.dayofdefeat.net"
url_dl ""
version "1.3"
size "5"
svonly "0"
cldll "1"
secure "1"
hlversion "1110"
type "multiplayer_only"
nomodels "1"
nohimodel "1"
mpentity "info_player_allies"
gamedll "dlls\dod.dll"
gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "dlls/dod.so"
gamedll_linux "addons/metamod/dlls/metamod.so"
detailed_textures "1"
I just had to remove the bold line and everything started to work !!

Code:
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini   Start ANY  
 [ 2] DoDX             RUN   -    dodx_amxx_i386.s  v1.8.2    pl1   ANY   ANY  
 [ 3] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2    pl1   ANY   ANY  
3 plugins, 3 running
Code:
amxx list
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] Admin Base              1.8.2       AMXX Dev Team     admin.amxx       running  
 [  2] Admin Commands          1.8.2       AMXX Dev Team     admincmd.amxx    running  
 [  3] Admin Help              1.8.2       AMXX Dev Team     adminhelp.amxx   running  
 [  4] Slots Reservation       1.8.2       AMXX Dev Team     adminslots.amxx  running  
 [  5] Multi-Lingual System    1.8.2       AMXX Dev Team     multilingual.am  running  
 [  6] Menus Front-End         1.8.2       AMXX Dev Team     menufront.amxx   running  
 [  7] Commands Menu           1.8.2       AMXX Dev Team     cmdmenu.amxx     running  
 [  8] Players Menu            1.8.2       AMXX Dev Team     plmenu.amxx      running  
 [  9] Maps Menu               1.8.2       AMXX Dev Team     mapsmenu.amxx    running  
 [ 10] Plugin Menu             1.8.2       AMXX Dev Team     pluginmenu.amxx  running  
 [ 11] Admin Chat              1.8.2       AMXX Dev Team     adminchat.amxx   running  
 [ 12] Anti Flood              1.8.2       AMXX Dev Team     antiflood.amxx   running  
 [ 13] Scrolling Message       1.8.2       AMXX Dev Team     scrollmsg.amxx   running  
 [ 14] Info. Messages          1.8.2       AMXX Dev Team     imessage.amxx    running  
 [ 15] Admin Votes             1.8.2       AMXX Dev Team     adminvote.amxx   running  
 [ 16] NextMap                 1.8.2       AMXX Dev Team     nextmap.amxx     running  
 [ 17] Nextmap Chooser         1.8.2       AMXX Dev Team     mapchooser.amxx  running  
 [ 18] TimeLeft                1.8.2       AMXX Dev Team     timeleft.amxx    running  
 [ 19] Pause Plugins           1.8.2       AMXX Dev Team     pausecfg.amxx    running  
 [ 20] Stats Configuration     1.8.2       AMXX Dev Team     statscfg.amxx    running  
 [ 21] DoD Stats               1.8.2       AMXX Dev Team     stats.amxx       running  
 [ 22] Stats Logging           1.8.2       AMXX Dev Team     stats_logging.a  running  
 [ 23] DOD_FieldMedic          2.0         Vet(3TT3V)        dod_fieldmedic.  running  
23 plugins, 23 running
Code:
amxx modules
Currently loaded modules:
      name                    version     author               status     
 [ 1] DoDX                    1.8.2       AMX Mod X Dev Team   running    
 [ 2] FakeMeta                1.8.2       AMX Mod X Dev Team   running    
2 modules, 2 correct
So I think that it's ok for me

There is one more thing that I want to aks : What does mean this line and how to fix her ?
Code:
Could not locate steam binary:steamcmd/steamcmd.sh, ignoring.
EDIT : Fixed error

Thank you guys !

Last edited by Milovic; 12-15-2016 at 18:33.
Milovic is offline
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 20:02.


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