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

Otclient Classic UI

im working on it, but when i reload, i have an error :Cskill.gif

well finally, i did with the all 3 buttons, and all give error, but all are working

ERROR: /modules/game_skills/skills.lua:291: attempt to index field 'game_playerbars' (a nil value)
ERROR: /modules/game_viplist/viplist.lua:123: attempt to index field 'game_playerbars' (a nil value)
ERROR: /modules/game_battle/battle.lua:150: attempt to index field 'game_playerbars' (a nil value)

When I reload mods, appear the whole errors

Code:
ERROR: Unable to load module 'game_skills': /modules/game_skills/skills.lua:238: attempt to index field 'game_playerbars' (a nil value)
stack traceback:
    [C]: in function '__index'
    /modules/game_skills/skills.lua:238: in function 'refresh'
    /modules/game_skills/skills.lua:37: in function 'init'
    /modules/game_skills/skills.otmod:8:[@onLoad]:1: in main chunk
    [C]: in function 'reloadModules'
    /modules/client/client.lua:19: in function </modules/client/client.lua:13>
    [C]: in function 'pcall'
    /modules/corelib/util.lua:311: in function </modules/corelib/util.lua:309>
ERROR: Unable to load module 'game_viplist': /modules/game_viplist/viplist.lua:75: attempt to index field 'game_playerbars' (a nil value)
stack traceback:
    [C]: in function '__index'
    /modules/game_viplist/viplist.lua:75: in function 'refresh'
    /modules/game_viplist/viplist.lua:23: in function 'init'
    /modules/game_viplist/viplist.otmod:8:[@onLoad]:1: in main chunk
    [C]: in function 'reloadModules'
    /modules/client/client.lua:19: in function </modules/client/client.lua:13>
    [C]: in function 'pcall'
    /modules/corelib/util.lua:311: in function </modules/corelib/util.lua:309>
ERROR: /modules/game_battle/battle.lua:150: attempt to index field 'game_playerbars' (a nil value)
 
Last edited:
sometimes, I dont understand your short comments margoh XD! can you explain yourself?
What do you mean? The second version is the same as first, but you can use it anywhere without copying and pasting whole calculations, so in the future if some of your modules will require new bar you just need to use that function.
 
What do you mean? The second version is the same as first, but you can use it anywhere without copying and pasting whole calculations, so in the future if some of your modules will require new bar you just need to use that function.
ohh got it thank you
 
I really liked this modification you made, I think I will use it on my 8.60 server.

Is it possible to make the spell cooldown effect work? That spinning effect, you know?
 
I really liked this modification you made, I think I will use it on my 8.60 server.

Is it possible to make the spell cooldown effect work? That spinning effect, you know?
Can you remind me?
 
Thank you
who can share it's files classic tibia stile without error pls
 
Last edited:
Hello
I've been working on Otcv8 trying to make Classic UI.
It's not 1:1 so it does need some work too.

XtheJi3.png
0vnMYen.png


Enjoy!
lol and trying to re-do the same thing rom zero thanks
 
You're a god.

A git repo would this would be amazing tho. IF you need help let me know. The repo you pushed is missing all the folders and data, the actual important stuff :p
 
A git repo would this would be amazing tho. IF you need help let me know. The repo you pushed is missing all the folders and data, the actual important stuff :p
Yea i know but i had some issues with making this github, first time ever using this so i don't know what the issue. Honestly im not doing anything with this client for now because im focused on making my server :D.
But i plan to make some small updates in future :D
 
Working on slots right now :p trying to figure out how to remove that space on the right 🧐
n0pB50h.png
 
This works for me:
Code:
  MiniWindowContents
    padding: 4 4 3 7
    layout:
      type: grid
      cell-size: 34 34
      cell-spacing: 3
      flow: true
Line 158:
Lua:
    containerWindow:setContentMinimumHeight(cellSize.height + 1)
Line 159:
Lua:
    containerWindow:setContentMaximumHeight(cellSize.height *
                                                layout:getNumLines() + 4)
Line 167:
Lua:
            containerWindow:setContentHeight(cellSize.height*layout:getNumLines() + 4)
Line 172:
Lua:
            containerWindow:setContentHeight(filledLines * cellSize.height + 1)

On OTCv8 it can be different.
 
Back
Top