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-10-13 00:00:00Z and 2019-10-14 00:00:00Z
Avatar
I think this problem is solved, but this may be a little hack, I don't know the effect of this if-else condition. !2019-10-12-12-27-ScreenShot2
Avatar
Ryozuki: here?
14:14
Line 62 of entity.cpp looks very much like undefined behaviour
Avatar
ChillerDragon 2019-10-13 14:18:18Z
is the enevelopes synchronization feature removed?
Avatar
I don't think so
Avatar
ChillerDragon 2019-10-13 14:33:40Z
do i have to activate a config or something?
14:34
because during my tests i could not get the synced enevelopes reset they were happily continuing in their animation state no matter what my timer did
Avatar
There isn't really any sane behaviour here, so I just avoided the infinite loop. You shouldn't be in the wall to begin with :P
Avatar
idk how envelopes work at all
Avatar
ChillerDragon 2019-10-13 14:37:34Z
there is this checkbox if the envelope is synced or not and usually synced envelopes are bound to the game timer. So you could use the startline to reset animations. I actually used that in a map. But now it doesnt seem to have a effect
Avatar
well given i don't remember any change, you can either find someone who does, or bisect to find at which version this happened
Avatar
ChillerDragon 2019-10-13 14:38:35Z
yea
Avatar
The whole afktimer code is quite ugly. I might rework it at a later date. For now this looks like an acceptable fix.
15:18
I wasn't even sure if we should fix this tbh, but might aswell have the discussion here.
Avatar
@Learath2 why closed?
Avatar
iirc the issues raised in there were fixed
Avatar
i dont think so
Avatar
Is binary still unplayable?
Avatar
no but lunar base is
15:44
unless there was a fix that i missed
Avatar
what's the issue? did you add the mapbug command to enable double explosions?
Avatar
yes, didnt help
Avatar
I don't see how it can not help 😛
15:51
@jao you added mapbug grenade-doublexplosion@ddnet.tw to the config?
15:52
its not emulating the old behavior correctly
Avatar
But it works for binary?
15:54
there is no way it's not emulating the behaviour correctly, it explodes twice, it's not a very complex behaviour 😛
Avatar
it doesnt work as it used to on binary either
Avatar
Oh I think I see the issue there
15:56
@jao can you test a fix? I can't land a double explosion to begin with 😛
Avatar
im not good enough either xd
15:58
i can try tho
Avatar
Just by looking at the code I think this is what was intended but only testing can make sure.
Avatar
@Im 'corneum
Avatar
yes
Avatar
I think we should also store the SHA256 in the demo, but I'm not sure how to upgrade the demo format.
Avatar
Oh we are so relying on undefined behaviour with those demo headers, there is no guarantee that you can read a struct from one implementation on another
Avatar
because of padding or endianness?
21:11
if it's just padding, add a static_assure
Avatar
padding and endianness both I guess
Avatar
most structs that are written to files consist of chars only. integers are packed into the chars so endianess shouldn't be a problem. and padding should not be an issue either when you only have chars but yeah... proper serialization would be better
Avatar
padding should not be an issue on most implementations
23:18
but what if someone compiles ddnet for some exotic ancient computer that requires weird alignment? 😛
23:22
3e7cf12 Clamp ping to 999. Fix #1651 - Learath2 93ef46f Merge #1937 - bors[bot]
Exported 52 message(s)