public bool -> lowkey fax
uint32_t lcg_parkmiller(uint32_t *state)
{
return *state = (uint64_t)*state * 48271 % 0x7fffffff;
}
uint32_t lcg_parkmiller(uint32_t *state)
{
uint64_t product = (uint64_t)*state * 48271;
uint32_t x = (product & 0x7fffffff) + (product >> 31);
x = (x & 0x7fffffff) + (x >> 31);
return *state = x;
}
C:/msys64/home/Melanin_m/SkyBlock/ddnet_SkyBlock/src/engine/server/server.cpp: In member function 'void CServer::UpdateDebugDummies(bool)':
C:/msys64/home/Melanin_m/SkyBlock/ddnet_SkyBlock/src/engine/server/server.cpp:2690:39: error: 'class IGameServer' has no member named 'm_apPlayers'
2690 | GameServer()->m_apPlayers[ClientID]->m_IsDebugDummy = true;
C:/msys64/home/Melanin_m/SkyBlock/ddnet_SkyBlock/src/engine/server/server.cpp: In member function 'void CServer::UpdateDebugDummies(bool)':
C:/msys64/home/Melanin_m/SkyBlock/ddnet_SkyBlock/src/engine/server/server.cpp:2690:39: error: 'class IGameServer' has no member named 'm_apPlayers'
2690 | GameServer()->m_apPlayers[ClientID]->m_IsDebugDummy = true;
IGameServer
not CGameContext
CGameContext
in the engine there are two options. Either your code doesn't belong in the engine or you need to add a getter method in IGameServer
and implement it in CGameContext
CGameContext
in the engine there are two options. Either your code doesn't belong in the engine or you need to add a getter method in IGameServer
and implement it in CGameContext
IsPlayerDebugDummy
there. That should be finec++
class Foo
{
int a = 0, b = 0, c = 0;
Foo() : a(c + 8), b(a + 3), c(b - 2) {}
}
int b = 0, a = 0, c = 0;
this would change the order, for example2024-03-27 14:49:50 I chat: *** 'Teero' entered and joined the game
2024-03-27 14:49:50 I ddnet: cid=0 version=18010
2024-03-27 14:49:50 I sql: [3] load player data done on read database 0
2024-03-27 14:49:50 I hack: bot detected, cid=0
Chillerdragon: why is that still in there hahahaha xDDD