View Full Version : Unknown SpawnAppearance
wize_one
02-02-2004, 01:33 PM
in my zone.exe window i get
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:
#define APPEAR_LEV 0x0013
Then in client_process.cpp find these lines:
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:
else if (sa->type == APPEAR_LEV)
{
entity_list.QueueClients(this,app,false);
}
So it should look like this:
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.