doge / dayzservlet Goto Github PK
View Code? Open in Web Editor NEWA python-flask implementation of the servlet used for the legacy versions of DayZ.
License: GNU General Public License v3.0
A python-flask implementation of the servlet used for the legacy versions of DayZ.
License: GNU General Public License v3.0
I am currently attempting to use this servlet on DayZ 0.44.123800. I want to start by hosting the database locally to ensure save functionality so I've installed MongoDB and have the daemon running. I connect to it with MongoDB Compass and create a "dayz" database, and "players" collection. I configure my credentials in config.py
and start the server with server.py
. It is then specified in my init.sqf
as http://localhost:5000/DayZServlet
The Python server is listening to and detects API calls from the game. The MongoDB instance detects a new connection from CPython when I launch the save server. When the game server attempts to save, the save server will report "Saved player" for that UID. The next intended behavior would be for it to find my character and retrieve it from the database, however, after disconnecting (which triggers another save) and reconnecting, the console message I receive is "player not found" for my particular UID. It appears that everything is working except the data is not being committed to my MongoDB instance.
How does this servlet currently know how to store variables such as pos_x
, items
, etc? I don't see any of these entries being referenced in this repository. Am I missing a piece of the puzzle?
I've tried this on clean copies of DayZ 0.44, 0.45, and 0.46 (the version you had tested) and all of them produce the same result, so I don't believe there's anything wrong with my mission files. If there's any other info I can provide to get this issue resolved please let me know and I appreciate any assistance you might have to offer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.