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 2019-08-08 00:00:00Z and 2019-08-09 00:00:00Z
Avatar
@Learath2 The problem with the unmasked entities is, that we load the map before we receive a snapshot, so the map displays what was set last, thats why we have to reconnect.
17:18
Maybe we should call OnMapLoad() again when we receive a snapshot, where DONT_MASK_ENTITIES is different than before?
17:24
Okay, we cant do that. It will lag the game as hell :D
Avatar
@fokkonaut is the overlay prerendered?
Avatar
I dont think so, but the Indices are set when we load the map
17:26
So when we load the map, it will look for invalid tiles and set them to 0, so we dont render them.
Avatar
Oh, this'd need quite some work :/
Avatar
I guess we cant just update them
Avatar
Maybe defer the setting of tiles to 0 to when we get the first snapshot?
Avatar
I can try that, but I am not too confident it will work
17:29
This looks like a lot of work, tbh
17:29
Can we maybe send the flag before loading the map?
17:30
Then the client would have its information ready
Avatar
@fokkonaut hmm idk where we'd put it tbh
17:32
Maybe add a function called MapLoadDeferred, which would get called when we get the first snapshot
17:32
Which would go through all tiles and invalidate the ones needed
Avatar
I think it will lag the game, especially on big maps
17:34
It goes through every index
17:35
Imagine it on BlmapChill 😄
17:36
I have an idea.
Avatar
@fokkonaut the first snap gets there pretty quick
17:49
or @heinrich5991 would a server capability for gameinfo be appropriate?
Avatar
I thought of a 3-dimensional vector, which saves the layer, index and position of invalid tiles and if we send the flag, it will go through them and replaces them with their original index. But I didnt find a way to set the index, so that the client renders it.
18:34
Collision()->SetCollisionAt() doesnt make the client render it
Avatar
@Learath2 It would be cool if this was changeable ingame, but not needed
Avatar
GitHub Actions now includes built-in CI/CD. Easily automate how you build, test, and deploy your projects on any platform, including Linux, macOS, and Windows.
21:01
maybe try windows tests
21:01
on this CI
21:01
appveyor is slow af right?
Exported 30 message(s)