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

[C++] Icons of Conditions

ot flames

New Member
Joined
May 14, 2008
Messages
28
Reaction score
0
Hello, OTServ Depelovers

I need some help in something,
I need to make a new COMBAT. But it needs a CONDITION too. That is not the problem for me. I need to make a new ICON for the CONDITION that the COMBAT may do.

In Const.h


Code:
 enum Icons_t
{
    ICON_POISON = 1,
    ICON_BURN = 2, 
     ICON_ENERGY =  4, 
    ICON_DRUNK = 8, 
    ICON_MANASHIELD = 16, 
    ICON_PARALYZE = 32, 
    ICON_HASTE = 64, 
    ICON_SWORDS = 128,
    ICON_DROWNING = 256,
    ICON_FREEZING = 512,
    ICON_DAZZLED = 1024,
    ICON_CURSED = 2048
};
Ignoring enum Skulls_t

Code:
{
    SKULL_NONE = 0,
    SKULL_YELLOW = 1,
    SKULL_GREEN = 2,
    SKULL_WHITE = 3,
    SKULL_RED = 4
};
First i thought that from left to right i will multiply each slot times 2.

But the arrangement is different from the client itself

in the Client

They are arranged like this { Left to Right}
POISON
BURN
ENERGY
SWORDS
DRUNK
MANASHIELD
HASTE
PARALYZE
IGNORING SKULLS {From Up to down now}
DROWNING
FREEZING
DAZZLING
CURRSED

2057754f7bf555f76cf33245ae9c60833e7a6d1.png


Please, If anyone could tell me, On what basis are the icons of the conditions are arranged. this will be much appreciated !
 
i don't know about it ;x but i belive u need to modify the tibia client to it ;x or do not put a new icon, or just put one of that icons


by the way, post it at requests or support. I belive here is a wrong place for it
 
Last edited:
as far as i know you have to edit the tibia client which is impossible since its not opensource (you could use YATC) or use a condition that you dont need
 
Back
Top