Not able to give kits due to inventory being "full" when not

This is my configuration:

AntiItems.json

{
"Settings": {
"Components": {
"gears": 1000,
"metalpipe": 1000,
"metalspring": 1000,
"propanetank": 1000,
"riflebody": 1000,
"roadsigns": 1000,
"rope": 1000,
"semibody": 1000,
"sewingkit": 1000,
"sheetmetal": 1000,
"smgbody": 1000,
"tarp": 1000,
"techparts": 1000,
"metalblade": 1000,
"ammo.shotgun.fire": 1000,
"ammo.shotgun.slug": 1000,
"ammo.pistol.fire": 1000,
"ammo.pistol.hv": 1000,
"ammo.rifle.incendiary": 1000,
"ammo.rifle.hv": 1000,
"ammo.grenadelauncher.he": 1000,
"ammo.grenadelauncher.buckshot": 1000
},
"Refresh Time": 10.0,
"Use Active Item Refreshing": true
}
}

10 second refresh time is wildly unoptimized. 

 

Using the kits plugin? That plugin is broken as far as determining free space. I simply changed the kits plugin to ignore slots available, then put reasonable cooldowns for the kits. If it's a spawn kit conflict, you can add a delay to the anti items giving items.

 

I'd set the refresh time to 300.0 or 600.0.

i submitted a patch for the Kits plugin to fix this

8SecSleeper

10 second refresh time is wildly unoptimized. 

 

Using the kits plugin? That plugin is broken as far as determining free space. I simply changed the kits plugin to ignore slots available, then put reasonable cooldowns for the kits. If it's a spawn kit conflict, you can add a delay to the anti items giving items.

 

I'd set the refresh time to 300.0 or 600.0.

how? are you doing this?

nivex

i submitted a patch for the Kits plugin to fix this

you have an eta on the update? thanks in advance.

its not about me. its about the dev accepting the patch.

ahh thanks i got rid of it too broken thanks anyway! Nivex

nivex

its not about me. its about the dev accepting the patch.

Is there any place we can view the patch you submitted? Seems to be an issue still, for me atleast.

no, and I don't have it anymore either from the looks of it

basically there's hardcoded integers in it. 24, 6, and 7. they need changed to use the actual capacity of each container instead

24 would be replaced with player.inventory.containerMain.capacity
6 would be replaced with player.inventory.containerBelt.capacity
7 would be replaced with player.inventory.containerWear.capacity

Thanks for the info, appreciated. I've increased Main.capacity by the number of items I had from this plugin and seems to work.