Thread: Disabling MoTD.
View Single Post
  #4  
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