We just brought up 5.3 with your fix in it and a slight modification:
suggested change
Code:
if (cle->GetGM()) {
if (cle->Admin() == 101 && cle->GetGM())
strcpy(tmpgm, "* GM-Events *");
else if (cle->Admin() == -2)
strcpy(tmpgm, "* BANNED *");
else if (cle->Admin() == -1)
strcpy(tmpgm, "* SUSPENDED *");
else if (cle->Admin() == 80 && cle->GetGM())
strcpy(tmpgm, "* Quest Troupe *");
else if (cle->Admin() >= 200 && cle->GetGM())
strcpy(tmpgm, "* ServerOP *");
else if (cle->Admin() >= 150 && cle->GetGM())
strcpy(tmpgm, "* Lead-GM *");
else if (cle->Admin() >= 100 && cle->GetGM())
strcpy(tmpgm, "* GM *");
else
tmpgm[0] = 0;
}
else
tmpgm[0] = 0;
to
Code:
if (cle->Admin() >=250)
strcpy(tmpgm, "* GM-Impossible *");
else if (cle->Admin() >= 200)
strcpy(tmpgm, "* GM-Mgmt *");
else if (cle->Admin() >= 180)
strcpy(tmpgm, "* GM-Coder *");
else if (cle->Admin() >= 170)
strcpy(tmpgm, "* GM-Areas *");
else if (cle->Admin() >= 160)
strcpy(tmpgm, "* QuestMaster *");
else if (cle->Admin() >= 150)
strcpy(tmpgm, "* GM-Lead Admin *");
else if (cle->Admin() >= 100)
strcpy(tmpgm, "* GM-Admin *");
else if (cle->Admin() >= 95)
strcpy(tmpgm, "* GM-Staff *");
else if (cle->Admin() >= 90)
strcpy(tmpgm, "* EQ Support *");
else if (cle->Admin() >= 85)
strcpy(tmpgm, "* GM-Tester *");
else if (cle->Admin() >= 81)
strcpy(tmpgm, "* Senior Guide *");
else if (cle->Admin() >= 80)
strcpy(tmpgm, "* QuestTroupe *");
else if (cle->Admin() >= 50)
strcpy(tmpgm, "* Guide *");
else if (cle->Admin() >= 20)
strcpy(tmpgm, "* Apprentice Guide *");
else if (cle->Admin() >= 10)
strcpy(tmpgm, "* Steward *");
else
tmpgm[0] = 0;
This supports the new status values.