• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient Show emblem on character name in-game?

archer32

Member
Joined
Feb 3, 2011
Messages
88
Solutions
1
Reaction score
9
Hi,

Is there a way to show a emblem on certain vocations in-game? Such as emblem_blue for Mage and emblem_red for Druid? Have it show up next to their name in-game, so everybody sees it.

Thanks in advanced

TFS 1.3, Client 10.98
 
It will override the war system emblems which I suppose is the point

Comment this line

Under the previous line, paste:
C++:
    GuildEmblems_t emblem = GUILDEMBLEM_NONE;
    if (otherPlayer && player != otherPlayer) {
        if (otherPlayer->getVocationId() == 1)
            emblem = GUILDEMBLEM_NEUTRAL;
        else if (otherPlayer->getVocationId() == 2)
            emblem = GUILDEMBLEM_ENEMY;
    }
    msg.addByte(emblem);
 
It will override the war system emblems which I suppose is the point

Comment this line

Under the previous line, paste:
C++:
    GuildEmblems_t emblem = GUILDEMBLEM_NONE;
    if (otherPlayer && player != otherPlayer) {
        if (otherPlayer->getVocationId() == 1)
            emblem = GUILDEMBLEM_NEUTRAL;
        else if (otherPlayer->getVocationId() == 2)
            emblem = GUILDEMBLEM_ENEMY;
    }
    msg.addByte(emblem);
Thanks for the info, I did the change and re-compiled, it "worked" sorta.. there is a black box around the characters and it looks like the creature summon icon, lol... but vocation 2 shows up invisible. And GM account is all goofed (since no longer has a vocation).. I will keep testing, let me know if you have any other ideas though.
 
Last edited:
Back
Top