Hallo Community,
Ich bin noch sehr unerfahren aber aus Fehlern lernt man ja ^^
So ich habe den Release

befolgt auch alle Kommentare berücksichtigt, doch habe trotzdem
zwei Probleme/Errors:
1. WndField.cpp bei Neuz building
Error:
C:\Users\********\Source\_Interface\WndField.cpp(4 300): error C2181: illegal else without matching if
Source Eintrag:
else if(checkhero == LEGEND_CLASS_HERO) //¿µ¿õÀÏ °æ¿ì.
{
strPath = MakePath( DIR_ICON, "Legend_Mark.png");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
if(pTexture != NULL)
pTexture->Render( p2DRender, point );
}
int m_nCampusPoint;
#ifdef __REBIRTH
else if(m_nCampusPoint == 1)
{
strPath = MakePath( DIR_ICON, "Rebirth1.png");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//pTexture = g_Neuz.m_pHeroIcon;
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
else if(m_nCampusPoint == 2)
Wenn ich das else wegmache gibt es kein error beim compilen, aber ich denke das dann wenn ich Rebirth Level 1 bin dann kein Icon zusehen ist oder ?
2.WndField.cpp bei World building
error:
C:\Users\******\Source\_Interface\FuncTextCmd.cpp( 2412): error C2248: 'CMover::m_nCampusPoint' : cannot access private member declared in class 'CMover'
Source Eintrag:
#ifdef __REBIRTH
BOOL TextCmd_rebirth( CScanner& scanner )
{
#ifdef __WORLDSERVER
CUser *pUser;
pUser = (CUser*)scanner.dwValue;
if(pUser->m_nCampusPoint >= 5)
{
pUser->AddText("Du hast schon die maximale Anzahl an Rebirths!");
}
Das habe ich selber hinzugeüfgt
Wäre nett wenn ihr mir helfen würdet !!
ich bedank mich schonmal im Voraus

LG Sgd33Sgd