Thread: choose liblist.gam

Results 1 to 10 of 10
  1. #1
    Server Owner Enrory's Avatar
    Join Date
    Dec 2016
    Location
    Austria
    Posts
    111

    choose liblist.gam

    Hello

    Is it possible to choose a custom liblist.gam file.
    I use multiconfig and need this. pls

  2. #2
    Registered User
    Join Date
    Nov 2011
    Posts
    37

    Re: choose liblist.gam

    I don't see any point of separating liblist.gam - nor did you state any scenario to "why".

    I assume this is because you want to separate Metamod from each server.
    If so, then you have to use +gamedll file.dll in the startup parameter for each server.

    For example:
    +game svencoop +map example -dll addons\metamod\dlls\metamod.dll
    EDIT: Corrected parameter.
    Last edited by Rick; 16-08-2018 at 09:16 AM.

  3. #3
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [uk]
    Posts
    8,514

    Re: choose liblist.gam

    I agree with Rick. You are not supposed to be modifying liblist.gam. Custom server binaries should be specified with the "+gamedll" argument, which you could make multi-choice with an external script/launcher.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  4. #4
    Server Owner Enrory's Avatar
    Join Date
    Dec 2016
    Location
    Austria
    Posts
    111

    Re: choose liblist.gam

    thanks for fast answer.

    I tried it now with this config for amxx server:
    ./svends_run -game svencoop +map sc_psyko +maxplayers 32 +localinfo mm_gamedll addons/metamod/dlls/metamod.so
    (for linux)

    The liblist file is default file.
    But the server ignore the start parametre and load the default system.
    do i some mistake?

    Edit: ./svends_run -game svencoop +map sc_psyko +maxplayers 32 +localinfo mm_gamedll_linux addons/metamod/dlls/metamod.so

    this line not work too
    Last edited by Enrory; 15-08-2018 at 02:27 PM.

  5. #5
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [uk]
    Posts
    8,514

    Re: choose liblist.gam

    Did you try "+gamedll" as I suggested?
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  6. #6
    Server Owner Enrory's Avatar
    Join Date
    Dec 2016
    Location
    Austria
    Posts
    111

    Re: choose liblist.gam

    Yes i tried a lot of starts.

    ./svends_run -game svencoop -port 28320 +map sc_psyko +maxplayers 32 +localinfo mm_gamedll addons/metamod/dlls/metamod.so
    ./svends_run -game svencoop -port 28320 +map sc_psyko +maxplayers 32 +gamedll addons/metamod/dlls/metamod.so
    .....

    server use only the liblist.gam

  7. #7
    Registered User
    Join Date
    Nov 2011
    Posts
    37

    Re: choose liblist.gam

    Ah, my mistake. It should be +gamedll
    But yea, it doesn't work for some reason. Tested myself.

    There is a way to use different plugins.ini file though, but it will still use the same metamod.so/dll
    If that isn't a problem for you, then:
    Examples:
    +localinfo mm_pluginsfile addons/metamod/plugins_server1.ini
    +localinfo mm_pluginsfile addons/metamod/plugins_server2.ini
    +localinfo mm_pluginsfile servers/server1/metamod_plugins.ini
    EDIT:
    -dll addons\metamod\dlls\metamod.dll
    works
    Last edited by Rick; 16-08-2018 at 09:16 AM.

  8. #8
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [uk]
    Posts
    8,514

    Re: choose liblist.gam

    Oh actually it was probably meant to be `+gamedll_linux` in your case.

    I just looked at some of my Windows servers, they use `+gamedll` OK, but as it's a liblist override it'll need to specify the "_linux" suffix on that. -- Just tried `-dll`, that works too.

    I don't use Metamod any more but when I did I redirected a plug-ins INI file using `+localinfo mm_pluginsfile "profiles/adamhome1/metamod_plugins.ini"` and `+localinfo amxx_cfg "profiles/adamhome1/core.ini"` in my command arguments.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  9. #9
    Server Owner Enrory's Avatar
    Join Date
    Dec 2016
    Location
    Austria
    Posts
    111

    Re: choose liblist.gam

    -dll addons\metamod\dlls\metamod.so looks to work but come this log.
    If i start from liblist.gam it starts.

    Server logging data to file logs/2018-08-20.log
    L 20/08/2018 - 12:59:53: Log file started (file "logs/2018-08-20.log") (game "svencoop") (version "48/5.0.0.0/7744")
    logaddress_add: 88.198.27.9:34114
    Server IP address 176.9.155.153:28320

    Metamod version 1.3p38 Copyright (c) 2001-2013 Will Day
    Patch: Metamod-P (mm-p) for SvenCoop 5.0 v38 Copyright (c) 2004-2016 JonnyBoy0719
    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.

    L 20/08/2018 - 12:59:53: [META] Metamod v1.3p38 2016/01/30
    L 20/08/2018 - 12:59:53: [META] by Will Day
    L 20/08/2018 - 12:59:53: [META] http://www.metamod.org/
    L 20/08/2018 - 12:59:53: [META] Patch: Metamod-P (mm-p) for SvenCoop 5.0 v38
    L 20/08/2018 - 12:59:53: [META] by JonnyBoy0719
    L 20/08/2018 - 12:59:53: [META] https://github.com/jonnyboy0719/MetaMod-P/tree/unstable
    L 20/08/2018 - 12:59:53: [META] compiled: Jan 30 2016, 07:33:27 EET (optimized)
    L 20/08/2018 - 12:59:53: [META] Recognized game 'svencoop'; using dllfile 'hl_i386.so'
    ==================
    Game DLL version mismatch
    DLL version is 140, engine version is 140
    The game DLL for svencoop appears to be outdated, check for updates
    ==================
    Host_Error:

    L 20/08/2018 - 12:59:53: FATAL ERROR (shutting down): Host_Error:


    FATAL ERROR (shutting down): Host_Error:
    EDIT: i have now added a line = +localinfo mm_gamedll dlls/server.so
    now it works i dont understand why but it work.

    Looks now: -dll addons/metamod/dlls/metamod.so +localinfo mm_gamedll dlls/server.so

    Thanks for help
    Last edited by Enrory; 20-08-2018 at 06:14 AM.

  10. #10
    Registered User
    Join Date
    Nov 2011
    Posts
    37

    Re: choose liblist.gam

    Quote Originally Posted by Enrory View Post
    -dll addons\metamod\dlls\metamod.so looks to work but come this log.
    If i start from liblist.gam it starts.



    EDIT: i have now added a line = +localinfo mm_gamedll dlls/server.so
    now it works i dont understand why but it work.

    Looks now: -dll addons/metamod/dlls/metamod.so +localinfo mm_gamedll dlls/server.so

    Thanks for help
    That's because your Metamod is looking for hl_i386.so under "dlls/", since Sven Co-op has renamed it to server.so, metamod fail to find the game binary file.
    You can rename server.so to hl_i386.so if you wish, that will work too, but Metamod need to updated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •