Could not find random positionSolved

No matter what paste file I use....this is what i get. 

Copy/Paste updated to latest. RB updated to latest.

I'm probably doing something wrong.  Thanks

what does it say when the plugin loads

nivex

what does it say when the plugin loads

12:43 [Info] [Raidable Bases] Grid initialization completed in 54 seconds and 271 milliseconds on a 3500 size map. 3319 locations are on the grid.

post everything it says pls

if its showing this message when you're trying to buy a raid and are within 300 meters of a ranch, fishing village, power station, and a couple others it will say it can't find position. you'll just have to wait for the next update for the fix

or replace the GetMonumentFloat method with:

        private float GetMonumentFloat(string monumentName)
        {
            switch (monumentName)
            {
                case "Abandoned Cabins":
                    return 54f;
                case "Abandoned Supermarket":
                    return 50f;
                case "Airfield":
                    return 200f;
                case "Barn":
                case "Large Barn":
                    return 75f;
                case "Fishing Village":
                case "Large Fishing Village":
                    return 50f;
                case "Bandit Camp":
                    return 125f;
                case "Junk Yard":
                    return 125f;
                case "Giant Excavator Pit":
                    return 225f;
                case "Harbor":
                    return 150f;
                case "HQM Quarry":
                    return 37.5f;
                case "Large Oil Rig":
                    return 200f;
                case "Launch Site":
                    return 300f;
                case "Lighthouse":
                    return 48f;
                case "Military Tunnel":
                    return 100f;
                case "Mining Outpost":
                    return 45f;
                case "Oil Rig":
                    return 100f;
                case "Outpost":
                    return 250f;
                case "Oxum's Gas Station":
                    return 65f;
                case "Power Plant":
                    return 140f;
                case "power_sub_small_1":
                case "power_sub_small_2":
                case "power_sub_big_1":
                case "power_sub_big_2":
                    return 30f;
                case "Ranch":
                    return 75f;
                case "Satellite Dish":
                    return 90f;
                case "Sewer Branch":
                    return 100f;
                case "Stone Quarry":
                    return 27.5f;
                case "Sulfur Quarry":
                    return 27.5f;
                case "The Dome":
                    return 70f;
                case "Train Yard":
                    return 150f;
                case "Water Treatment Plant":
                    return 185f;
                case "Water Well":
                    return 24f;
                case "Wild Swamp":
                    return 24f;
            }

            return 100f;
        }​

(20:34:43) | [Raidable Bases] Loaded 14 items from RaidableBases/Difficulty_Loot/Hard
(20:34:43) | [Raidable Bases] Loaded 28 items from RaidableBases/Difficulty_Loot/Nightmare
(20:34:43) | [Raidable Bases] Loaded 24 items from RaidableBases/Default_Loot
(20:34:43) | Calling 'OnServerInitialized' on 'RaidableBases v1.6.6' took 163ms
(20:34:43) | Loaded plugin Raidable Bases v1.6.6 by nivex
(20:35:25) | [Raidable Bases] Grid initialization completed in 41 seconds and 934 milliseconds on a 3500 size map. 3649 locations are on the grid.

I update that method as well.

same issue.  "Could not find a random position!"

 

I am trying to spawn a random base event.
/rbevent pvparmorbase nightmare
/rbevent pvparmorbase 4
/rbevent "Nightmare Bases" pvparmorbase 

all yield the error message.

i can paste 'pvparmorbase' fine.  i have other pastes that work as well that i've tried to spawn with rbevent...same error.

thank you for trying to help.

might be an issue with giving a name, just try /rbevent

nivex

might be an issue with giving a name, just try /rbevent

just /rbevent gives the same message ;(

Merged post

i removed everything, started over from scratch.  everything works perfectly.

guessing it was probably some issues with config or from upgrading.  all good now! 
great plugin and thank you for putting it together - i know it must've been difficult!  thank you again.

Locked automatically