Jump to content

Kitsune1911

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About Kitsune1911

  • Birthday 01/01/1

Kitsune1911's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. OS: Ubuntu Server 10.10 Keep getting make[4]: Entering directory `/home/kitsune1911/mangos/objdir/src/game/AuctionHouseBot' CXX AuctionHouseBot.o In file included from ../../../../src/game/AuctionHouseBot/../Creature.h:23, from ../../../../src/game/AuctionHouseBot/../ObjectMgr.h:26, from ../../../../src/game/AuctionHouseBot/AuctionHouseBot.cpp:3: ../../../../src/game/AuctionHouseBot/../Unit.h:2114: error: prototype for âvoid Unit::SendMonsterMoveByPath(const Path<PathElem, PathNode>&, uint32, uint32, SplineFlags)â does not match any in class âUnitâ ../../../../src/game/AuctionHouseBot/../Unit.h:1493: error: candidate is: template<class PathElem, class PathNode> void Unit::SendMonsterMoveByPath(const Path<PathElem, PathNode>&, uint32, uint32, SplineFlags, uint32) ../../../../src/game/AuctionHouseBot/AuctionHouseBot.cpp: In member function âbool AHB_Seller::Initialize()â: ../../../../src/game/AuctionHouseBot/AuctionHouseBot.cpp:708: warning: format not a string literal and no format arguments ../../../../src/game/AuctionHouseBot/AuctionHouseBot.cpp:737: warning: format not a string literal and no format arguments make[4]: *** [AuctionHouseBot.o] Error 1 and I'm lost as to how to fix it. Sorry if it's something stupid that I missed, I looked in the Unit.h and I didn't see anything that's wrong if needed I'll post those lines, but for the most part I don't know what it means by the error: prototype and error: candidate, so if someone would care to take the time to explain that to me that would be cool.
  2. Wow, can't believe I didn't notice that. Looks like it did the trick. Thanks!
  3. They're not actually cut off, I just copied and pasted what was on the screen, I'm doing everything through a terminal so I use nano to edit files. In nano $ just means there's more to the line. Here's the full code without the cropping off: Map::Map(uint32 id, time_t expiry, uint32 InstanceId, uint8 SpawnMode, Map* _parent) : i_mapEntry (sMapStore.LookupEntry(id)), i_spawnMode(SpawnMode), i_id(id), i_InstanceId(InstanceId), m_unloadTimer(0), m_VisibleDistance(DEFAULT_VISIBILITY_DISTANCE), m_instanceSave(NULL), m_activeNonPlayersIter(m_activeNonPlayers.end()), i_gridExpiry(expiry), m_parentMap(_parent ? _parent : this), m_lastUpdateTime(getMSTime()) // expected that next update call will not long after map creating m_navMesh(NULL) Thanks for the reply though. Any other ideas?
  4. When compiling mangos with AHBOT,PLAYERBOT and MMAPS i get CXX Map.o ../../../src/game/Map.cpp: In member function "void Map::LoadMapAndVMap(int, int)": ../../../src/game/Map.cpp:137: error: "_parent" was not declared in this scope ../../../src/game/Map.cpp:137: error: expected primary-expression before "(" token ../../../src/game/Map.cpp:137: error: expected primary-expression before "id" ../../../src/game/Map.cpp:137: error: expected primary-expression before "expiry" ../../../src/game/Map.cpp:137: error: expected primary-expression before "InstanceId" ../../../src/game/Map.cpp:137: error: expected primary-expression before "SpawnMode" ../../../src/game/Map.cpp:137: error: expected primary-expression before "*" token ../../../src/game/Map.cpp:138: error: expected ";" before ":" token ../../../src/game/Map.cpp:3454: error: expected ‘}’ at end of input make[4]: *** [Map.o] Error 1 Here's the code in question: Line 137: Map::Map(uint32 id, time_t expiry, uint32 InstanceId, uint8 SpawnMode, Map* _pa$ : i_mapEntry (sMapStore.LookupEntry(id)), i_spawnMode(SpawnMode), i_id(id), i_InstanceId(InstanceId), m_unloadTimer(0), m_VisibleDistance(DEFAULT_VISIBILITY_DISTANCE), m_instanceSave(NULL), m_activeNonPlayersIter(m_activeNonPlayers.end()), i_gridExpiry(expiry), m_parentMap(_parent ? _parent : this), m_lastUpdateTime(getMSTime()) // expected that ne$ m_navMesh(NULL) Anyone know what I'm doing wrong? I'm pretty new to C/C++ in general, so sorry if it's something stupid that I missed. this is on Ubuntu server 10.10
  5. Okay I'll try that. Thank you again.
  6. Yes I'm positive it's client 3.3.5a. Oh well, thank you anyways. I'll just grab a clean git and add patches one at a time to see if I can get it working. Unless anyone else might know whats wrong, and if anyone wants to look into it I can send you the server files. (Source or compiled)
  7. Maps are in /opt/mangos/bin/maps. They are in the same place they were before I upgraded the server, which worked before. So I'm fairly sure they're in the same place. Unless this somehow changed when I compiled it again. But I just looked and they're still there, and it still gives me the same error. Any ideas? And thank you for your reply.
  8. OS: Ubuntu Server 10.10 When I start mangos-worldd it gives me the error Map file './maps/0004331.map' is non-compatible version. SharedDefines.h: // we need to stick to 1 version or half of the stuff will work for someone // others will not and opposite // will only support WoW, WoW:TBC and WoW:WotLK 3.3.5a client build 12340... #define EXPECTED_MANGOSD_CLIENT_BUILD {12340, 0} mangosd.config: RealmID = 1 DataDir = "." LogsDir = "" --------------------- vmap.enableLOS = 0 vmap.enableHeight = 0 vmap.ignoreSpellIds = "7720" vmap.enableIndoorCheck = 0 The maps have been extracted from client build 12340 3.3.5a using ad.exe from the master trunk. This is after a build that has been patched with ahbot, playerbot, racechange, and vehicles, don't know if it's relevant. Anyone have any ideas as to what could be wrong?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use