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

Cap Bug - OTCv8 7.72 Protocol

potinho

Intermediate OT User
Joined
Oct 11, 2009
Messages
1,397
Solutions
17
Reaction score
148
Location
Brazil
How to fix CAP shown in OTCv8? The displayed value is divided by 100, it does not show the player's actual CAP. Using protocol 7.72.

1642817874724.png
Post automatically merged:

Tried this but not work:

 
Last edited:
You should post in the support section
PS: Why grep if you can get mocked on the forum? ¯\(ツ)
 
Gesior.pl helped me to fix on inventory. Anyone can help me to fix on skill tab?

View attachment 64973
I think he wasted his time if you cannot figure it out by now, because you have to do the same thing there.
Also, you should be aware by now that your thread name is wrong too, the issue is your engine, not the client.
 
Last edited:
@potinho modules/game_skills/skills.lua

Change
Code:
function onFreeCapacityChange(localPlayer, freeCapacity)
  setSkillValue('capacity', (freeCapacity))
  checkAlert('capacity', freeCapacity, localPlayer:getTotalCapacity(), 20)
end

To
Code:
function onFreeCapacityChange(localPlayer, freeCapacity)
  setSkillValue('capacity', (freeCapacity*100))
  checkAlert('capacity', freeCapacity, localPlayer:getTotalCapacity(), 20)
end
 
Back
Top