Quote:
Did you use the method written out by jdoran to do this or did you simply edit something in eqstr_us.txt? I tried adding this code
|
Neither. See EntityList::zoneWho, specifically;
Code:
if (ClientEntry->IsTrader())
WAPP2->RankMSGID = 12315;
else if (ClientEntry->IsBuyer())
WAPP2->RankMSGID = 6056;
else if (ClientEntry->Admin() >= 10)
WAPP2->RankMSGID = 12312;
else
WAPP2->RankMSGID = 0xFFFFFFFF;
The RankMSGID corresponds to a string ID from eqstr_us.txt. You could add more conditions there for detecting an item or whatever. If you check the hard coded IDs currently in use you find;
12315 TRADER
6056 BUYER
12312 * GM *
Based on my limited tests you can use any valid string ID. Note that this only applies to local zone who, not who all which happens in different place.