openkore
openkore copied to clipboard
Assertion (invIndex must be defined) failed, after running tests
Half of the time tests will pass, the other half of the time I get this error:
1..1043
(in cleanup) Assertion (invIndex must be defined) failed!
at /home/rachel/Projects/OpenKore/openkore/src/test/../deps/Carp/Assert.pm line 271.
Carp::Assert::assert('', 'invIndex must be defined') called at /home/rachel/Projects/OpenKore/openkore/src/test/../InventoryList.pm line 288
InventoryList::doClear('InventoryList::Inventory=HASH(0x2a6c190)') called at /home/rachel/Projects/OpenKore/openkore/src/test/../Utils/ObjectList.pm line 232
ObjectList::clear('InventoryList::Inventory=HASH(0x2a6c190)') called at /home/rachel/Projects/OpenKore/openkore/src/test/../InventoryList.pm line 80
InventoryList::DESTROY('InventoryList::Inventory=HASH(0x2a6c190)') called at ./unittests.pl line 0
eval {...} called at ./unittests.pl line 0
How about invIndex?
Try loading only nonstackable items in inventory and later only stackable.
M (i guess)@farrainbow
I had received this error using the wrong packet ID when sending use item.