You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My players reported me an problem: they couldn't hit any monster or animal after opening inventory and shifting items in it, until they use containers such as workbench. Next time they open inventory, the same situation comes back. Monsters and animals can only be re-hitted after the player uses the containers (such as workbench) again. The information reported by the console is: [NC+] Player failed ImpossibleHit: tried to hit an entity while performing another action (Tags: inventoryopen) (VL3).
So How should I do to solve this problem? Should I level up the VL or disable the ImpossibleHit check?
The text was updated successfully, but these errors were encountered:
Will need to test it.
Unfortunately, clients don't send any event when they open their own inventory, so we have to rely to other, indirect methods to know if the inventory has been opened.
The current implementation will remember the time at which we received an inventory click event, from that point on, NCP will assume the inventory to be opened, until we receive an inventory close event (which the client does send for its own inventory thankfully) or other events that would forcibly close the inventory.
So, plugins that mess with inventory close events can cause troubles here.
My players reported me an problem: they couldn't hit any monster or animal after opening inventory and shifting items in it, until they use containers such as workbench. Next time they open inventory, the same situation comes back. Monsters and animals can only be re-hitted after the player uses the containers (such as workbench) again. The information reported by the console is: [NC+] Player failed ImpossibleHit: tried to hit an entity while performing another action (Tags: inventoryopen) (VL3).
So How should I do to solve this problem? Should I level up the VL or disable the ImpossibleHit check?
The text was updated successfully, but these errors were encountered: