Skip to content

Options parameter of server_params doesn't work in the XML files #19

@rocco27

Description

@rocco27

It is a very-very old issue. I already reported to DieFeM before and he said he will check it, but he is inactive...

In the xml files we have cli_params, reserve_ports, replace_texts, server_params and custom_fields where we can use options="" for first two and for the rest to allow or disallow to use space and queries or nothing beetwen the server parameters and values.

The options work everywhere instead of server_params. Did it ever worked? Is it a bug or?
Here is an for example:

  <server_params>
   <param key="?ModID=" type="text" id="MODID">
      <default></default>
      <caption></caption>
      <options></options>
      <desc>Set Mods.</desc>
    </param>
  </server_params>

Then I have this in the server startup command line:
TheCenter?listen?Multihome=XXX.XXX.XXX.XXX?Port=XXXX?QueryPort=XXXX?MaxPlayers=XXX?ServerAdminPassword=XXXXXXXX ?ModID= "1234567" -server -log

So when I use nothing I have space and quotes for MoDID parameter. It doesn't matter what I set, it is always forced to use a space and quotes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions