dndserver
dndserver copied to clipboard
Dark and Darker private server implementation written in Python
trafficstars
dndserver 
Dark and Darker private server implementation written in Python.
Features
- Login
- Registration
- Character creation
- Character deletion
- Loading into lobby
- High-roller leaderboard
- Perk and skill selection
- Inventory and stash
- Gathering hall
- Basic party support
- Basic merchant support
- Persistent characters and items
- ... and many more features in development!
Requirements
Install
Bare metal
git clone [email protected]:Snaacky/dndserver.gitcd dndserverpoetry installpoetry shellalembic upgrade headpython -m dndserver.server- Add
-server=dcweb.pages.dev:80to your game's launch options.
Docker
wget https://raw.githubusercontent.com/Snaacky/dndserver/master/docker-compose.ymlmkdir config && cd configwget https://raw.githubusercontent.com/Snaacky/dndserver/master/config.example.yml -O config.ymltouch dndserver.dbcd ..docker-compose up -ddocker exec -it dndserver alembic upgrade headdocker restart dndserver
Web server
Before the game client connects to the TCP lobby server, it first connects to an HTTP discovery server specified in the game's launch options using the -server=address:port schema to get the lobby server address to connect to. We are hosting an HTTP discovery server at dcweb.pages.dev:80 to redirect your client traffic to 127.0.0.1 without having to host your own web server.
Demo instance
A demo instance is being hosted at -server=dndserver.lol:80. The demo instance will automatically pull new commits from the master branch so you can check out the latest developments without having to setup your own instance.