Jump to content

Bots aren't spawning in

Pending 1.1.2

Eddie
Eddie

Posted

Getting this error, no bots are spawning in at all

 

 

Failed to run a 1.00 timer in 'BotReSpawn v1.1.2' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.BotReSpawn.AddProfile (UnityEngine.GameObject go, System.String name, Oxide.Plugins.BotReSpawn+Profile monument, UnityEngine.Vector3 pos) [0x0014e] in <b583301e92084d67ba9eb3e8ece4d73d>:0 
  at Oxide.Plugins.BotReSpawn.CheckMonuments (System.Boolean add) [0x00198] in <b583301e92084d67ba9eb3e8ece4d73d>:0 
  at Oxide.Plugins.BotReSpawn.SetupProfiles () [0x00000] in <b583301e92084d67ba9eb3e8ece4d73d>:0 
  at Oxide.Plugins.BotReSpawn.<OnServerInitialized>m__1 () [0x0006f] in <b583301e92084d67ba9eb3e8ece4d73d>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

Eddie

Posted

we upload a pre-set custom profile that used to have it's migrationdata (for monuments) auto filled via BotReSpawn but that it's no longer happening

Doughaffernen

Posted

Hi, after Rust update 01.09.2022 no NPC Spawning. What can i do?

 

  • Administrator
Steenamaroo

Posted

Hi @Eddie
Are you sure there are no other errors prior to that one?
The code to add MigrationData where it's missing is still there, so that shouldn't cause a problem.
Let me know if you see other errors, please. If not, could you send me the data file that you import, please?

@Doughaffernen

Since there was a wipe yesterday, is Disable_Non_Parented_Custom_Profiles_After_Wipe set to true?
If so, your custom profiles (without Parent_Monument reference) have been disabled.
This feature is so that profiles don't start spawning in places that don't make sense since, most likely, the map has changed.

You'd need to go through the profiles in UI and set AutoSpawn to true.
If that's not the problem, please let me know.

Doughaffernen

Posted

Thx  for ur Help, i will try it later.

 

Wishes from Germany😉

  • Like 1
  • Administrator
Steenamaroo

Posted (edited)

Go into the BotReSpawn UI for that profile, edit spawnpoints, then click show spawnpoints.
If any of the spawnpoint numbers show as red instead of green, then there's no navmesh at that location.

If that's the case you'd need to move the spawnpoints to somewhere suitable.

If you had custom profiles with custom spawnpoints working well before the wipe, then this happened after wipe, that would make sense,
because the terrain where you had those npcs spawning is going to have changed, assuming you switched maps.

Edited by Steenamaroo
  • Administrator
Steenamaroo

Posted

I'm only speculating. You'd have to follow my instructions to confirm but, if I'm right, you'd want to delete the custom spawn points then add new ones where you want them to be.

Doughaffernen

Posted

i deleted all custom points, than create 1 ne with 120 range and than nothing happens agai with  this failure: [BotReSpawn] FAILED TO GET ENOUGH SPAWN POINTS FOR PROFILE launch.

  • Administrator
Steenamaroo

Posted

"FAILED TO GET ENOUGH SPAWN POINTS FOR PROFILE"
This message means UseCustomSpawns is not set to true.

If you want to use custom spawn points you need to make sure that UseCustomSpawns is set to true and that there are custom spawn points added in valid locations.
If you don't, and you want the profile to just find random spawnpoints in the area, you may need to increase the profile's radius or, if it's in the wrong place, move the profile to the correct place.


Given that the profile is called "launch", I presume you want it at/near the launch site?
If that's the case then set Parent_Monument for that profile to Launch Site 0 before doing anything else.

That way all of this relocation will happen automatically, in future.

Doughaffernen

Posted

I tried to spwn with custom spaw ponts "true" but nothing, always the same in Rustadmin not enough spawnponts, i tried 2 NPC with 120 radius and 10 with 60 radius. nothing is going.

Befor 2 Weeks it was running without problems. but now? hmm

Doughaffernen

Posted

And at the Supermarkets on map, nobody spawn else.

 

  • Administrator
Steenamaroo

Posted

Hi,

If you want to use custom spawn points with your profile you have to set UseCustomSpawns true, and also add in some custom spawn points.
You can use the UI 'Edit Spawnpoints' button to manage spawnpoints...add new ones, check where existing ones are, remove spawnpoints, etc.

If you click 'Show all spawnpoints' it will show you where they are, by number.
If the number is green, all is well. If it's red then there's no navmesh at that precise point and that npc will not spawn.

If you do not want to use custom spawn points then set UseCustomSpawns false and just use the Radius setting to determine the area in which the npcs will spawn.
If that's what you're doing use the 'Show all profiles' button to confirm that your custom profile is where you think it is.
If it's not in the right place, go to the right place then click "Move profile here" for that profile.

At the Supermarkets you most likely just need a slightly larger spawn radius, as BotReSpawn doesn't (randomly) spawn npcs inside or under buildings.
The same is true at the Dome; larger radius, or custom spawnpoints, is the best way to go there.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.