m_apPlayers[MAX_CLIENTS-1 -i]->GetCharacter()
at gamecontext.cpp:1109
. What should I do to be able to use them?m_apPlayers[MAX_CLIENTS-1 -i]->GetCharacter()
at gamecontext.cpp:1109
. What should I do to be able to use them? if (g_Config.m_DbgDummies) {
CNetObj_PlayerInput inp;
CCharacter *ch;
CCharacterCore core;
vec2 pos, vel;
int hs, j, sk;
int i, id;
char inpbuf[256];
for (i = 0; i < g_Config.m_DbgDummies; i++) {
if (!(ch = m_apPlayers[MAX_CLIENTS-1 - i]->GetCharacter()))
continue;
core = ch->GetCore();
pos = core.m_Pos;
vel = core.m_Vel;
hs = core.m_HookState;
j = core.m_Jumps;
if (!(fgets(inpbuf, sizeof inpbuf, infifos[i])))
ferrn("fgets");
sscanf(inpbuf, "%d %d %d %d %d %d",
&inp.m_Direction,
&inp.m_TargetX,
&inp.m_TargetY,
&inp.m_Jump,
&inp.m_Hook,
&sk);
selfkill |= sk;
}
m_apPlayers[MAX_CLIENTS-1 - i]->OnPredictedInput(&inp);
}
Fehler C1033 Programmdatenbank "C:\Users\lukas\ddnet\out\build\x64-Release\CMakeFiles\DDNet.dir\vc140.pdb" kann nicht geöffnet werden C:\Users\lukas\ddnet\out\build\x64-Release\ddnet C:\Users\lukas\ddnet\src\engine\client\sound.cpp 1
anyone knows how to fix it?
edit: nvm, i re-added a build option and now it works (edited)