Jump to content

AssertionException: split_Amount <= 0 issue

Pending 1.0.8

Bandy
Bandy

Posted

hello!

i have problems when custom item is created and spawned in inventory, when try to split the stack or move item in another slot, i get disconnected with this error in console:

AssertionException: split_Amount <= 0

Assertion failure. Value was False

Expected: True

and this in game (see pic)

    "money.coin": {
      "Shortname": "money.coin",
      "ParentShortname": "RHIB",
      "ItemId": 441007590,
      "IconFileId": 0,
      "UseIconUrl": false,
      "IconUrl": "",
      "SkinId": 3738130919,
      "DisplayName": "Money Coin",
      "Description": "",
      "MaxStackSize": 100000,
      "Category": "",
      "Flags": 0,
      "StartOnFire": false,
      "Repairable": false,
      "Craftable": false,
      "DefaultBlueprintUnlocked": false,
      "WorkbenchLevelRequired": 0,
      "BlueprintIngredients": "",
      "StaticOwnerships": "Money Coin="
    },

ive tried all categories, tried parent shortname RHIB and coal, reloaded plugin after every change, always the same disconnect error 😞

Kind regards, Bandy

 

error.png

error.png

Bandy

Posted

sorry for wasting your time...the problem was stack controller, not your plugin...can change status to close.

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.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164.2k
Total sales
Payments
3.5m
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.