Jump to content

Do not read configuration files

Pending 3.0.1

chenglong
chenglong

Posted

My server was previously set to use base replacement upon purchase, but after updating the plugin, it didn't read the previous configuration and automatically refreshed the bases.

chenglong

Posted

The previous setting was that you need to buy to refresh, now it keeps refreshing the base

Russ

Posted

I also have this since the most recent update and I can't seem to find any setting related to it.

So the bases load in like normal and then after 30minutes they despawn because no one has completeed them, then new ones spawn. I've never had it setup to do this so I'm not sure if my config is outdated or a new setting was added somewhere that I seem to have overlooked.

Sorry for posting in someone elses thread but same issue.

  • Like 1
nivex

Posted (edited)

hi

Always Maintain Max Events
if this is true then it will refresh new bases automatically all of the time. the default is false
you do not need to reload the plugin. you can toggle on/off with rb.config maintained

Per 3.0.0 update notes:

Quote

Added `Wait To Start Despawn Timer When Base Takes Damage From Player` to `Override Global Config` in profiles and config
Added `Wait To Start Despawn Timer Until Npc Is Killed By Player` to `Override Global Config` in profiles and config

these were just added to the profiles, but you should set them in the config and profiles to be safe.

Edited by nivex
  • Like 2
chenglong

Posted

Always maintain the maximum number of events
If set to true, it will continuously auto-refresh new bases. The default is false.

I've set it to true, thank you — my plugin is now working again.

  • Like 1
Deadpool

Posted

7 hours ago, nivex said:

Получаю вот такую ошибку   

Failed to call hook 'CommandBuyRaid' on plugin 'RaidableBases v3.0.1' (ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: start) at Oxide.Plugins.RaidableBases+UiHandler.ParseHexComponent (System.String hex, System.Int32 j, System.Int32 k) [0x00027] in <07dc9bb08483472083c48e85f3848e03>:0 at Oxide.Plugins.RaidableBases+UiHandler.ConvertHexToRGBA (System.String hex, System.Single a) [0x00000] in <07dc9bb08483472083c48e85f3848e03>:0 at Oxide.Plugins.RaidableBases+UiHandler.ShowBuyableUi (BasePlayer player, System.Boolean moveUI) [0x0041a] in <07dc9bb08483472083c48e85f3848e03>:0 at Oxide.Plugins.RaidableBases.CommandBuyRaid (Oxide.Core.Libraries.Covalence.IPlayer user, System.String command, System.String[] args) [0x0018e] in <07dc9bb08483472083c48e85f3848e03>:0 at Oxide.Plugins.RaidableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02ed8] in <07dc9bb08483472083c48e85f3848e03>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9c80d821d00a44c9a24497c73ad2d20d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0

 

nivex

Posted (edited)

@Deadpool

show me your config

you have invalid settings under Buyable Events UI in the config

default:
 

    "Buyable Events UI": {
      "Enabled": true,
      "Sort By Price Instead Of Difficulty Level": false,
      "Offset Min": "-34.159 86.718",
      "Offset Max": "179.959 254.682",
      "Panel Alpha": 0.98,
      "Background Color": "#252121",
      "Title Background Color": "#000000",
      "Cursor Enabled": true,
      "Button Alpha": 1.0,
      "X Text Color": "#FFFFFF",
      "Font Size": 14,
      "Use Contrast Colors For Text Color": true,
      "Use Difficulty Colors For Buttons": true,
      "X Button Color": "#497CAF",
      "Easy Button Color": "#497CAF",
      "Easy Text Color": "#FFFFFF",
      "Medium Button Color": "#497CAF",
      "Medium Text Color": "#FFFFFF",
      "Hard Button Color": "#497CAF",
      "Hard Text Color": "#FFFFFF",
      "Expert Button Color": "#497CAF",
      "Expert Text Color": "#FFFFFF",
      "Nightmare Button Color": "#497CAF",
      "Nightmare Text Color": "#FFFFFF"
    },

 

Edited by nivex
Deadpool

Posted

15 hours ago, nivex said:

@Deadpool

show me your config

you have invalid settings under Buyable Events UI in the config

default:
 

    "Buyable Events UI": {
      "Enabled": true,
      "Sort By Price Instead Of Difficulty Level": false,
      "Offset Min": "-34.159 86.718",
      "Offset Max": "179.959 254.682",
      "Panel Alpha": 0.98,
      "Background Color": "#252121",
      "Title Background Color": "#000000",
      "Cursor Enabled": true,
      "Button Alpha": 1.0,
      "X Text Color": "#FFFFFF",
      "Font Size": 14,
      "Use Contrast Colors For Text Color": true,
      "Use Difficulty Colors For Buttons": true,
      "X Button Color": "#497CAF",
      "Easy Button Color": "#497CAF",
      "Easy Text Color": "#FFFFFF",
      "Medium Button Color": "#497CAF",
      "Medium Text Color": "#FFFFFF",
      "Hard Button Color": "#497CAF",
      "Hard Text Color": "#FFFFFF",
      "Expert Button Color": "#497CAF",
      "Expert Text Color": "#FFFFFF",
      "Nightmare Button Color": "#497CAF",
      "Nightmare Text Color": "#FFFFFF"
    },

 

Спасибо, разобрался.

 

  • Like 1
nivex

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.5k

Files Sold

Total number of files sold.

2.5m

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.