• 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!

How to create new conditions in c++ and otclient sources ?

I'm looking for this too, specifically how to add new Icons, I added tons of new Conditions to my server and client, created their Icons but they don't show up ingame for some reason. Maybe its related to the PlayerState enum using a power of 2?

C++:
enum PlayerStates {
        IconNone = 0,
        IconPoison = 1,
        IconBurn = 2,
        IconEnergy = 4,
        IconDrunk = 8,
        IconManaShield = 16,
        IconParalyze = 32,
        IconHaste = 64,
        IconSwords = 128,
        IconDrowning = 256,
        IconFreezing = 512,
        IconDazzled = 1024,
        IconCursed = 2048,
        IconPartyBuff = 4096,
        IconPzBlock = 8192,
        IconPz = 16384,
        IconBleeding = 32768,
        IconHungry = 65536,
        IconSilenced = 131072,
        IconDisarmed = 262144,
        IconRooted = 524288,
        IconStunned = 1048576,
        IconBlinded = 2097152,
        IconVengeance = 4194304
    };
 
I'm looking for this too, specifically how to add new Icons, I added tons of new Conditions to my server and client, created their Icons but they don't show up ingame for some reason. Maybe its related to the PlayerState enum using a power of 2?

C++:
enum PlayerStates {
        IconNone = 0,
        IconPoison = 1,
        IconBurn = 2,
        IconEnergy = 4,
        IconDrunk = 8,
        IconManaShield = 16,
        IconParalyze = 32,
        IconHaste = 64,
        IconSwords = 128,
        IconDrowning = 256,
        IconFreezing = 512,
        IconDazzled = 1024,
        IconCursed = 2048,
        IconPartyBuff = 4096,
        IconPzBlock = 8192,
        IconPz = 16384,
        IconBleeding = 32768,
        IconHungry = 65536,
        IconSilenced = 131072,
        IconDisarmed = 262144,
        IconRooted = 524288,
        IconStunned = 1048576,
        IconBlinded = 2097152,
        IconVengeance = 4194304
    };
e884439d37aa9aa685069d50db747fe2.png
 
This post is already old, so all you have to do is create your own post explaining what problem you have, what needs to be corrected, or what solution you are looking for. Just create a topic for yourself.

Yeah it was my mistake, I didn't look at the dates since I had 20+ tabs open looking for the same issue. My bad.
 
Back
Top