Hi
I've been adding HP and AP by the FPS in life bar but when I compile I get this error and do not know how to fix it: /
sorry for my english![]()
Hi
I've been adding HP and AP by the FPS in life bar but when I compile I get this error and do not know how to fix it: /
sorry for my english![]()
Go down to the line :p
See where it says unexpect end of file found, line 4293? Double click that, it'll take you to the error.
the error is in line 1 but as I indicated arlado tells me in 4193 and I will line it and it is the last line and this added a symbol}
Bump help me :(
I believe your missing a "}" somewhere, just look over the last place you edited on that cpp and see if you forgot to close it somewhere
The last line I added is this
Line: 1252
I have been soZGameClient* pGameClient = ZGetGameClient();
if (pGameClient->GetExtra())
{
ZCharacter* pCharacter = ZGetGame()->m_pMyCharacter;
if (pCharacter && !pCharacter->IsDie())
{
MFont* pFont = GetGameFont();
pDC->SetFont(pFont);
pDC->SetColor(MCOLOR(0xFFFFFFFF));
char szMsg[128];
sprintf(szMsg, "HP : %i / %i", (int)pCharacter->GetHP(), (int)pCharacter->GetMaxHP());
TextRelative(pDC, 100.f/800.f, 23.f/600.f, szMsg);
sprintf(szMsg, "AP : %i / %i", (int)pCharacter->GetAP(), (int)pCharacter->GetMaxAP());
TextRelative(pDC, 100.f/800.f, 50.f/600.f, szMsg);
sprintf(szMsg, "FPS : %i", (int)g_fFPS);
TextRelative(pDC, 700.f/800.f, 23.f/600.f, szMsg);
} }
Any help meZGetScreenEffectManager()->DrawMyHPPanal(pDC); // //³ªÀÇ »óÅÂâ(HP°ÔÀÌÁö¹Ù) #ifdef _DEBUG
//HP
ZGameClient* pGameClient = ZGetGameClient();
if (pGameClient->GetExtra())
{
ZCharacter* pCharacter = ZGetGame()->m_pMyCharacter;
if (pCharacter && !pCharacter->IsDie())
{
MFont* pFont = GetGameFont();
pDC->SetFont(pFont);
pDC->SetColor(MCOLOR(0xFFFFFFFF));
char szMsg[128];
sprintf(szMsg, "HP : %i / %i", (int)pCharacter->GetHP(), (int)pCharacter->GetMaxHP());
TextRelative(pDC, 100.f/800.f, 23.f/600.f, szMsg);
sprintf(szMsg, "AP : %i / %i", (int)pCharacter->GetAP(), (int)pCharacter->GetMaxAP());
TextRelative(pDC, 100.f/800.f, 50.f/600.f, szMsg);
sprintf(szMsg, "FPS : %i", (int)g_fFPS);
TextRelative(pDC, 700.f/800.f, 23.f/600.f, szMsg);
}
}
- - - Updated - - -
Fixed
close thread.