Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2020-10-17 00:00:00Z and 2020-10-18 00:00:00Z
Avatar
i’m perma stuck at 277 points
02:29
i just did a map and didn’t gain any points
Avatar
idk if it was fixed but my points are now added
Avatar
yes sometimes it takes a bit for points to register
Avatar
Can interact with other on solo server rn
14:04
Nobody is solo on that server wtf
14:08
Hm doesn't work on other servers
14:09
165.227.139.80:8312
Avatar
gogogo r1feelsamazingman
Avatar
why u can collide with other player on solo server?
Avatar
@Learath2 @deen
14:19
seems like sv_solo_server 1 isn't applied
Avatar
maybe the server has an intel gpu
14:51
are the servers running with ubsan btw?
Avatar
Ubsan slows them down, so no
14:53
@louis all solo maps or just that map?
Avatar
well only a bit, and u dont need to run all with ubsan (edited)
Avatar
idk @Learath2 just this server the map hasnt been changed so idk
Avatar
Port and server pls
Avatar
How to update ddnet in androidhappy
Avatar
Other maps too @Learath2
Avatar
@Learath2
15:15
check ddnet client
Avatar
@Deleted User i wanted to run 1 server on GER2 with ubsan and one with asan to detect some more problems
15:26
@ZhakkoDyys we have removed android support from ddnet client, no updates available
feelsbadman 1
15:27
I'll actually try the ubsan/asan now
Avatar
@Deleted User ger2.ddnet.tw:8305 is now asan, ger2.ddnet.tw:8309 ubsan, even got the first report when I joined with some divisions by zero (edited)
Avatar
we should deffs fix the one caused by targetx and targety
15:54
the problem is smth / 0.0 = inf and 0.0 * inf = nan
15:55
so normalizing should be carefully done
Avatar
/home/teeworlds/src/master/src/base/vmath.h:106:17: runtime error: division by zero #0 0x545572 in vector2_base<float> normalize<float>(vector2_base<float> const&) /home/teeworlds/src/master/src/base/vmath.h:106:17 #1 0x7091b2 in CCharacterCore::Tick(bool) /home/teeworlds/src/master/src/game/gamecore.cpp:130:25 #2 0x510354 in CCharacter::Tick() /home/teeworlds/src/master/src/game/server/entities/character.cpp:772:9 #3 0x5e828e in CGameWorld::Tick() /home/teeworlds/src/master/src/game/server/gameworld.cpp:261:11 #4 0x58bb90 in CGameContext::OnTick() /home/teeworlds/src/master/src/game/server/gamecontext.cpp:751:10 #5 0x4aeb9e in CServer::Run() /home/teeworlds/src/master/src/engine/server/server.cpp:2544:19 #6 0x4c139d in main /home/teeworlds/src/master/src/engine/server/server.cpp:3537:21 #7 0x7fe9d9b8609a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) #8 0x4504f9 in _start (/home/teeworlds/servers/DDNet-Server-ubsan+0x4504f9) /home/teeworlds/src/master/src/game/gamecore.cpp:474:16: runtime error: division by zero #0 0x70d555 in CCharacterCore::Move() /home/teeworlds/src/master/src/game/gamecore.cpp:474:16 #1 0x515827 in CCharacter::TickDefered() /home/teeworlds/src/master/src/game/server/entities/character.cpp:817:9 #2 0x5e84ee in CGameWorld::Tick() /home/teeworlds/src/master/src/game/server/gameworld.cpp:269:11 #3 0x58bb90 in CGameContext::OnTick() /home/teeworlds/src/master/src/game/server/gamecontext.cpp:751:10 #4 0x4aeb9e in CServer::Run() /home/teeworlds/src/master/src/engine/server/server.cpp:2544:19 #5 0x4c139d in main /home/teeworlds/src/master/src/engine/server/server.cpp:3537:21 #6 0x7fe9d9b8609a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) #7 0x4504f9 in _start (/home/teeworlds/servers/DDNet-Server-ubsan+0x4504f9)
Avatar
division by zero is well defined by the floating point standard tho, its really 0 * inf
15:56
but i'd prefer finite math tho
15:56
finite math is the most robust thing you can do 😄
Avatar
do you want to look into a fix or should I? (edited)
Avatar
i can start with the NaNs i had in my pr
Avatar
Дядя Женя 2020-10-17 22:00:54Z
22:01
https://ddnet.tw/countryflags/COL.png
Avatar
thanks, fixed
Avatar
the problem is smth / 0.0 = inf and 0.0 * inf = nan
This is how shotgun launch works though (two tees stand inside each other and one of them fires shotgun)
23:01
when the game tries to calculate the direction in which to accelerate the other tee, it gets NaN and when NaN gets casted into int (inside a function called quantize, I think) it gets a value of INT_MIN. This launches the tee up and left (although horizontal movement is dampened by ramp).
23:03
@Deleted User fyi ^
23:10
Idk if it this bug is necessary to complete any maps. It's necessary to get to a chill area in a gores-like map that starts with a big waterfall, but I can't remember the name.
Avatar
i know
Avatar
its necessary for cheats
Avatar
well maybe fix it and enable it for all maps where spec is enabled for example
Avatar
isnt rule 1 of ddnet "dont change the physics"
Avatar
@Fireball ah thanks for explaining why it first moves vertically and then horizontally ^^
👍 1
Avatar
grenade was changed too wasnt it
Avatar
we could preserve the behavior, while fixing the NaN/inf usage. Just set the speed to -inf if a shotgun hits someone at the same position.
Avatar
why not fixing it at all
23:16
it makes more problem than the opposite (edited)
23:16
(except for few maps)
Avatar
If we want to keep -inf behavior, we could consider keeping it for every map. It's less code and more consistent from the players side.
23:21
grenade was changed too wasnt it
I don't remember any tricks like that with the grenade
Avatar
puhh, need to search for a pr, thought heinrich changed smth but could be wrong
Avatar
ah, you mean we changed grenade behavior in the past?
23:22
as a response to the comment about changing physics?
Exported 63 message(s)