EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   Unknown SpawnAppearance (https://www.eqemulator.org/forums/showthread.php?t=11691)

wize_one 02-02-2004 01:33 PM

Unknown SpawnAppearance
 
in my zone.exe window i get
Quote:

Unknow SpawnAppearance type: 0x0013 calue: 0x00000002
when clicking "31974, exquisite violet boots"

appears this applies to all levitation type spells-effects


just passing along possible bug.

toolh3 02-02-2004 05:49 PM

Here's what I did to stop the message from being shown.

In mob.h around line 38 I added:
Code:

#define APPEAR_LEV          0x0013
Then in client_process.cpp find these lines:
Code:

else if (sa->type == APPEAR_HEIGHT)
{
  entity_list.QueueClients(this, app, false);
}
else {
  cout << "Unknown SpawnAppearance type: 0x" << hex << setw(4) << setfill('0') << sa->type << dec << " value: 0x" << hex << setw(8) << setfill('0') << sa->parameter << dec << endl;
}

In between the else if{} and the else{} I put this in:
Code:

else if (sa->type == APPEAR_LEV)
{
  entity_list.QueueClients(this,app,false);
}

So it should look like this:
Code:

else if (sa->type == APPEAR_HEIGHT)
{
  entity_list.QueueClients(this, app, false);
}
else if (sa->type == APPEAR_LEV)
{
  entity_list.QueueClients(this,app,false);
}
else {
  cout << "Unknown SpawnAppearance type: 0x" << hex << setw(4) << setfill('0') << sa->type << dec << " value: 0x" << hex << setw(8) << setfill('0') << sa->parameter << dec << endl;
}

This seemed to work fine for me.


All times are GMT -4. The time now is 01:53 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.