Does Eluna have any function for interacting with Zeppelins?
I know there is a "IsTransport" for gameobjects but I can't even get a Zeppelin as a game object in the first place.
I wasn't able to get the Zeppelin LowGUID or GUID from in game but managed to get it out of the server console by placing messages at certain events and recompiling. The GUID was == to the entry # and the LowGUID was something completely wrong (which might have been my fault, might have used the wrong function)
After scouring the Cmangos code I noticed:
Code:
// check transport data DB integrity result = WorldDatabase.Query("SELECT gameobject.guid,gameobject.id,transports.name FROM gameobject,transports WHERE gameobject.id = transports.entry");
if (result) // wrong data found
{
do
{
Field* fields = result->Fetch();
uint32 guid = fields[0].GetUInt32();
uint32 entry = fields[1].GetUInt32();
std::string name = fields[2].GetCppString();
sLog.outErrorDb("Transport %u '%s' have record (GUID: %u) in `gameobject`. Transports DON'T must have any records in `gameobject` or its behavior will be unpredictable/bugged.", entry, name.c_str(), guid);
}
while (result->NextRow());
delete result;
}
Which I assume would be the reason I'm having such a hard time interacting with it. Unless I'm missing something big here, is my only option to create a custom register for Zeppelins in Eluna and recompile Eluna?