Jump to content

Buttons Vanishing

Closed 2.0.72

JanitorHero
JanitorHero

Posted

Hey Mate,

For some reason my buttons keep vanishing and I cant figure out why..... 
I cant pinpoint a specific event or time it just seems to happen at random. 

They only consistent time it seems to happen is when I first log back into my server, 

I have to then open /cb, load any button and change the position and they all re appear.  

Any help would be appreciated 🙂
Thanks! 

David

Posted

Have you noticed any errors in server console?

Could you post here your configuration and data files for custom buttons?

JanitorHero

Posted

Sorry about the delay, have been away on holiday! 
I tried re doing the buttons as per your videos but still having the same issues. When I log off and back or respawn after death the buttons vanish until I edit their position. 

Here is my CONFIG: 
 

{

  "Run toggle command when clicking on button": false,

  "Hide Buttons": {

    "When using Computer Station": [

      "button_name",

      "panel_name"

    ],

    "When Player is dead": [

      "button_name",

      "panel_name"

    ],

    "When Player is looting": [

      "button_name",

      "panel_name"

    ]

  },

  "Base Position": {

    "Anchor Min": "0.5 0",

    "Anchor Max": "0.5 0"

  },

  "Font Settings": {

    "Font Style": "robotocondensed-bold.ttf",

    "Base Font Size": 13,

    "Base Font Color": "1 1 1 1",

    "Font Outline Color": "0 0 0 1",

    "Font Outline Thickness": "0.1 0.1"

  },

  "Chat Commands": {

    "Open GUI": "cb",

    "List all Panels": "cb_list",

    "Toggle buttons on/off": "cb_toggle"

  }

}

 

 

Here is my DATA: 

{

  "BT": {

    "uiType": "Overlay",

    "panelType": "button",

    "OffsetMin": "210 25",

    "OffsetMax": "255 70",

    "text": null,

    "panelColor": "0 0 0 0",

    "panelChatCmd": "ssb",

    "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1335544486964760586/hammer1.png?ex=67a08e3a&is=679f3cba&hm=8b7fa4a4b3154dbc0c53c7048efead824374abcdc1aa52cfa9dd3777f4597ec2&",

    "imgAnchorMin": null,

    "imgAnchorMax": null,

    "onCmdHide": "true"

  },

  "SM": {

    "uiType": "Overlay",

    "panelType": "button",

    "OffsetMin": "259 25",

    "OffsetMax": "304 70",

    "text": null,

    "panelColor": "0 0 0 0",

    "panelChatCmd": "sym_ui",

    "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1335545511582765066/Sym.png?ex=67a08f2f&is=679f3daf&hm=5b1489871c05fa479a89e08e9c2352c5584b214208b627d3572ecb8580d0e9e9&",

    "imgAnchorMin": null,

    "imgAnchorMax": null,

    "onCmdHide": "true"

  },

  "remove": {

    "uiType": "Overlay",

    "panelType": "button",

    "OffsetMin": "308 25",

    "OffsetMax": "353 70",

    "text": null,

    "panelColor": "0 0 0 0",

    "panelChatCmd": "remove all",

    "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1336842116306833528/remove.png?ex=67a546bd&is=67a3f53d&hm=89d51b605c984847a7726e12280c8d4434fdf7ada3bfd5bec29db1149235746e&",

    "imgAnchorMin": null,

    "imgAnchorMax": null,

    "onCmdHide": "true"

  },

  "Menu": {

    "uiType": "Overlay",

    "panelType": "button",

    "OffsetMin": "56 2",

    "OffsetMax": "180 16",

    "text": "<size=9>Build Menu</size>",

    "panelColor": "0.5 0.5 0.5 0.45",

    "panelChatCmd": "custombuttonstoggle",

    "imageUrl": null,

    "imgAnchorMin": null,

    "imgAnchorMax": null,

    "onCmdHide": null

  }

}

David

Posted

Paste this back into your data file and buttons should work again, just make sure your image links are actually working because those you currently have there are no longer up. 

 

{
    "BT": {
        "uiType": "Overlay",
        "panelType": "button",
        "OffsetMin": "210 25",
        "OffsetMax": "255 70",
        "text": null,
        "panelColor": "0 0 0 0",
        "panelChatCmd": "ssb",
        "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1335544486964760586/hammer1.png?ex=67a08e3a&is=679f3cba&hm=8b7fa4a4b3154dbc0c53c7048efead824374abcdc1aa52cfa9dd3777f4597ec2&",
        "imgAnchorMin": null,
        "imgAnchorMax": null,
        "onCmdHide": "true"
    },
    "SM": {
        "uiType": "Overlay",
        "panelType": "button",
        "OffsetMin": "259 25",
        "OffsetMax": "304 70",
        "text": null,
        "panelColor": "0 0 0 0",
        "panelChatCmd": "sym_ui",
        "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1335545511582765066/Sym.png?ex=67a08f2f&is=679f3daf&hm=5b1489871c05fa479a89e08e9c2352c5584b214208b627d3572ecb8580d0e9e9&",
        "imgAnchorMin": null,
        "imgAnchorMax": null,
        "onCmdHide": "true"
    },
    "remove": {
        "uiType": "Overlay",
        "panelType": "button",
        "OffsetMin": "308 25",
        "OffsetMax": "353 70",
        "text": null,
        "panelColor": "0 0 0 0",
        "panelChatCmd": "remove all",
        "imageUrl": "https://cdn.discordapp.com/attachments/1334374189129531495/1336842116306833528/remove.png?ex=67a546bd&is=67a3f53d&hm=89d51b605c984847a7726e12280c8d4434fdf7ada3bfd5bec29db1149235746e&",
        "imgAnchorMin": null,
        "imgAnchorMax": null,
        "onCmdHide": "true"
    },
    "Menu": {
        "uiType": "Overlay",
        "panelType": "button",
        "OffsetMin": "56 2",
        "OffsetMax": "180 16",
        "text": "<size=9>Build Menu</size>",
        "panelColor": "0.5 0.5 0.5 0.45",
        "panelChatCmd": "custombuttonstoggle",
        "imageUrl": null,
        "imgAnchorMin": null,
        "imgAnchorMax": null,
        "onCmdHide": "false"
    }
}

 

David

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.