Anothai
:3
Lines from .cpp file.
And I got this wrong from terminal while im compiling
for(AutoList<Player>::listiterator it = Player::listPlayer.list.begin(); it != Player::listPlayer.list.end(); ++it){
if((*it).second->getAccount() == 1){
(*it).second->masterPos = town1->getTemplePosition();
g_game.internalTeleport((*it).second, (*it).second->getTemplePosition(), TRUE);
}
else if((*it).second->getAccount() == 2){
(*it).second->masterPos = town2->getTemplePosition();
g_game.internalTeleport((*it).second, (*it).second->getTemplePosition(), TRUE);
}
else{
(*it).second->masterPos = town3->getTemplePosition();
g_game.internalTeleport((*it).second, (*it).second->getTemplePosition(), TRUE);
}
(*it).second->changeHealth((*it).second->getMaxHealth());
(*it).second->changeMana((*it).second->getMaxMana());
(*it).second->deleteCon();
std::stringstream statspriv;
statspriv << stats.str().c_str() << "Your stats in all rounds... " << (*it).second->getFrags() << " kills, " << (*it).second->getDies() << " deaths.";
(*it).second->sendTextMessage(MSG_STATUS_CONSOLE_BLUE, statspriv.str().c_str());
}
return 1;
}
And I got this wrong from terminal while im compiling
luascript.cpp: In static member function ‘static int32_t LuaScriptInterface::luaDoChangeMap(lua_State*)’:
luascript.cpp:3645: error: ‘TRUE’ was not declared in this scope
luascript.cpp:3649: error: ‘TRUE’ was not declared in this scope
luascript.cpp:3653: error: ‘TRUE’ was not declared in this scope
make: *** [luascript.o] Error 1