Jump to content

Killing an npc disconnects

Pending 1.9.7

ahabulous
ahabulous

Posted

Tested out the plugin solo with a simple base, worked great. then did it as part of a trio, and each time any of us killed an NPC, we were disconnected from the game with a message like "npc projectile error" or something like that, couldn't screencap it fast enough. This only happened on player kills, bots dying from turrets or mines didn't cause issues.

ahabulous

Posted

occurs to me the error might be caused by something disallowed in the loot profile, pasted below. maybe not allowed to drop HV ammo or rockets? or the special armor?

 

{
  "MaxItems": 500
  "MinItems": 6,
  "items": [
    {
      "item": "ammo.rifle.hv",
      "skin": 0,
      "name": null,
      "amountMax": 128,
      "amountMin": 1,
      "location": "containerMain"
    },
    {
      "item": "ammo.rifle.hv",
      "skin": 0,
      "name": null,
      "amountMax": 128,
      "amountMin": 1,
      "location": "containerMain"
    },
    {
      "item": "ammo.rocket.hv",
      "skin": 0,
      "name": null,
      "amountMax": 3,
      "amountMin": 1,
      "location": "containerMain"
    },
    {
      "item": "bandage",
      "skin": 0,
      "name": null,
      "amountMax": 3,
      "amountMin": 1,
      "location": "containerBelt"
    },
    {
      "item": "syringe.medical",
      "skin": 0,
      "name": null,
      "amountMax": 2,
      "amountMin": 1,
      "location": "containerBelt"
    },
    {
      "item": "rifle.ak",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerBelt"
    },
    {
      "item": "hoodie",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "pants",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "tactical.gloves",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "ballistic.helmet",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "ballistic.legarmor",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "largebackpack",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "ballistic.vest",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    },
    {
      "item": "shoes.boots",
      "skin": 0,
      "name": null,
      "amountMax": 1,
      "amountMin": 1,
      "location": "containerWear"
    }
  ]
}

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.8m
Total downloads
Customers
11.7k
Customers served
Files Sold
167k
Total sales
Payments
3.6m
Processed total
×
×
  • 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.