• 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!

Compile Finished Successfully but dont run?

Devhir

A bit of Everything
Joined
Jul 22, 2008
Messages
135
Reaction score
0
Guys i successfully compiled the sources i edited, but now when i replace my .exe file with the new one, it doesnt doesnt run :(

anyone knows why?
 
I get lots of errors when trying to compile.

Code:
[U]../commands.cpp:34:19: ioban.h: No such file or directory
../commands.cpp:85: error: `squelch' is not a member of `Commands'
../commands.cpp:86: error: `changeThingProporties' is not a member of `Commands'
../commands.cpp:87: error: `showBanishmentInfo' is not a member of `Commands'

../commands.cpp:91: error: `playerFrags' is not a member of `Commands'
../commands.cpp:109: error: `sendTo' is not a member of `Commands'
../commands.cpp: In constructor `Commands::Commands()':
../commands.cpp:124: error: 'struct Command' has no member named 'loadedAccess'
../commands.cpp:125: error: 'struct Command' has no member named 'accessLevel'
../commands.cpp:126: error: 'struct Command' has no member named 'loadedLogging'
../commands.cpp:127: error: 'struct Command' has no member named 'logged'
../commands.cpp: In member function `bool Commands::loadFromXml()':
../commands.cpp:166: error: 'struct Command' has no member named 'loadedAccess'
../commands.cpp:168: error: 'struct Command' has no member named 'accessLevel'
../commands.cpp:169: error: 'struct Command' has no member named 'loadedAccess'
../commands.cpp:179: error: 'struct Command' has no member named 'loadedLogging'
../commands.cpp:181: error: 'struct Command' has no member named 'logged'
../commands.cpp:182: error: 'struct Command' has no member named 'loadedLogging'
../commands.cpp:205: error: 'struct Command' has no member named 'loadedAccess'
../commands.cpp:210: error: 'struct Command' has no member named 'loadedLogging'
../commands.cpp: In member function `bool Commands::reload()':
../commands.cpp:224: error: 'struct Command' has no member named 'accessLevel'
../commands.cpp:225: error: 'struct Command' has no member named 'loadedAccess'
../commands.cpp:226: error: 'struct Command' has no member named 'logged'
../commands.cpp:227: error: 'struct Command' has no member named 'loadedLogging'
../commands.cpp: In member function `bool Commands::exeCommand(Creature*, const std::string&)':
../commands.cpp:257: error: 'struct Command' has no member named 'accessLevel'
../commands.cpp:257: error: 'class Player' has no member named 'getAccessLevel'
../commands.cpp:259: error: 'class Player' has no member named 'getAccessLevel'
../commands.cpp:268: error: 'struct Command' has no member named 'logged'
../commands.cpp: In member function `bool Commands::teleportMasterPos(Creature*, const std::string&, const std::string&)':
../commands.cpp:399: error: no matching function for call to `Game::getClosestFreeTile(Player*&, Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: In member function `bool Commands::teleportHere(Creature*, const std::string&, const std::string&)':
../commands.cpp:435: error: no matching function for call to `Game::getClosestFreeTile(Creature*&, const Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: In member function `bool Commands::reloadInfo(Creature*, const std::string&, const std::string&)':
../commands.cpp:582: error: 'class Houses' has no member named 'reloadPrices'
../commands.cpp: In member function `bool Commands::teleportToTown(Creature*, const std::string&, const std::string&)':
../commands.cpp:637: error: no matching function for call to `Game::getClosestFreeTile(Player*&, const Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: In member function `bool Commands::teleportTo(Creature*, const std::string&, const std::string&)':
../commands.cpp:666: error: no matching function for call to `Game::getClosestFreeTile(Player*&, const Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp:702: error: no matching function for call to `Game::getClosestFreeTile(Player*&, Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: At global scope:
../commands.cpp:720: error: no `bool Commands::sendTo(Creature*, const std::string&, const std::string&)' member function declared in class `Commands'
../commands.cpp: In member function `bool Commands::sendTo(Creature*, const std::string&, const std::string&)':
../commands.cpp:742: error: no matching function for call to `Game::getClosestFreeTile(Player*&, Position&)'

../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: In member function `bool Commands::getInfo(Creature*, const std::string&, const std::string&)':
../commands.cpp:774: error: 'class Player' has no member named 'getAccessLevel'
../commands.cpp:774: error: 'class Player' has no member named 'getAccessLevel'

../commands.cpp: In member function `bool Commands::teleportNTiles(Creature*, const std::string&, const std::string&)':
../commands.cpp:848: error: no matching function for call to `Game::getClosestFreeTile(Player*&, Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)
../commands.cpp: In member function `bool Commands::kickPlayer(Creature*, const std::string&, const std::string&)':
../commands.cpp:871: error: 'class Player' has no member named 'getAccessLevel'
../commands.cpp:871: error: 'class Player' has no member named 'getAccessLevel'
../commands.cpp: In member function `bool Commands::sellHouse(Creature*, const std::string&, const std::string&)':
../commands.cpp:916: error: `HOUSE_BUY_AND_SELL' is not a member of `ConfigManager'
../commands.cpp:936: error: `LEVEL_TO_BUY_HOUSE' is not a member of `ConfigManager'

../commands.cpp:951: error: `HOUSES_PER_ACCOUNT' is not a member of `ConfigManager'
../commands.cpp:952: error: 'class Houses' has no member named 'getHousesCount'

../commands.cpp: In member function `bool Commands::buyHouse(Creature*, const std::string&, const std::string&)':
../commands.cpp:1068: error: `HOUSE_BUY_AND_SELL' is not a member of `ConfigManager'
../commands.cpp:1080: error: `HOUSES_PER_ACCOUNT' is not a member of `ConfigManager'

../commands.cpp:1081: error: 'class Houses' has no member named 'getHousesCount'

../commands.cpp:1101: error: `HOUSE_NEED_PREMIUM' is not a member of `ConfigManager'
../commands.cpp:1103: error: `LEVEL_TO_BUY_HOUSE' is not a member of `ConfigManager'
../commands.cpp:1106: error: 'class House' has no member named 'getPrice'
../commands.cpp:1108: error: 'class House' has no member named 'getPrice'
../commands.cpp:1108: error: 'class House' has no member named 'getPrice'

../commands.cpp: In member function `bool Commands::changeFloor(Creature*, const std::string&, const std::string&)':
../commands.cpp:1159: error: no matching function for call to `Game::getClosestFreeTile(Player*&, Position&)'
../game.h:371: note: candidates are: Position Game::getClosestFreeTile(Player*, Creature*, Position, bool)

../commands.cpp: In member function `bool Commands::joinGuild(Creature*, const std::string&, const std::string&)':
../commands.cpp:1317: error: `INGAME_GUILD_MANAGEMENT' is not a member of `ConfigManager'

../commands.cpp: In member function `bool Commands::createGuild(Creature*, const std::string&, const std::string&)':
../commands.cpp:1358: error: `INGAME_GUILD_MANAGEMENT' is not a member of `ConfigManager'

../commands.cpp:1367: error: `MIN_GUILDNAME' is not a member of `ConfigManager'
../commands.cpp:1368: error: `MAX_GUILDNAME' is not a member of `ConfigManager'
../commands.cpp:1376: error: `LEVEL_TO_FORM_GUILD' is not a member of `ConfigManager'

../commands.cpp: In member function `bool Commands::unban(Creature*, const std::string&, const std::string&)':

../commands.cpp:1419: error: `IOBan' has not been declared
../commands.cpp:1419: error: `getInstance' was not declared in this scope
../commands.cpp:1421: error: `IOBan' has not been declared

../commands.cpp:1427: error: `IOBan' has not been declared
../commands.cpp:1429: error: `IOBan' has not been declared

../commands.cpp: At global scope:
../commands.cpp:1446: error: no `bool Commands::playerFrags(Creature*, const std::string&, const std::string&)' member function declared in class `Commands'

../commands.cpp: In member function `bool Commands::ghost(Creature*, const std::string&, const std::string&)':

../commands.cpp:1489: error: 'class Player' has no member named 'canSeeGhost'

../commands.cpp:1508: error: 'class Player' has no member named 'canSeeGhost'

../commands.cpp:1519: error: 'class Player' has no member named 'canSeeGhost'

../commands.cpp: At global scope:
../commands.cpp:1531: error: no `bool Commands::squelch(Creature*, const std::string&, const std::string&)' member function declared in class `Commands'
../commands.cpp: In member function `bool Commands::squelch(Creature*, const std::string&, const std::string&)':
../commands.cpp:1535: error: 'class Player' has no member named 'switchPrivMsgIgnore'
../commands.cpp:1537: error: 'class Player' has no member named 'isIgnoringPrivMsg'

../commands.cpp: At global scope:
../commands.cpp:1546: error: no `bool Commands::changeThingProporties(Creature*, const std::string&, const std::string&)' member function declared in class `Commands'

../commands.cpp: In member function `bool Commands::changeThingProporties(Creature*, const std::string&, const std::string&)':

../commands.cpp:1582: error: 'class Item' has no member named 'setName'

../commands.cpp:1584: error: 'class Item' has no member named 'setPluralName'
../commands.cpp:1586: error: 'class Item' has no member named 'setArticle'

../commands.cpp:1588: error: 'class Item' has no member named 'setAttack'

../commands.cpp:1590: error: 'class Item' has no member named 'setExtraAttack'

../commands.cpp:1592: error: 'class Item' has no member named 'setDefense'
../commands.cpp:1594: error: 'class Item' has no member named 'setExtraDefense'
../commands.cpp:1596: error: 'class Item' has no member named 'setArmor'
../commands.cpp:1598: error: 'class Item' has no member named 'setAttackSpeed'
../commands.cpp:1600: error: 'class Item' has no member named 'setHitChance'
../commands.cpp: At global scope:
../commands.cpp:1665: error: no `bool Commands::showBanishmentInfo(Creature*, const std::string&, const std::string&)' member function declared in class `Commands'
../commands.cpp: In member function `bool Commands::showBanishmentInfo(Creature*, const std::string&, const std::string&)':
../commands.cpp:1673: error: `IOBan' has not been declared
../commands.cpp:1673: error: `getInstance' was not declared in this scope
../commands.cpp:1676: error: `IOBan' has not been declared
../commands.cpp:1679: error: `IOBan' has not been declared
../commands.cpp:1682: error: `IOBan' has not been declared
../commands.cpp:1684: error: `IOBan' has not been declared
../commands.cpp:1687: error: `IOBan' has not been declared
../commands.cpp:1687: error: `IOBan' has not been declared
../commands.cpp:1687: error: `IOBan' has not been declared
../commands.cpp:1691: error: `IOBan' has not been declared
../commands.cpp:1694: error: `IOBan' has not been declared
../commands.cpp:1697: error: `IOBan' has not been declared
../commands.cpp:1700: error: `IOBan' has not been declared
../commands.cpp:1703: error: `IOBan' has not been declared
../commands.cpp:1703: error: `IOBan' has not been declared
../commands.cpp:1703: error: `IOBan' has not been declared

make.exe: *** [obj//commands.o] Error 1

Execution terminated[/U]
 
ok so i compiled and got everything running, then my serevr satrts giivng ou these message.

Code:
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
eature::updateTileCache out of range.
 
Back
Top Bottom