• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Error compiling tfs 0.2.11

emil1174

Active Member
Joined
Feb 12, 2012
Messages
87
Reaction score
45
Hello i try compiling tfs 0.2.11 and i have some problem.
PHP:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Wno-deprecated -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c fileloader.cpp
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Wno-deprecated -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c game.cpp
game.cpp:49:23: error: ioaccount.h: No such file or directory
game.cpp:50:22: error: ioplayer.h: No such file or directory
game.cpp: In member function 'void Game::setGameState(GameState_t)':
game.cpp:160: error: no matching function for call to 'Player::kickPlayer()'
player.h:140: note: candidates are: void Player::kickPlayer(bool)
game.cpp: In member function 'void Game::saveGameState()':
game.cpp:183: error: 'saveGameState' is not a member of 'ScriptEnviroment'
game.cpp: In member function 'void Game::loadGameState()':
game.cpp:188: error: 'loadGameState' is not a member of 'ScriptEnviroment'
game.cpp: At global scope:
game.cpp:191: error: prototype for 'int Game::loadMap(std::string, std::string)' does not match any in class 'Game'
game.h:130: error: candidate is: int32_t Game::loadMap(std::string)
game.cpp: In member function 'bool Game::placeCreature(Creature*, const Position&, bool)':
game.cpp:641: error: 'ONLINE_UPDATE' is not a member of 'ConfigManager'
game.cpp:642: error: 'forceOnlineListsave' was not declared in this scope
game.cpp: In member function 'bool Game::playerMoveItem(uint32_t, const Position&, uint16_t, uint8_t, const Position&, uint8_t)':
game.cpp:1077: error: no matching function for call to 'Game::internalMoveItem(Cylinder*&, Player*&, int, Item*&, uint8_t&)'
game.h:261: note: candidates are: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp:1088: error: no matching function for call to 'Map::getPathTo(Player*&, Position&, Position&, std::list<Direction, std::allocator<Direction> >&)'
map.h:254: note: candidates are: bool Map::getPathTo(const Creature*, const Position&, std::list<Direction, std::allocator<Direction> >&, int32_t)
game.cpp:1116: error: no matching function for call to 'Game::internalMoveItem(Cylinder*&, Cylinder*&, uint8_t&, Item*&, uint8_t&)'
game.h:261: note: candidates are: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp: At global scope:
game.cpp:1125: error: prototype for 'ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, uint32_t)' does not match any in class 'Game'
game.h:261: error: candidate is: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp:1796: error: prototype for 'ReturnValue Game::internalTeleport(Thing*, const Position&)' does not match any in class 'Game'
game.h:323: error: candidate is: ReturnValue Game::internalTeleport(Thing*, const Position&, bool)
game.cpp:1817: error: no 'bool Game::anonymousBroadcastMessage(MessageClasses, const std::string&)' member function declared in class 'Game'
game.cpp:1862: error: no 'bool Game::internalBroadcastMessage(Player*, const std::string&)' member function declared in class 'Game'
game.cpp:1977: error: prototype for 'bool Game::playerOpenPrivateChannel(uint32_t, const std::string&)' does not match any in class 'Game'
game.h:370: error: candidate is: bool Game::playerOpenPrivateChannel(uint32_t, std::string)
game.cpp: In member function 'bool Game::playerUseItemEx(uint32_t, const Position&, uint8_t, uint16_t, const Position&, uint8_t, uint16_t, bool)':
game.cpp:2028: error: 'HOTKEYS' is not a member of 'ConfigManager'
game.cpp:2060: error: no matching function for call to 'Game::internalMoveItem(Cylinder*, Player*&, int, Item*&, uint8_t)'
game.h:261: note: candidates are: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp: In member function 'bool Game::playerUseItem(uint32_t, const Position&, uint8_t, uint8_t, uint16_t, bool)':
game.cpp:2100: error: 'HOTKEYS' is not a member of 'ConfigManager'
game.cpp: In member function 'bool Game::playerUseBattleWindow(uint32_t, const Position&, uint8_t, uint32_t, uint16_t, bool)':
game.cpp:2157: error: 'HOTKEYS' is not a member of 'ConfigManager'
game.cpp: In member function 'bool Game::playerWriteItem(uint32_t, uint32_t, const std::string&)':
game.cpp:2342: error: 'class Item' has no member named 'setWrittenDate'
game.cpp:2348: error: 'class Item' has no member named 'resetWrittenDate'
game.cpp: In member function 'bool Game::playerAcceptTrade(uint32_t)':
game.cpp:2532: error: no matching function for call to 'Game::internalMoveItem(Cylinder*&, Player*&, int, Item*&, uint8_t)'
game.h:261: note: candidates are: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp:2533: error: no matching function for call to 'Game::internalMoveItem(Cylinder*&, Player*&, int, Item*&, uint8_t)'
game.h:261: note: candidates are: ReturnValue Game::internalMoveItem(Cylinder*, Cylinder*, int32_t, Item*, uint32_t, Item**, uint32_t)
game.cpp: In member function 'bool Game::playerLookAt(uint32_t, const Position&, uint16_t, uint8_t)':
game.cpp:2738: error: 'class Creature' has no member named 'gmInvisible'
game.cpp:2764: error: 'class Player' has no member named 'getAccessLevel'
game.cpp: At global scope:
game.cpp:2952: error: prototype for 'bool Game::playerSetFightModes(uint32_t, fightMode_t, chaseMode_t, bool)' does not match any in class 'Game'
game.h:398: error: candidate is: bool Game::playerSetFightModes(uint32_t, fightMode_t, chaseMode_t, secureMode_t)
game.cpp: In member function 'bool Game::playerRequestAddVip(uint32_t, const std::string&)':
game.cpp:2975: error: 'IOPlayer' has not been declared
game.cpp: In member function 'bool Game::playerSay(uint32_t, uint16_t, SpeakClasses, const std::string&, const std::string&)':
game.cpp:3081: error: 'internalBroadcastMessage' was not declared in this scope
game.cpp: In member function 'bool Game::playerSayCommand(Player*, SpeakClasses, const std::string&)':
game.cpp:3096: error: 'class Player' has no member named 'getAccessLevel'
game.cpp: In member function 'bool Game::playerYell(Player*, const std::string&)':
game.cpp:3156: error: 'EXHAUSTED' is not a member of 'ConfigManager'
game.cpp:3163: error: 'EXHAUSTED_ADD' is not a member of 'ConfigManager'
game.cpp: At global scope:
game.cpp:3217: error: no 'bool Game::isViewClear(const Position&, const Position&, bool)' member function declared in class 'Game'
game.cpp: In member function 'bool Game::getPathToEx(const Creature*, const Position&, std::list<Direction, std::allocator<Direction> >&, uint32_t, uint32_t, bool, bool, int32_t)':
game.cpp:3312: error: 'class Map' has no member named 'isViewClear'
game.cpp:3353: error: 'isViewClear' was not declared in this scope
game.cpp:3359: error: no matching function for call to 'Map::getPathTo(const Creature*&, Position&, const Position&, std::list<Direction, std::allocator<Direction> >&, int32_t&)'
map.h:254: note: candidates are: bool Map::getPathTo(const Creature*, const Position&, std::list<Direction, std::allocator<Direction> >&, int32_t)
game.cpp: In member function 'void Game::checkCreature(uint32_t)':
game.cpp:3455: error: 'class Creature' has no member named 'onDie'
game.cpp: In member function 'bool Game::combatBlockHit(CombatType_t, Creature*, Creature*, int32_t&, bool, bool)':
game.cpp:3575: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp:3584: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp:3621: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp: In member function 'bool Game::combatChangeHealth(CombatType_t, Creature*, Creature*, int32_t)':
game.cpp:3649: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp: In member function 'bool Game::combatChangeMana(Creature*, Creature*, int32_t)':
game.cpp:3801: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp:3809: error: 'NM_ME_PUFF' was not declared in this scope
game.cpp: At global scope:
game.cpp:4218: error: no 'void Game::checkShutdown(int)' member function declared in class 'Game'
game.cpp:4291: error: no 'void Game::sendRulesBox(const std::string&, Player*)' member function declared in class 'Game'
game.cpp:4658: error: no 'void Game::forceOnlineListsave(int)' member function declared in class 'Game'
make: *** [game.o] Error 1
erana:/home/tfs#
byao34.jpg

Maybe someone help me ?
 
Back
Top