#(vukajloo) Full inventory bug?

62 messages · Page 1 of 1 (latest)

white vapor
#

When i run task with - give smth and do the check if inv is full, i get possitive result if inv is full of unstackable items and negative if i just fill my inventory slots with for example 1 stone in every slot

harsh dawnBOT
#

(vukajloo) Full inventory bug?

harsh dawnBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

shell sapphire
#

!paste

white vapor
#

do i need to check if inventory slots are avaible?

severe viperBOT
wind forum
white vapor
shell sapphire
#

!t list_contents

severe viperBOT
# shell sapphire !t list_contents
Cannot Specify Searched Tag

Multiple possible tags: <InventoryTag.list_contents>, <InventoryTag.list_contents.simple>, <InventoryTag.list_contents.with_lore[<element>]>, <InventoryTag.list_contents.with_lore[<element>].simple>.

shell sapphire
#

!t <inventoryTag.list_contents>

severe viperBOT
white vapor
#

this is full inv

shell sapphire
white vapor
shell sapphire
white vapor
#

this is not

white vapor
#

for second it doesn't

wind forum
#

!t inventorytag.is_full

severe viperBOT
wind forum
#

yea that returns true only if it is completely full

#

could check with

#

!t <InventoryTag.empty_slots>

severe viperBOT
wind forum
#

or

#

!t inventory.can_fit

severe viperBOT
white vapor
# severe viper

- if !<player.inventory.can_fit[clastick]> && !<player.inventory.can_fit[feather]>

#

is this right if i want to check if inv can't fit this 2 items?

wind forum
#

can check multiple at a time

white vapor
#

if i empty one slot script goes

wind forum
#

!debug

severe viperBOT
# wind forum !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

white vapor
shell sapphire
severe viperBOT
shell sapphire
severe viperBOT
# shell sapphire !logcheck https://paste.denizenscript.com/View/129846
Server Version

Paper version 1.21.3-80-c2294d7 (MC: 1.21.3)

Plugin Version(s)

Denizen: 1.3.1-SNAPSHOT (build 7103-DEV) -- (:warning:Outdated build, behind by 22)

Checked For

@shell sapphire

UUID Version

3 (:triangular_flag_on_post: Offline)

Java Version

21.0.4 :white_check_mark:

Possibly Relevant Plugin(s)

Multiverse-Core: 4.3.14 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit: 2.12.2-SNAPSHOT-973;308e909 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

white vapor
#

why am i offline

#

just a sec

#

online mode is true

shell sapphire
#

Users who did not have a license accessed the server.

white vapor
#

ooh

#

can it be because map is downloaded?

rare pilot
#

@low igloo cracked @white vapor

low iglooBOT
shell sapphire
#

😦

white vapor
#

hey

#

here

rare pilot
#

you have a stray && in the wrong spot

#

but either way you want

#

!tag inventory.can_fit

severe viperBOT
rare pilot
#

^ note the |...

white vapor
#

|

#

yea

rare pilot
#

so, if <player.inventory.can_fit[clastick|feather_stick]>