Menu

#8 Windows server config files incorrect

nQuake
open
Empezar
None
5
2015-05-20
2015-01-19
mushis
No

nQuakesv
Windows

the config files on Windows nQuakeSV are incorrect and incomplete :S
on my tests:
k_allowed_free_modes, k_defmap were empty

which rendered the server unplayable as noone could change settings.

Discussion

  • mushis

    mushis - 2015-01-20

    the changes i've made to "correct" bug #8 caused this.
    (i've moved stuff from ktx.cfg to portx.cfg)

    the analysis i've made:
    the downloaded distfiles for nQuakeSV windows are:
    sv-bin-win32
    sv-configs
    sv-gps
    sv-maps
    sv-maps-gpl
    sv-non-gpl
    sv-win32

    ignoring the others:
    sv-configs -> contains most of the KTX config files
    sv-gpl -> contains the remaining config files.

    on sv-gpl there's port-x.cfg
    which looks like this:

    // server info
    hostname                        "NQUAKESV_HOSTNAME" // server name shown in server browsers
    sv_admininfo                    "NQUAKESV_ADMIN" // admin name shown in server browsers
    sv_serverip                     "NQUAKESV_IP" // listen to this ip
    qtv_streamport                  "NQUAKESV_PORT" // stream qtv to this tcp port
    
    // motd (max 15 rows) - this is the welcome message displayed when you connect to a server
    set k_motd1                     "NQUAKESV_HOSTNAME"
    set k_motd2                     " "
    set k_motd3                     "Available game modes:"
    set k_motd4                     "1on1, 2on2, 4on4, 10on10, ffa, ctf"
    //set k_motd5                     "line 5" // etc..
    
    set k_motd_time                 "5" // time motd is displayed in seconds
    
    // edit the lines below if you want different gamemodes on this port
    // matchless mode
    set k_matchless                 0               // run ktx as a regular match server or as a matchless (ffa) server (0 = regular, 1 = matchless)
    set k_use_matchless_dir         1               // use configs/usermodes/matchless instead of [...]/ffa (0 = no, 1 = yes)
    
    // free modes
    set k_defmode                   2on2            // default mode on server
    set k_allowed_free_modes        255             // allowed free modes (bit mask):
                                                    //  1=1on1, 2=2on2, 4=3on3, 8=4on4, 16=10on10, 32=ffa 64=ctf 128=hoonymode
    set k_defmap                    dm4             // server homemap. server will change to this when last player leaves the server
    set k_mode                      2               // server mode (1 = duel, 2 = team, 3 = ffa, 4 = ctf)
    
    ~~~~~~~~
    
    EVERYTHINGS FINE ON THE DISTFILES
    
    BUT
    
    on the installed files (nquakesv), ktx/port1.cfg has stuff missing! It's the stuff i moved from ktx.cfg:
    

    // server info
    hostname "Mushi nQuake KTX #28501" // server name shown in server browsers
    sv_admininfo "Mushi Mushi@example.com" // admin name shown in server browsers
    sv_serverip "localhost" // listen to this ip
    qtv_streamport "28501" // stream qtv to this tcp port

    // motd (max 15 rows) - this is the welcome message displayed when you connect to a server
    set k_motd1 "Mushi nQuake KTX #28501"
    set k_motd2 " "
    set k_motd3 "Available game modes:"
    set k_motd4 "1on1, 2on2, 4on4, 10on10, ffa, ctf"
    //set k_motd5 "line 5" // etc..

    set k_motd_time "5" // time motd is displayed in seconds

    ~~~~~~

    its missing lines!

    so for some reason the actual port files created are incomplete.

    there must be something wrong with the windows installer
    it doesn't happen on linux.

     

    Last edit: mushis 2015-01-20
  • Empezar

    Empezar - 2015-01-20

    portx.cfgs are entirely written by windows installer: http://i.imgur.com/Q6dqra0.png

    Nothing strange here. You decided to change the structure of nQuake - it breaks.

    You need to revert your changes and rethink your solution or start updating the installers - not just the config files.

     
  • mushis

    mushis - 2015-05-20

    yes.

    fixed

     

Log in to post a comment.