Hilfe mit Rebirth

05/17/2013 21:38 TTSG#1
wiso bekomme ich den error:Source\Source\_Interface\FuncTextCmd.cpp(536 0): error C2065: 'TextCmd_rebirth' : undeclared identifier
Quote:
///////////////////////////////////////////////// AUTH_GENERAL begin/////////////////////////////////////////////////////
ON_TEXTCMDFUNC( TextCmd_whisper, "whisper", "w", "귓속말", "귓", TCM_SERVER, AUTH_GENERAL , "귓속말 [/명령 아이디 내용]" )
ON_TEXTCMDFUNC( TextCmd_say, "say", "say", "말", "말", TCM_SERVER, AUTH_GENERAL , "속삭임 [/명령 아이디 내용]" )
ON_TEXTCMDFUNC( TextCmd_Position, "position", "pos", "좌표", "좌표", TCM_CLIENT, AUTH_GENERAL , "현재 좌표를 출력해준다." )
#ifdef __REBIRTH
ON_TEXTCMDFUNC( TextCmd_rebirth, "rebirth", "rb", "텔레포트", "텔레", TCM_SERVER, AUTH_GENERAL , "텔레포트" )
#endif
ON_TEXTCMDFUNC( TextCmd_shout, "shout", "s", "외치기", "외", TCM_BOTH , AUTH_GENERAL , "외치기 [/명령 아이디 내용]" )
ON_TEXTCMDFUNC( TextCmd_PartyChat, "partychat", "p", "극단말", "극", TCM_BOTH , AUTH_GENERAL , "파티 채팅 [/명령 내용]" )
ON_TEXTCMDFUNC( TextCmd_Time, "Time", "ti", "시간", "시", TCM_CLIENT, AUTH_GENERAL , "시간 보기 [/시간]" )
// ON_TEXTCMDFUNC( TextCmd_ChangeFace, "ChangeFace", "cf", "얼굴변경", "얼변", TCM_BOTH , AUTH_GENERAL , "얼굴 변경" )
ON_TEXTCMDFUNC( TextCmd_GuildChat, "GuildChat", "g", "길드말", "길말", TCM_BOTH, AUTH_GENERAL , "길드말" )
ON_TEXTCMDFUNC( TextCmd_PartyInvite, "PartyInvite", "partyinvite", "극단초청", "극초", TCM_SERVER, AUTH_GENERAL , "극단 초청" )
ON_TEXTCMDFUNC( TextCmd_GuildInvite, "GuildInvite", "guildinvite", "길드초청", "길초", TCM_SERVER, AUTH_GENERAL , "길드 초청" )
#if __VER >= 15 // __CAMPUS
ON_TEXTCMDFUNC( TextCmd_CampusInvite
05/17/2013 23:49 FunkyJustice#2
Quote:
4. geht in die FuncText.cmd und added unter

Code:
BOOL TextCmd_ClearPropose( CScanner & s )
{
#ifdef __WORLDSERVER
CUser* pUser = (CUser*)s.dwValue;
g_dpDBClient.SendClearPropose();
#endif // __WORLDSERVER
return TRUE;
}das

Code:
#ifdef __REBIRTH
BOOL TextCmd_rebirth( CScanner& scanner )
{
#ifdef __WORLDSERVER
CUser *pUser;
pUser = (CUser*)scanner.dwValue;
if(pUser->m_nLevel >= 150 && pUser->IsLegendHero())
{
pUser->InitLevelRebirth( pUser->m_nJob-16,60);
}
else
pUser->AddText("You do not have the right level for a Rebirth!");
#endif
return TRUE;
}
#endif
hast du das reingemacht? Evtl versioncomon vergessen?