Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
/ dayzservlet Public archive

A python-flask implementation of the servlet used for the legacy versions of DayZ.

License

Notifications You must be signed in to change notification settings

doge/dayzservlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DayZServlet

A python-flask implementation of the servlet used for the legacy versions of DayZ.

This has only been tested on version 0.44.123800.

What does this do?

Older versions of DayZ Standalone make post/get requests to certain endpoints that relate to the saving, killing and creation of players. DayZServlet replicates these endpoints in order to allow you to play legacy versions of DayZ with player saves. Instead of storing data in a MySQL database like how the game normally does it, I decided to use MongoDB as it is easier and faster to use.

Endpoints
/DayZServlet/lud0/find
/DayZServlet/lud0/load
/DayZServlet/lud0/create
/DayZServlet/lud0/save
/DayZServlet/lud0/queue
/DayZServlet/lud0/kill
/DayZServlet/world/get
/DayZServlet/world/add
/DayZServlet/world/remove
/DayZServlet/world/count

Running DayZServlet

First, you wil need to configure config.py so it is setup with the credentials to your MongoDB instance.

Then, run these commands;

pip install -r requirements.txt

python server.py

Then, in your init.sqf file in your mission, add this line at the bottom;

dbSelectHost "http://localhost:5000/DayZServlet/";

About

A python-flask implementation of the servlet used for the legacy versions of DayZ.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages