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

Windows tibia 8.6 upgrade

vegetaaa

New Member
Joined
Mar 13, 2013
Messages
16
Reaction score
0
hey guys
one question :D

is posible chnge hp and mana to % in CipSoft 8.6 tibia ? not in ots engine in CipSoft 8.6 tibia

e.x 40/250hp
20/100 %

i found
Code:
void ProtocolGame::AddPlayerStats(NetworkMessage_ptr msg) 
{ 
    msg->put<char>(0xA0); 
    msg->put((uint16_t)std::ceil(player->getHealth() * 100 / player->getPlayerInfo(PLAYERINFO_MAXHEALTH)));  
    msg->put((uint16_t)100); 
    msg->put<uint32_t>(uint32_t(player->getFreeCapacity() * 100)); 
    uint64_t experience = player->getExperience(); 
    if(experience > 0x7FFFFFFF) // client debugs after 2,147,483,647 exp 
        msg->put<uint32_t>(0x7FFFFFFF); 
    else 
        msg->put<uint32_t>(experience); 

    msg->put<uint16_t>(player->getPlayerInfo(PLAYERINFO_LEVEL)); 
    msg->put<char>(player->getPlayerInfo(PLAYERINFO_LEVELPERCENT)); 
    msg->put((uint16_t)std::ceil(player->getMana() * 100 / player->getPlayerInfo(PLAYERINFO_MAXMANA)));   
    msg->put((uint16_t)100); 
    msg->put<char>(player->getPlayerInfo(PLAYERINFO_MAGICLEVEL)); 
    msg->put<char>(player->getPlayerInfo(PLAYERINFO_MAGICLEVELPERCENT)); 
    msg->put<char>(player->getPlayerInfo(PLAYERINFO_SOUL)); 
    msg->put<uint16_t>(player->getStaminaMinutes());

but this is to protocolgame.cpp in TFS
 
He just means on client version 8.60 :p and im pretty sure its client sided xD

- - - Updated - - -

Or he going to play a server which is version 8.60, idk
 
Well is the sendmessagetochannel finally working? Because you can always create a stats channel that will give you that stat
 
i play in ots 8.6 hight evo
and i have 10k druid lvl.
I have 300k mana but that shows the greatest amount is 60k, and often die because i dont know how much mana i have now 60k or 200k that's the whole story.

Now is it possible?
if so he asked me for a tip how to do it.
if not shaking me to play the normal ots: D

Google tranzlate sorry guys :D
 
Back
Top