psilocybusmaxim
Member
OTCV8 - OTX.2 - 7.72
So this is how my cap look's, it only go's to 600'ish and then resets to a lower number. IT WILL NEVER SHOW OVER 600'ish CAP.
Protocolgame.cpp - On the server.
Also tried,
And,
Nothing changes.
Healthinfo.lua - On the client.
Edit: I've all so tried these fixes, 2 BUGs OTclient 7x (https://otland.net/threads/2-bugs-otclient-7x.250447/#post-2432194)
So this is how my cap look's, it only go's to 600'ish and then resets to a lower number. IT WILL NEVER SHOW OVER 600'ish CAP.
Protocolgame.cpp - On the server.
C++:
msg->put<uint16_t>(int32_t(player->getFreeCapacity() * 100));
C++:
msg->put<uint16_t>(int32_t(player->getFreeCapacity() * 10));
C++:
msg->put<uint16_t>(int32_t(player->getFreeCapacity() * 1));
Healthinfo.lua - On the client.
Lua:
function onFreeCapacityChange(player, freeCapacity)
capLabel:setText(tr('Cap') .. ': ' .. freeCapacity)
end
Edit: I've all so tried these fixes, 2 BUGs OTclient 7x (https://otland.net/threads/2-bugs-otclient-7x.250447/#post-2432194)
Last edited: