lcdr 120366c92d v2017.10.15
- forced new passwords to be different than temp passwords to avoid accidental confirm
- made non-main worlds singleplayer-only
- introduced conflict error context manager
- fixed mail conflict error
- refactored char component
2017-10-15 12:57:24 +02:00
2017-10-15 12:57:24 +02:00
2017-10-15 12:57:24 +02:00
2016-12-02 21:33:12 +01:00
2016-08-05 13:08:38 +02:00
2017-09-06 16:02:05 +02:00
2017-09-06 16:02:05 +02:00

luserver

A LEGO Universe server

Created by lcdr

License: GPL v3

Installation

Dependencies

luserver requires Python 3.6 . Install the dependencies using

pip install -r requirements.txt

or

python -m pip install -r requirements.txt

If you want the server logs to be colorful you can additionally install colorlog.

luserver should be added to PYTHONPATH so python can find it.

Database setup

Before the first run of the server, you'll need to initialize the database. Set the paths to the converted cdclient.sqlite and the client directory in runtime/luserver.ini, then run runtime/db/init.py.

Server startup

Run runtime/__main__.py. This sets up the auth server instance, other instances will be spawned automatically when needed.

The server needs to use port 1001 for auth (hardcoded in the client). On linux this requires root permissions, to be able to start as non-root, execute setcap 'cap_net_bind_service=+ep' /usr/bin/python3.

Description
Python LU server emulator, previously used in lcdr Universe.
Readme 804 KiB
Languages
Python 99.9%