lastchaos.sql
file into your MariaDB instance. This will set up the necessary database structure for the server..env
file with your database connection details. npm install
in your terminal. This will install all the necessary dependencies for the project.npm run loginserver
npm run gameserver
This server is currently based on the following client: | Version | Nation | Release date |
---|---|---|---|
1107 | USA | 07.2008 |
You can download it here.
Update the connection details in the sl.dta
file. You can do this using the LastChaosDTA editor.
start bin/Nksp.exe 6574
.test
:test
to log in.py ./tools/packet-sniffer.py --version <clientVersion> --packdefault <true/false>
Dumps sent/received packets into msglog.txt
. The file is saved in your client directory. \
You need to have Python and Frida installed pip install frida
to use it.
npm run tools/export-packet-definition <jsonfileName> <MessageType.h>
Export packet definitions from official sources into .json
file.
npm run tools/convert-packet-dump <packetDefinitionsFilePath> <packetDumpFilePath>
Converts first two bytes (which should be type and subtype) of every dumped packet in msglog.txt
file into packet definition names.
log.txt
created by this this libraryYou can download the patched game-ready files here:
Replace these files in the Bin
folder.