Jump to content

NPC not loading after server restart

Not a Bug 1.3.1

Rebel25
Rebel25

Posted

Hi, it looks like the BountyNPC to sell tokens too, doesn't auto-respawn after the server restarts .. Like it's not saving it's location

The bots spawn fine, no problems at all there ... but the NPC I have to spawn everytime after restart myself...

Rebel25

Posted

I'm running the plugin under oxide

Wrecks

Posted

Do dynamic NPC spawn false if you’re doing it yourself 

Rebel25

Posted

 "Dynamic (Bandit Camp) Spawn Of The NPC Enabled?": false,

It was set to false .. 

In the DATA folder the "Customspawns.json" I can see all the spawnpoints I have set for the bots .. so that is working fine. but where is the spawnpoint for the Npc being saved ?

The NPCdata.json file is empty ..

I disabled the lmicense thing though : could that be the problem ? or does it delete it on wipe ? since I'm still updating my map.

Here are my settings ?

 

{

  "Spawn Bots On Plugin Reload?": true,

  "Amount to Spawn On Plugin Reload(Must be less than Max Active Bounties)?": 4,

  "Announce Top Bounty Hunters To Chat Every x Seconds (0 To Disable)": 0,

  "Bounty Prefab Path": "assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab",

  "Discord Webhook URL": "INSERT_WEBHOOK_URL",

  "Enable Skill Tree Xp Gain?": false,

  "Require License for Xp Gain?": false,

  "Enable Monument Spawns?": false,

  "Enable Custom Spawns?": true,

  "Clear Custom Spawns File On Wipe?": false,

  "Chat Icon": 0,

  "Maximum Active Bounties": 5,

  "Drop Bounty Tokens In Pouch?": true,

  "Base Item for the Bounty Tokens?": "blood",

  "Tokens Marketable to the Bounty NPC?": true,

  "Console Command to Purchase a Bounty License? (For GUI Shops)": "buybl",

  "Chat Command to Purchase a Bounty License?": "buybl",

  "Require a Bounty License To Cash In Tokens to the Bounty NPC?": false,

  "Price to Purchase a Bounty License?": 250,

  "Lose Bounty License on Death?": false,

  "Clear Licenses on Wipe?": false,

  "Dynamic Spawn at this Monument (Requires your Position Input to be set to match Monument if Changing from Bandit.)": "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab",

  "Dynamic Spawn Points (Relative to Monument)": [

    {

      "x": 64.86,

      "y": 2.0,

      "z": -46.2

    },

    {

      "x": -0.58,

      "y": 0.83,

      "z": -68.93

    }

  ],

  "Dynamic Spawn Rotation Correction": 45.0,

  "Clear Kill Counters on Wipe?": false,

  "Dynamic (Bandit Camp) Spawn Of The NPC Enabled?": false,

  "Economy Plugin - 1 Economics - 2 Server Rewards": 1,

  "Maximum Amount of Like Tokens Sold at a Time": 3,

  "NPC Interaction Cooldown In Seconds": 3.0,

  "NPC Kit Enabled?": false,

  "NPC Kit Name?": "",

  "Amount of Time In Seconds Between Bounty Spawns": 600,

  "Amount of Time In Seconds for a Bounty to Despawn": 1200,

  "Enable Spawn SFX?": true,

  "Enable Despawn SFX?": true,

  "Announce to Chat When Bounty is Active?": false,

  "Announce to Chat When Bounty is Claimed?": false,

  "Enable Marker Manager from UMOD, To Mark Bounties?": true,

  "Enable Marker Manager from UMOD, To Mark NPC Location?": true,

  "Bounty Tiers": [

    {

      "Tier Name": "Tier 1 Bounty Target",

      "Skill Tree Xp Value": 100.0,

      "Bounty Kit Enabled?": false,

      "Bounty Kit Name?": "",

      "Bounty Clothing Options": [

        {

          "Shortname": "hazmatsuittwitch",

          "Skin": 0

        }

      ],

      "Bounty Total Health": 150,

      "Bounty Damage Scaling": 1.0,

      "Aim Cone Scale": 2.0,

      "Weapon to Equip?": "rifle.ak",

      "Weapon Skin ID": 3140321604,

      "Bounty Token Name": "Tier 1 Bounty Token",

      "Bounty Token Skin": 3155517347,

      "Is the Token Marketable to the Bounty NPC?": true,

      "Sale Price?": 80.0,

      "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": -10.0,

      "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 5.0,

      "Min Item Drop": 1,

      "Max Item Drop": 3,

      "Bounty Optional Drops": [

        {

          "Shortname": "stones",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 3,

          "Amount Max": 10,

          "Chance to Drop": 20.0

        },

        {

          "Shortname": "scrap",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 5,

          "Amount Max": 30,

          "Chance to Drop": 30.0

        },

        {

          "Shortname": "paper",

          "Skin": 3048132587,

          "Custom Name": "Cash",

          "Amount Min": 1,

          "Amount Max": 3,

          "Chance to Drop": 40.0

        }

      ]

    },

    {

      "Tier Name": "Tier 2 Bounty Target",

      "Skill Tree Xp Value": 200.0,

      "Bounty Kit Enabled?": false,

      "Bounty Kit Name?": "",

      "Bounty Clothing Options": [

        {

          "Shortname": "hazmatsuit.arcticsuit",

          "Skin": 0

        }

      ],

      "Bounty Total Health": 225,

      "Bounty Damage Scaling": 1.5,

      "Aim Cone Scale": 2.5,

      "Weapon to Equip?": "rifle.lr300",

      "Weapon Skin ID": 2715918380,

      "Bounty Token Name": "Tier 2 Bounty Token",

      "Bounty Token Skin": 3155517539,

      "Is the Token Marketable to the Bounty NPC?": true,

      "Sale Price?": 140.0,

      "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": -5.0,

      "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 15.0,

      "Min Item Drop": 1,

      "Max Item Drop": 3,

      "Bounty Optional Drops": [

        {

          "Shortname": "metal.fragments",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 200,

          "Amount Max": 500,

          "Chance to Drop": 30.0

        },

        {

          "Shortname": "scrap",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 240,

          "Amount Max": 300,

          "Chance to Drop": 30.0

        },

        {

          "Shortname": "paper",

          "Skin": 3048132587,

          "Custom Name": "Cash",

          "Amount Min": 10,

          "Amount Max": 15,

          "Chance to Drop": 40.0

        }

      ]

    },

    {

      "Tier Name": "Tier 3 Bounty Target",

      "Skill Tree Xp Value": 300.0,

      "Bounty Kit Enabled?": false,

      "Bounty Kit Name?": "",

      "Bounty Clothing Options": [

        {

          "Shortname": "scientistsuit_heavy",

          "Skin": 0

        }

      ],

      "Bounty Total Health": 325,

      "Bounty Damage Scaling": 2.0,

      "Aim Cone Scale": 3.0,

      "Weapon to Equip?": "rifle.ak.ice",

      "Weapon Skin ID": 0,

      "Bounty Token Name": "Tier 3 Bounty Token",

      "Bounty Token Skin": 3155517732,

      "Is the Token Marketable to the Bounty NPC?": true,

      "Sale Price?": 210.0,

      "Max Discount Buy Variation in %? (Negative Values) (To Simulate Supply & Demand)": -3.0,

      "Maximum Bonus Variation in %? (Positive Values) (To Simulate Supply & Demand)": 20.0,

      "Min Item Drop": 1,

      "Max Item Drop": 3,

      "Bounty Optional Drops": [

        {

          "Shortname": "metal.refined",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 200,

          "Amount Max": 500,

          "Chance to Drop": 30.0

        },

        {

          "Shortname": "scrap",

          "Skin": 0,

          "Custom Name": "",

          "Amount Min": 440,

          "Amount Max": 600,

          "Chance to Drop": 30.0

        },

        {

          "Shortname": "paper",

          "Skin": 3048132587,

          "Custom Name": "Cash",

          "Amount Min": 20,

          "Amount Max": 35,

          "Chance to Drop": 40.0

        }

      ]

    }

  ],

  "NPC Weapon": "rifle.bolt",

  "NPC Weapon Skin": 819149392,

  "NPC Clothing Options": [

    {

      "Shortname": "burlap.trousers",

      "Skin": 1760352876

    },

    {

      "Shortname": "burlap.shirt",

      "Skin": 1760350097

    },

    {

      "Shortname": "shoes.boots",

      "Skin": 547978997

    },

    {

      "Shortname": "hat.boonie",

      "Skin": 3077061771

    },

    {

      "Shortname": "burlap.gloves",

      "Skin": 1338273501

    }

  ]

}

 

Wrecks

Posted

It deletes it on wipe, unload it delete your data folder for bounty hunter and place it again when you reload it, if your dynamic is false, it will save that position. 
 

 

Rebel25

Posted

ah ok .. ty ... that seems to work that way 🙂

Wrecks

Posted

Just reload it to confirm if he keeps popping up you’re good 

Wrecks

Posted

Changed Status from Pending to Not a Bug

1.8m

Downloads

Total number of downloads.

8.4k

Customers

Total customers served.

127.3k

Files Sold

Total number of files sold.

2.6m

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.