Jump to content

Only easy and medium bases spawingn, probability question's

Closed 2.9.8

garycz28
garycz28

Posted

Hi I have raidable bases configured to maintain 2 raid bases at all times and only allow 1 per difficulty level to spawn at a time.  currently I am using easy, Medium, and Hard difficulty raids with other levels planned to be added in the future. right now only easy and medium bases are spawning when hard bases used to spawn too. I noticed lines 91-97 in the config file about base spawn probability, currently i have it set to the default -1  and True for cumulative probability. Since I am only allowing 2 bases to spawn I am guessing it just picks the first 2 levels easy, and medium. Do I need to set probabilities for each base level? if so how does the probability system work are the numbers 0-100 percent for example? and what does cumulative probability do exactly?  thanks. Gary.

nivex

Posted (edited)

hi, I can take a look if you attach your config

Cumulative probability works by setting the total to 100, with a value randomly picked within that range. For example:

Easy: 50

Medium: 30

Hard: 20

This ensures that the probabilities sum to 100, and the random value determines which difficulty is selected.

This would allow you to spawn a difficulty less or more often, instead of completely at random.

Edited by nivex
nivex

Posted

heya, everything looks in order with your config except that Expert and Nightmare are not disabled under Max Amount Allowed To Automatically Spawn Per Difficulty.

if you have no Expert or Nightmare profile this this fine, but if you have those profiles and the difficulty is not configured then it could be spawning bases from them. this is common when copy and pasting profiles to edit more easily.

make sure that your hard profile has no json errors, and that it contains bases which exist in the copypaste folder. you can use the command to verify this: rb.config list

I've tested your config and it is spawning everything randomly as expected so I suspect it is the profile(s)

Quote

(22:35:31) | [RaidableBases] 25% loaded (1621 potential points)
(22:35:36) | [RaidableBases] 50% loaded (2240 potential points)
(22:35:42) | [RaidableBases] 75% loaded (2941 potential points)
(22:35:47) | [RaidableBases] 100% loaded (3733 potential points)
(22:35:47) | [RaidableBases] Grid initialization completed in 24 seconds and 708 milliseconds on a 5000 size map with 3733 potential points.
(22:35:50) | You've successfully pasted the structure
(22:35:52) | [RaidableBases] raidhard1 @ AD5 : 90 items
(22:36:13) | You've successfully pasted the structure
(22:36:17) | [RaidableBases] raideasy13 @ F8 : 30 items

(22:36:31) | [RaidableBases] Server Console despawned all bases manually
(22:36:39) | You've successfully pasted the structure
(22:36:41) | [RaidableBases] raidhard6 @ Z11 : 90 items
(22:37:02) | You've successfully pasted the structure
(22:37:04) | [RaidableBases] raidmed7 @ G5 : 60 items

 

garycz28

Posted

Thanks again. I verified that the bases listed in the config are in the copy/paste folder the spelling and everything is exact.  when I type the command it lists the other level of bases but does not list Hard bases at all, I included a screenshot. I also included the bases config in the profile folder.  thanks again for your help.

252490_1045.jpg

Hard Bases.json Medium Bases.json Easy Bases.json

nivex

Posted

hi, you have a json error in your Hard Bases.json profile

truee should be true

image.png.460c7d27901eebcb0d9fcd465aefbfab.png

garycz28

Posted

I corrected that error and it is working as hoped and I now have a much better understanding of how this plugin works! thank you so much for your help and support! Thanks you for adding so much to the Rust community! I want to give you a extra donation for your time how can I do that?

nivex

Posted

no problem! glad you enjoy it. if you want to donate you could just post a review instead.

garycz28

Posted (edited)

Already did 🙂 put in a good word on SRTBull's video on Raidable bases too.

 

Edited by garycz28
nivex

Posted

nice, thank you

nivex

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.