nlohmann/json
or Tencent/rapidjson
asapVERSION_DDNET_ANTIPING_PROJECTILE
, because we need a clientside prediction for this now, which will then be that version, so they dont reset for new ddnet clients.ConUserCommandStatus
instead of calling access_status
with IConsole::ACCESS_LEVEL_USER
, call it with m_AccessLevel
CGameContext::OnMessage
seems to be setting it properly before executing chat commandsConsole()->SetFlagMask(CFGFLAG_CHAT);
CONSOLE_COMMAND("super", "?v[id]", CFGFLAG_SERVER|CFGFLAG_CHAT|CMDFLAG_TEST, ConSuper, this, "Makes player v super", AUTHED_ADMIN)
Register
without introducing any behavioral changeserrornous client id
m_TrailProjs[i]->m_Pos += (m_TrailHistory[HistoryPos + 1].m_Pos - m_TrailProjs[i]->m_Pos)*(AdditionalLength / NextDist);
why does this line crash in latest ddnet but not in ddnet 9.0.2CRegister
?IMasterServer
GetServerList
RegisterUpdate
is borderline legal CHRegister
that handles that stuff, but then it'd need access to the internals of CHMasterServer
CHClientMaster
and a CHServerMaster
that implement the same interface?CMasterServer
before was just involved with doing a DNS lookup for the master serversSTATE_LIVE
CURLOPT_SSL_CTX_FUNCTION
and print the cert outexport PATH="/usr/local/opt/openssl/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"