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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2014, 11:53 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,595
Default Class Guild Masters.

I noticed that mobs that are guild masters have GM <Class> as their last name, but Clerics and Monks don't. In mob.cpp they are missing on Mob::CreateSpawnPacket, here's the diff of the code I added.

Code:
@@ -734,6 +734,9 @@ void Mob::CreateSpawnPacket(EQApplicationPacket* app, Mob* ForWho) {
 		case WARRIORGM:
 			strcpy(ns->spawn.lastName, "GM Warrior");
 			break;
+		case CLERICGM:
+			strcpy(ns->spawn.lastName, "GM Cleric");
+			break;
 		case PALADINGM:
 			strcpy(ns->spawn.lastName, "GM Paladin");
 			break;
@@ -746,6 +749,9 @@ void Mob::CreateSpawnPacket(EQApplicationPacket* app, Mob* ForWho) {
 		case DRUIDGM:
 			strcpy(ns->spawn.lastName, "GM Druid");
 			break;
+		case MONKGM:
+			strcpy(ns->spawn.lastName, "GM Monk");
+			break;
 		case BARDGM:
 			strcpy(ns->spawn.lastName, "GM Bard");
 			break;
@@ -811,6 +817,9 @@ void Mob::CreateSpawnPacket(EQApplicationPacket* app, NewSpawn_Struct* ns) {
 	case WARRIORGM:
 		strcpy(ns2->spawn.lastName, "GM Warrior");
 		break;
+	case CLERICGM:
+		strcpy(ns2->spawn.lastName, "GM Cleric");
+		break;
 	case PALADINGM:
 		strcpy(ns2->spawn.lastName, "GM Paladin");
 		break;
@@ -823,6 +832,9 @@ void Mob::CreateSpawnPacket(EQApplicationPacket* app, NewSpawn_Struct* ns) {
 	case DRUIDGM:
 		strcpy(ns2->spawn.lastName, "GM Druid");
 		break;
+	case MONKGM:
+		strcpy(ns2->spawn.lastName, "GM Monk");
+		break;
 	case BARDGM:
 		strcpy(ns2->spawn.lastName, "GM Bard");
 		break;
Reply With Quote
Reply


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 02:25 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3