Create server dialog box

Discussion in 'Deferred Bugs' started by complete_, Jan 6, 2013.

  1. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    1. Default server name still says "Empires 2.2"

    2. Any changed settings in the "game" tab are disregarded and are instead loaded from "common/empires/empires/cfg/listenserver.cfg"
    reproduction steps:
    • create server, go to game tab
    • try and change any settings (comm vote, reinforcements) and start game
    • you'll see that nothing has changed




    also small thing: all those txt files (credits, mapcycle, readme) in the empires root folder are not updated
     
  2. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    I updated server.cfg to say 2.4 but I changed it from 2.30, so your 2.2 issue must be coming from somewhere else.
     
  3. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    Would it be possible do add a sv_lan 0 or something similiar to allow testing of maps online?
     
  4. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    well i guess its just part of the problem of it ignoring everything then
     
  5. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    he's talking about the settings.scr file, it creates a copy of what they should be in a txt file too, note the empires 2.2 there :P

     
  6. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    So that's what that file is.























































    Fuck.
     
  7. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Man I knew this since HL2DM FOR SHAME TRICKSTER
     
  8. Jephir

    Jephir ALL GLORY TO THE JEPHIR

    Messages:
    1,409
    Likes Received:
    6
    Trophy Points:
    0
    Is this a code issue? Or something that needs to be fixed in SVN?
     
  9. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    SVN. It's my department I think.
     
  10. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Fixed the 2.2/2.4 display thing, but I think Jephir will need to fix the listenserver.cfg thing. It could be that it's not set as a user definable file.
     
  11. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    listenserver.cfg works?
    I changed the name and sv_lan 0 in it and it works..
     
  12. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    i think its code since whatever is in settings.scr is being ignored
     
  13. Jephir

    Jephir ALL GLORY TO THE JEPHIR

    Messages:
    1,409
    Likes Received:
    6
    Trophy Points:
    0
    Listen servers load their config from listenserver.cfg. I'm not sure what the purpose of settings.scr is.
     
  14. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    its purpose is for this:
    [​IMG]
     
  15. Jephir

    Jephir ALL GLORY TO THE JEPHIR

    Messages:
    1,409
    Likes Received:
    6
    Trophy Points:
    0
  16. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    Yeah that seems to be right.

    Simple way to test this.

    settings.scr gives servername as: Empires 2.2. listenserver.cfg gives servername as Empires v2.30.
    Create a server with the default values (Empires 2.2 in the create server dialogue box, this will then say Empires v2.30 as the servername when you start the game)

    Therefore I assume that these files work in the following way:

    1. Settings.scr contains the 'default' settings that you see when opening the create server dialogue box.
    2. The game uses listenserver.cfg to set the actual server settings.

    Therefore I presume (I could be wrong) that listenserver.cfg should be getting updated from the values in the create server dialogue, but they arent which is why servers are always created with default values (even if you change the settings in the create server screen)
     
  17. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Updated listenserver.cfg to say 2.41, did the same to settings.scr when I realised people will only see this when we release 2.41.

    So Lamer, is the issue that it's not listening to what you fill in using the GUI before create server, or that it's not even listening to what you fill in on listenserver.cfg?
     
  18. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    its not listening to what i fill in using the GUI
     
  19. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    But if you change the listenserver.cfg, it works?
     
  20. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    bingo. but its pretty unintuitive
     

Share This Page