• 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 Remove FingerSlot from OTCv8

lexus21

Active Member
Joined
Dec 14, 2022
Messages
105
Reaction score
29
Hello
It seems like a simple thing but I have a problem. I want to remove a slot from the client. I do the following steps

40-inventory.otui
i removed
Code:
FingerSlot < InventoryItem
  id: slot9
  image-source: /images/game/slots/finger
  &position: {x=65535, y=9, z=0}
  $on:
    image-source: /images/game/slots/finger-blessed

Code:
      FingerSlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

from inventory.lua
Code:
  [InventorySlotFinger] = "FingerSlot",

its inventoryPanel

Code:
    Panel
      id: inventoryPanel
      margin-right: 63
      margin-top: 2
      anchors.fill: parent
      
      HeadSlot
        anchors.top: parent.top
        anchors.horizontalCenter: parent.horizontalCenter
        margin-top: 3

      BodySlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

      LegSlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

      FeetSlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

      NeckSlot
        anchors.top: slot1.top
        anchors.right: slot1.left
        margin-top: 13
        margin-right: 5

      LeftSlot
        anchors.top: slot4.top
        anchors.right: slot4.left
        margin-top: 13
        margin-right: 5

      BackSlot
        anchors.top: slot1.top
        anchors.left: slot1.right
        margin-top: 13
        margin-left: 5

      RightSlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

      AmmoSlot
        anchors.top: prev.bottom
        anchors.horizontalCenter: prev.horizontalCenter
        margin-top: 3

      SoulCapLabel
        id: soulLabel
        anchors.top: slot10.bottom
        anchors.horizontalCenter: slot10.horizontalCenter
        
      SoulCapLabel
        id: capLabel
        anchors.top: slot10.bottom
        anchors.horizontalCenter: slot10.horizontalCenter

      PurseButton
        anchors.left: slot3.left
        anchors.bottom: slot3.top       
        margin-bottom: 3

when i trying to run otclient i get error from inventory.lua
how to remove slot correctly so that otclient starts?
 
Back
Top