Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2013, 08:24 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,604
Default

Okay, I re-compiled with that and it didn't get rid of the MoTD. I found another occurrence in zoneserver.cpp. Lines 915-925. My again proposed fix for it, but this time in zoneserver.cpp and worldserver.cpp, not just worldserver.cpp.

Code:
case ServerOP_Motd: 
{
	//if (pack->size != sizeof(ServerMotd_Struct)) 
	{
		//zlog(WORLD__ZONE_ERR,"Wrong size on ServerOP_Motd. Got: %d, Expected: %d",pack->size,sizeof(ServerMotd_Struct));
		//break;
	//}
	//ServerMotd_Struct* smotd = (ServerMotd_Struct*) pack->pBuffer;
	//database.SetVariable("MOTD",smotd->motd);
	//this->SendEmoteMessage(smotd->myname, 0, 0, 13, "Updated Motd.");
	//zoneserver_list.SendPacket(pack);
	break;
}
Reply With Quote
Reply

Thread Tools
Display Modes

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:01 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3