Guild icon
DDraceNetwork
Development / developer
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 2020-04-05 00:00:00Z and 2020-04-06 00:00:00Z
Avatar
I still believe there is something else going on. The state machine is not save. Try adding this line maybe? It improved things on my server. I believe it takes multiple tries to connect because it enters incorrect state. https://github.com/unique-clan/unique-race/blob/master/src/engine/server/register.cpp#L308
The state-machine-like code in the server that handles the registration at the masterservers in engine/server/register.cpp didn't reallly change between 0.6 and 0.7 but it's still broken. It can get into the REGISTERSTATE_HEARTBEAT and REGISTERSTATE_REGISTERED states with the m_RegisterRegisteredServer (which holds the id of the master server we are connected to: 0-3) set to -1.
@timakro
The Unique Race modification of DDNet. Contribute to unique-clan/unique-race development by creating an account on GitHub.
05:20
It's incredibly annoying to debug because this whole connection sequence depends on latency and you must try multiple times to get the bug I also believe it occurs more frequently on high latency to the masterserver. And every test you must wait multiple minutes. But whatever: the unconditional state transitions on receiving packets are dangerous
Avatar
@timakro not that I've checked but you know the invalid state, is it not obvious where the state is entered?
Avatar
Hello guys ! Thanks for the game 👍 I played last night and I had a lot of fun with the "Just2Easy" map :) I want to share to you my feedback about https://ddnet.tw/:
  • It seems you are intentionnaly hiding the documentation / help. Setup the server with a maps accessible for newbies was a true challenge. May be you're doing it intentionally because you love difficulty ^^ Otherwise It would be nice to have at least a README.md in the archive we download AND a page "Getting started" in the left menu (a doc for dummies).
  • I was so happy to find this repo https://github.com/ddnet/ddnet-maps ! I think it should be highlighted from https://ddnet.tw/. I think also that this repo deserve a better documentation.
That's it for my feedback, thanks for reading and thanks a lot once again for this game ! Good luck 💪
Avatar
i dont think its intentional
08:09
you just need common sense
Avatar
Thanks for the feedback, I think I agree with all of those
08:11
Well except for the website one. Don't we have a settings and commands link?
Avatar
I think its even on the sidebar
Avatar
Or were you asking for something more akin to a getting started. Like download zip, unpack zip, edit autoexec_server.cfg?
Avatar
he wanted probs to setup a sv with the map votes
08:12
u could have went to https://github.com/ddnet
Online game with a server network and unique cooperative gameplay - DDNet (DDraceNetwork)
08:12
and u can find anything
Avatar
The map votes are quite tough to set up
Avatar
i dont think so
08:13
the ddnet-maps repo
08:13
already has everything i think
08:14
yep
Avatar
Ok I will clarify what I would have expected from a "Getting started" page. 1 - How to get and start the game. This part contain actions to do, step by step, to get into the game. It should says at the end "Run DDNet to start the game.". It could also explain what is inside the archive content, or refer to the archive readme if there is one. 2- How to run a the server with a map for beginners. When I started the server for the first time, the map was way too hard for us... I didn't know how to get an easy map from the archive I've just downloaded. I was happy to find this repo https://github.com/ddnet/ddnet-maps and looking forward in "maps" see the "novices" directory! Do we need this repo to get easy maps ? I don't know. May be what is in the archive is enough, can't say... 3- That's it ! Here you refer additional ressources, link to server settings / custom commandes, and additionnal advanced documentation. I hope I have been more clear in this message. Have a good day 😎
Avatar
@Constantin ddnet is open source! Go to the web repo and make all this you said! Dont wait for others to do it! poggers
08:45
"How to get and start the game." well maybe this is a bit too much for dummies lol
Avatar
ChillerDragon 2020-04-05 08:53:28Z
I guess join official ddnet servers and vote a random easy map
08:53
Or ask around on how to create a server if you get stuck
Avatar
@Constantin The problem is that DDNet is the name for two different things. The network of servers we host and the teeworlds mod. The maps are part of the network of servers.
09:12
We only ship a single ddnet map in the package and that's Kobra 4
09:13
Maybe we could streamline the process of downloading a map, e.g. a map browser on the website with links to download
👍 1
Avatar
If you want I can make a draft on the github wiki of one of these projects : https://github.com/ddnet Let me know if you want me to do it and on which repo I should do it.
Avatar
@deen do we link curl statically on macOS?
09:21
if so the version we are linking lacks https support
09:24
@heinrich5991 I'm just horrible with cmake, could you please fix the macOS issues? You can ssh into my computer, or vnc if you prefer to see what you are doing
Avatar
ChillerDragon 2020-04-05 09:25:19Z
lez hax learath
09:26
@Constantin do it on https://github.com/teeworlds/teeworlds (edited)
Avatar
Dont...
Avatar
ChillerDragon 2020-04-05 09:57:53Z
:d
Avatar
@Learath2 See the link with the highlighted line, the line below is where it enters the invalid state. This if statement I added should fix that, but I'm not sure if it fixes the connection issues entirely, this all seems very dependent on timing.
13:08
I only tested that with the unique race source and it seems like I changed something else while adding 0.7 support which made it worse. But before hiding error messages I'd start with investigating if this problem also occurs on vanilla. It might be the cause of those ""WARNING: Master server is not responding, switching master" log messages which occasionally appeared in the server logs of teeworlds servers for years.
13:10
The Unique Race modification of DDNet. Contribute to unique-clan/unique-race development by creating an account on GitHub.
13:10
Sometimes it showed -1 for me
Exported 40 message(s)