Project 1999

Go Back   Project 1999 > Server Issues > Bugs

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 07-24-2014, 07:43 AM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

Wait a tick, I missed something:

Now I know why eqemu has it sending WearChange packets when an illusion lands: if it's a player race illusion, you end up naked without it. However, this is only because it's always sending the texture part of the illusion packet as it appears in the spell (i.e. usually 0) instead of the default of 255/-1, which is the "ignore this field" value for illusions.

Can fix that by changing the part in Mob::SpellEffect that currently looks like this
Code:
// Racial Illusions
else {
	SendIllusionPacket
	(
		spell.base[i],
		Mob::GetDefaultGender(spell.base[i], GetGender()),
		spell.base2[i]
	);
to something more like this:
Code:
// Racial Illusions
else {
	int race = spell.base[i];
	SendIllusionPacket
	(
		race,
		Mob::GetDefaultGender(race, GetGender()),
		(race <= 12 || race == 128) ? 255 : spell.base2[i]
	);
then I believe it should all be good.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:33 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.