IsSixup
.
https://github.com/ddnet/ddnet/blob/a79b1265df195b96d4cd5277324fc29f0c17b1ea/src/engine/server/server.h#L449
Out of bounds read (-1).maximum(MaxClients - maximum(g_Config.m_SvSpectatorSlots, g_Config.m_SvReservedSlots), PlayerCount)
how could any of these be uninitialized? the memcheck doesn't make much sense[2020-06-30 16:58:01][server]: player has entered the game. ClientID=0 addr=<{192.168.0.2:63032}> sixup=1
Reset()
caused the server to forgot that the client is sixup on a map change because a rejoin causes a resetNewClientCallback
always sets m_Sixup
ClientIngame
before checking IsSixup
RelWithDebInfo
Reading symbols from ./DDNet-Server...(no debugging symbols found)...done.
using is_sixup = char;
causing is_sixup to evaluate to truec++
template<typename... Ts> struct make_void { typedef void type;};
template<typename... Ts> using void_t = typename make_void<Ts...>::type;
$ grep -r "void_t = "
Binary file datasrc/seven/__pycache__/compile.cpython-34.pyc matches
datasrc/seven/compile.py:template<typename... Ts> using void_t = typename make_void<Ts...>::type;
src/game/generated/protocol7.h:template<typename... Ts> using void_t = typename make_void<Ts...>::type;
ZoomProgress()
?float ScaledProgress = ZoomProgress() * 12 - 6;
float Amount = 1.f / (1.f + exp(-ScaledProgress));
m_Zoom = mix(m_StartZoom, m_TargetZoom, Amount);
0 = 0
so you should be able to change that3de5b3a
Revert "Revert "Explain why the randomly generated save code is used"" - def-m_StartZoom
to m_EndZoom
, and the first derivative is simple enough that we can set the initial speed to be the current speedc352157
Add showothers2@netmsg.ddnet.tw - def-
edba33b
Add Show others (own team only) menu setting - def-
59cf78b
Always recreate the language files in same order - def-
9a87068
Regenerate language files - def-
73dcd08
Update German translation - def-
1cb9454
Rename showothers2 -> showothers - def-
e8feba8
Lost some polish translations by TortiLeq, restore - def-
00673e5
Add hungarian translation by Cellegen (fixes #2428) - def-
0199254
Merge #2398 - bors[bot]a * b_03 + d * b_33