openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Assertion failed! src/deps/Carp/Assert.pm

Open Mortimal opened this issue 9 years ago • 8 comments

After fly wings.

OpenKore version what-will-become-2.1 Network state = 5 Network handler = Network::DirectConnection SVN revision: unknown Loaded plugins: plugins/alertsound.pl (alertsound; description: plays sounds on certain events) plugins/bulkbuyer.pl (bulkbuyer; description: Buying bulk from the same npc) plugins/macro/macro.pl (macro; description: allows usage of macros) plugins/macroinclude.pl (macroinclude; description: On-Off !include in macros.txt. manticora) plugins/profiles/profiles.pl (profiles; description: Profiles Selector) plugins/xconf.pl (xConf; description: commands for change items_control, mon_control, pickupitems)

Error message: Assertion failed! at F:/Static/Openkore/Bot/TristanRO/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x67d9c5c)', 'HASH(0x6b0115c)') called at src/Misc.pm line 1809 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1696 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'HASH(0x68a5ae4)') called at src/Network/PacketParser.pm line 268 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/PacketParser.pm line 402 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'Network::MessageTokenizer=HASH(0x3433e94)', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/functions.pl line 736 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x436a884)') called at openkore.pl line 97 main::__start() called at start.pl line 136

Stack trace: Assertion failed! at F:/Static/Openkore/Bot/TristanRO/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x67d9c5c)', 'HASH(0x6b0115c)') called at src/Misc.pm line 1809 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1696 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'HASH(0x68a5ae4)') called at src/Network/PacketParser.pm line 268 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/PacketParser.pm line 402 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'Network::MessageTokenizer=HASH(0x3433e94)', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/functions.pl line 736 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x436a884)') called at openkore.pl line 97 main::__start() called at start.pl line 136 at F:/Static/Openkore/Bot/TristanRO/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x67d9c5c)', 'HASH(0x6b0115c)') called at src/Misc.pm line 1809 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1696 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'HASH(0x68a5ae4)') called at src/Network/PacketParser.pm line 268 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', '\x{fa}\x{7}\x{1}\x{0}\x{19}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/Network/PacketParser.pm line 402 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)', 'Network::MessageTokenizer=HASH(0x3433e94)', 'Network::Receive::kRO::RagexeRE_2013_08_07a=HASH(0x4728aa4)') called at src/functions.pl line 736 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x436a884)') called at openkore.pl line 97 main::__start() called at start.pl line 136

Also with some combination of items getting incorrect Arrows from storage or no seen them at all. Storage command shows them correct!

XKore 2 mode.

Mortimal avatar Mar 03 '17 11:03 Mortimal

Not only in xkore 2, xkore 0 also

Mortimal avatar Mar 08 '17 14:03 Mortimal

still happened. Assertion failed!

at C:/Rakki Openkore/openkore-rakkiRO-at-least-master/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x5ea4d74)', 'HASH(0x61239fc)') called at src/Misc.pm line 1828 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1682 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'HASH(0x6633d7c)') called at src/Network/PacketParser.pm line 267 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/PacketParser.pm line 401 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'Network::MessageTokenizer=HASH(0x35fcbb4)', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/functions.pl line 737 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x44f9e2c)') called at openkore.pl line 97 main::__start() called at start.pl line 136

Stack trace: Assertion failed! at C:/Rakki Openkore/openkore-rakkiRO-at-least-master/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x5ea4d74)', 'HASH(0x61239fc)') called at src/Misc.pm line 1828 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1682 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'HASH(0x6633d7c)') called at src/Network/PacketParser.pm line 267 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/PacketParser.pm line 401 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'Network::MessageTokenizer=HASH(0x35fcbb4)', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/functions.pl line 737 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x44f9e2c)') called at openkore.pl line 97 main::__start() called at start.pl line 136 at C:/Rakki Openkore/openkore-rakkiRO-at-least-master/src/deps/Carp/Assert.pm line 271 Carp::Assert::assert('') called at src/InventoryList.pm line 240 InventoryList::remove('InventoryList::Inventory=HASH(0x5ea4d74)', 'HASH(0x61239fc)') called at src/Misc.pm line 1828 Misc::inventoryItemRemoved(undef, 1) called at src/Network/Receive.pm line 1682 Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'HASH(0x6633d7c)') called at src/Network/PacketParser.pm line 267 Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/Receive.pm line 137 Network::Receive::parse('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', '\x{fa}\x{7}\x{1}\x{0}\x{4}\x{0}\x{1}\x{0}', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/Network/PacketParser.pm line 401 Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)', 'Network::MessageTokenizer=HASH(0x35fcbb4)', 'Network::Receive::kRO::RagexeRE_2015_11_04a=HASH(0x6626564)') called at src/functions.pl line 737 main::mainLoop_initialized() called at src/functions.pl line 75 main::mainLoop() called at src/Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x44f9e2c)') called at openkore.pl line 97 main::__start() called at start.pl line 136

Razalka avatar Apr 12 '17 12:04 Razalka

Which server are you playing on, which version of openkore are you using?

Henrybk avatar Apr 12 '17 17:04 Henrybk

@Henrybk Openkore type : OpenKore what-will-become-2.1 Server : Rakki-RO (103.253.145.223/Ro.Rakki.org) i used @m3kgin3er fork and also came from #497

Razalka avatar Apr 12 '17 17:04 Razalka

@m3kgin3er Email sent.

Razalka avatar Apr 17 '17 04:04 Razalka

This happens when something gets removed from the inventory and we're not expecting it/not notified about it. I've never seen it happen on official servers, but it is quite common in some kRO serverTypes/private servers. I ran into it when using fly/butterfly wings (as @m3kgin3er (Skylord) mentioned), specially with "emergency" teleports but I don't know why

lututui avatar Apr 26 '17 22:04 lututui

Finally.

Network::Receive::inventory_item_removed('Network::Receive::kRO::RagexeRE_2013_08_07a

Is this fly wing unstackable ? I don't know why, but looks like the item is not being parsed. I don't know if InventoryList must process inventory item removed?

ghost avatar Aug 06 '17 23:08 ghost

continue in #2458

alisonrag avatar May 14 '19 14:05 alisonrag