Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories β IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-12-18 00:00:00Z and 2018-12-19 00:00:00Z
download git, make new directory, rightclick "open git bash here"
type
git clone --recursive https://github.com/ddnet/ddnet
download cmake
open cmake gui
source directory must be the directory that was created by the git command, output directory can be the directory/build
click configure -> Visual studio 2017 64
click generate
go into the "build" directory:
there is a DDNet.sln, open, be happy
is it possible to make something like a "smooth reload" where you save all player and character variables in a file/db and you reload the map (for example if you add some new stuff -> extend the map) without the need of a server shutdown so all the vars get loaded after the smooth restart again. it would ofc be announced like 30 sec before it happens with a countdown to warn people, but is something like this possible? ive tried soimething to keep the client in the connecting phase (i do a map reload, and while its reloading i shut the server down (works pretty good) but the bad thing is, this "connecting to IP" is not a real connecting phase, even if the server goes online again it wont connect as its just a screen that gets displayed when the map changes.)
For mappers will be nice to have possibility to fast try their changes on map. I suggest to have reload which keep players and their states(collision, endless, weapons, etc) on their previous. Like...
18:34
If you want toi finish up what I started
18:35
if you want to restart the server then you'll need to save to a file and fork/execve or something along those lines and reload the data