• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[SOLVED] OtclientV8 - capacity displayed after a decimal point

neutral90

New Member
Joined
Oct 31, 2025
Messages
28
Reaction score
2
In my OtclientV8 (OTCAcademy) there is a bug where the capacity is displayed as a number after the decimal point - how can I fix this? In the attached image you can see that with a capacity of "3" it shows that it is "0.03"


EDIT: problem solved , in source c++

LUA:
        freeCapacity = msg->getU32() / 100.0;
    else
        freeCapacity = msg->getU16() / 100.0;
capacity.webpen
 
Last edited:
In my OtclientV8 (OTCAcademy) there is a bug where the capacity is displayed as a number after the decimal point - how can I fix this? In the attached image you can see that with a capacity of "3" it shows that it is "0.03"


EDIT: problem solved , in source c++

LUA:
        freeCapacity = msg->getU32() / 100.0;
    else
        freeCapacity = msg->getU16() / 100.0;
View attachment 96276en
It is actually a server issue, how do you plan on sending decimal values now? 🤭
 
Back
Top