Another, Annoying Segmentation

themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
Allright, i'll lay out the facts..

I'm running Metamod 1.17. Not the fixed version, either the ones from modns.org or anywhere else I leeched them from. I've tryed it with the LATEST amx, i think 0.9.4j? or something? same thing..

Since I had this type of problem before on my cs1.5, I copied the same things, reconfiged it.

At the moment now it has the NON-Fixed Metamod 1.17 from modns.org, the NS2AMX file from modns.org, running AMX 0.9.3... I tried disabling all the plugins in Metamod.

Now. I've tryed every fixed version out that I've seen for metamod fixes for NS... neither work, when I try using AMX (AMX fan.. representin'! hehe)

And it still gives me the darn error...

(I've deleted custom.hpk, i've made notice of valve dir's that needed ex: hlds_l/./valve/SAVE)

Any clue.. at all.. or maybe if someone might give me a metamod I haven't played with on my server that is fixed?..

BTW: I'm running Redhat 9 Linux.

Thanks.

Comments

  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    Try disabling every plugin (including metamod), and restarting the server. If it works, then reload metamod, and load each plugin one at a time.

    Also, if you're using a stock metamod 1.17, then are you running the hlds with the "+localinfo mm_gamedll dlls/ns_i386.so" or what not? Also you should note that if you use stock metamod, you will not be able to drop catalyst packs in standard NS.
  • themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
    edited January 2004
    Works smooth without metamod, with the regular .so gamedll, of course.

    I tried adding that +localinfo line.. no spark. I only ran Metamod by itself, and it gave it. Course, its the metamod, but why all versions i've tested with?


    Edit: by gave it, the segmentation error.

    Thanks
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    Any chance you can paste the last couple of lines before it segfaults?
  • themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
    edited January 2004
    Sure:

    [wtcs@air391 hlds_l]$ ./hlds_run -game nsp +exec server.cfg +ip 69.64.34.186 +port 27017 +maxplayers 12 +map co_faceoff +localinfo mm_gamedll addons/metamod/dlls/mm_ns2amx_i386.so
    Auto detecting CPU
    Using AMD Optimised binary.
    Auto-restarting the server on crash

    Console initialized.
    Protocol version 47
    Exe version 1.1.2.0/Stdio (valve)
    Exe build: 19:55:53 Jan 13 2004 (2637)
    STEAM Auth Server
    couldn't exec language.cfg
    Server IP address 69.64.34.186:27017

    Metamod version 1.16.2b Copyright © 2001-2003 Will Day <willday@metamod.org>
    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.

    ./hlds_run: line 412: 8861 Segmentation fault $HL_CMD
    Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
    Fri Jan 30 23:23:18 CST 2004: Server restart in 10 seconds


    (with AMX) -^^

    Also another note, I don't have the glib's for -debug, but i've seen other cases on other forums of this type of error just shows the cmd executed, and yada yada.. but if' its helpful for you, i'll start getting it on to get the log.

    Another note: Im now using a copy of the metamod of 1.16.2b, from

    Metamod 1.16.2b (OR: updated metamod 1.16.2 for NS 3.0 Beta 1)
    by disq@ehore.com

    Now, if you want, I can reup the 1.17, or the mayhem .so files for MM 1.17. (there are 2, one regular named, and one with b, not sure which is the difference, read up it was 2 different compiles.)

    [EDIT]: I've tryed what I could find for MM fix'es of NS.. so i'm not that sure.

    Thanks.
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    [wtcs@air391 hlds_l]$ ./hlds_run -game nsp +exec server.cfg +ip 69.64.34.186 +port 27017 +maxplayers 12 +map co_faceoff +localinfo mm_gamedll addons/metamod/dlls/mm_ns2amx_i386.so

    Ok...

    Try this instead:

    ./hlds_run -game nsp +exec server.cfg +ip 69.64.34.186 +port 27017 +maxplayers 12 +map co_faceoff +localinfo mm_gamedll dlls/ns_i386.so
  • themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
    [wtcs@air391 hlds_l]$ ./hlds_run -game nsp +exec server.cfg +ip 69.64.34.186 +port 27017 +maxplayers 12 +map co_faceoff +localinfo mm_gamedll dlls/ns_i386.so
    Auto detecting CPU
    Using AMD Optimised binary.
    Auto-restarting the server on crash

    Console initialized.
    Protocol version 47
    Exe version 1.1.2.0/Stdio (valve)
    Exe build: 19:55:53 Jan 13 2004 (2637)
    STEAM Auth Server
    couldn't exec language.cfg
    Server IP address 69.64.34.186:27017

    Metamod version 1.16.2b Copyright © 2001-2003 Will Day <willday@metamod.org>
    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.

    ./hlds_run: line 412: 8909 Segmentation fault $HL_CMD
    Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
    Fri Jan 30 23:30:39 CST 2004: Server restart in 10 seconds


    No luck.. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    If this is with 0 plugins, I'm stumped.

    Otherwise, please post your metamod/plugins.ini, and addons/amx/modules.ini and addons/amx/plugins/plugins.ini, if you don't mind.
  • themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
    I took out all plugins, and still same... I'll paste them now.

    [modules.ini -> metamod]
    linux addons/amx/dlls/amx_mm_i386.so
    linux addons/metamod/dlls/mm_ns2amx_i386.so

    [plugins.ini -> amx/plugins]
    ; admin base (required for any admin-related)
    admin.amx

    ; basic admin console commands
    admincmd.amx

    ; help command for admin console commands
    adminhelp.amx

    ; basic admin menus
    adminmenu.amx

    ; slot reservation
    adminslots.amx

    ; console chat commands
    adminchat.amx

    ; vote commands
    adminvote.amx

    ; prevent clients from chat-flooding the server
    ;antiflood.amx

    ; displays a scrolling message
    scrollmsg.amx

    ; displays information messages
    imessage.amx

    ; console motd @ client connection
    ;welcomemsg.amx

    ; allows to pause and unpause some plugins
    ppause.amx


    ; deluxe chat
    deluxechat.amx
    ; killfix
    killfix.amx

    weaponpickup.amx
    ammodrop.amx
    amoryheal.amx
    ns_teamcommands.amx
    ns_statusbar.amx
    admin_restartround.amx
    admin_slap_2.amx
    admin_slay_2.amx

    [modules.ini -> amx]
    ; AMX LogD
    ; must be declarated in MetaMod and AMX
    ;addons/amx/dlls/logd_ms.dll
    ;addons/amx/dlls/logd_ms_i386.so

    ; MySQL access
    ;addons/amx/dlls/mysql_ms.dll
    ;addons/amx/dlls/mysql_ms_i386.so

    ; More functions for modifications in HL
    ; must be declarated in MetaMod and AMX
    ;addons/amx/dlls/fun_ms.dll
    ;addons/amx/dlls/fun_ms_i386.so

    ; Rcon and Query
    ;addons/amx/dlls/udp_ms.dll
    ;addons/amx/dlls/udp_ms_i386.so


    Thanks.
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    edited January 2004
    Try this:

    Remove "linux addons/metamod/dlls/mm_ns2amx_i386.so" from your addons/metamod/plugins.ini.

    Add "addons/metamod/dlls/mm_ns2amx_i386.so" to your addons/amx/modules.ini.

    There's a problem with ns2amx when it's loaded from metamod's plugins file, but it works when loaded with modules.ini. Other than that, I don't know what to tell you. If it still crashes, try removing all amx plugins, and if that works, load them one at a time. Also be sure to try loading plain amx without ns2amx.

    (The above is if it crashes only with plugins loaded...)
  • themaSkthemaSk Join Date: 2004-01-29 Member: 25681Members
    Viola! It must of been the NS2AMX.. I looked threw the helpfiles but notthing seemed to hit me it wasnt for metamod, but the filename itself.. it just says mm in the filename which i thought was for metamod. Thank you very much for your time, [mahn]sawce. I appreciate it. Thank you again.
  • sawcesawce Join Date: 2002-12-14 Member: 10787Members
    edited January 2004
    Heh, you're welcome. I've really got to update ns2amx's help files... :/

    I'd recommend trying to update to a newer metamod now, or you'll run into a load of other issues.

    (NS2AMX technically is for metamod, but it requires AMX, it's an AMX module.)
Sign In or Register to comment.