Skip to content

Login Server Configuration

Jokūbas M edited this page Dec 22, 2023 · 2 revisions

Login Server Configuration


0. Requirements

  • Compiled server binaries and a working MariaDB database server (if you do not have at least one yet, please go back to Building and installing page.
  • Text editor(Notepad++ recommended, although Wordpad and Notepad should work aswell, on Windows).

1. Configuration structure

By opening Login Server's configuration file with text editor, which is project_dir/cfg/loginserver.ini you can see some already commented options.

Each section will be explained below.

Network section

In this section all configuration related to the server is kept. That means here you can: change listen port, change log level and etc.

Note: There is no listen ip option. This is because all of the servers are listening on Ip.Any.

  • port - it is listen port which default is 38101.

Client section

In this section all configuration related to the client is kept. That means here you can: change accepted client version, magic key, cash shop url's, etc.

  • client_version - it is accepted client version by the server.
  • magic_key - it is accepted client magic key by the server.
  • ignore_client_version - if this is set then client version and magic key checks are skipped.
  • cashweb_url - url of cash shop.
  • cashweb_odc_url - related to cash shop, unknown at the moment.
  • cashweb_charge_url - related to cash shop, unknown at the moment.
  • guildweb_url - url of guild board web.
  • sns_url - possibly related to the social services in-game: twitter, facebook, etc.

Master section

In this section all configuration related to the master server is kept. That means here you can: change master server's ip and port.

  • ip - ip of the master server.
  • port - port of the master server.

Script section

In this section all configuration related to the scripting engine is kept.

  • directory - directory where scripts are stored.

Clone this wiki locally