Jump to content

Bots not spawning at Server Restart

Pending 0.2.2

Cyclops2100
Cyclops2100

Posted

Running into an issue with bots not spawning after a server restart. I have to login and type "/rnpc init" and then they will spawn in. Otherwise they never do.

walkinrey

Posted

When server is initialized, plugin waits 1 sec and calls /rnpc init to respawn bots, i'm not sure why it doesn't work on your server, please try to delete RoamingNPCs data files and check again

Cyclops2100

Posted

Tried deleting the data folder inside of carbon. That didnt help. 

Here is the error message at startup.

Failed to call internal hook 'OnServerInitialized' on plugin 'RoamingNPCs v0.2.9' [352240293] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.RoamingNPCs+ListWeapons.Init() in /home/container/carbon/plugins/RoamingNPCs.cs:line 1724
   at void Oxide.Plugins.RoamingNPCs+BotSetup.Init() in /home/container/carbon/plugins/RoamingNPCs.cs:line 1248
   at void Oxide.Plugins.RoamingNPCs.OnServerInitialized() in /home/container/carbon/plugins/RoamingNPCs.cs:line 2657
   at object Oxide.Plugins.RoamingNPCs.InternalCallHook(uint hook, object[] args) in RoamingNPCs.cs/Internal:line 154

Cyclops2100

Posted

Also have the other RNPC addons: heli pilots, bike drivers, and population.

The heli and bike drivers are spawning at startup

 

walkinrey

Posted

9 hours ago, Cyclops2100 said:

Tried deleting the data folder inside of carbon. That didnt help. 

Here is the error message at startup.

Failed to call internal hook 'OnServerInitialized' on plugin 'RoamingNPCs v0.2.9' [352240293] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.RoamingNPCs+ListWeapons.Init() in /home/container/carbon/plugins/RoamingNPCs.cs:line 1724
   at void Oxide.Plugins.RoamingNPCs+BotSetup.Init() in /home/container/carbon/plugins/RoamingNPCs.cs:line 1248
   at void Oxide.Plugins.RoamingNPCs.OnServerInitialized() in /home/container/carbon/plugins/RoamingNPCs.cs:line 2657
   at object Oxide.Plugins.RoamingNPCs.InternalCallHook(uint hook, object[] args) in RoamingNPCs.cs/Internal:line 154

Something wrong with your config, please check your shortnames and item ids

Cyclops2100

Posted

I deleted the config file and this fixed it. Not sure the setting that I made that caused the issue but it is resolved. I am starting to slowly restore old settings. 

2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144k

Files Sold

Total number of files sold.

3.1m

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.