Crash - GetItemInfoByKeywords
Posted: Tue Feb 03, 2015 7:41 pm
Zippy, no idea why this is suddenly so crashy, but it's just started happening after the last few commits. Pretty sure people have been using .item search for some time without incident.
Lokked and I talked, now that the Telon Exchange shows all the items (in a sexier manner), we agree that .item search is no longer needed and can be removed or restricted by Token. This is your call though, if you want to fix it, go ahead otherwise I'll give it a "G" and lock it out from use.
Code:
itr.second->name is unreadable
Console:
[quote]19:36:59.285 D Command Player 'Freddy Hill' used command '.item:list' (38)[/quote]
Lokked and I talked, now that the Telon Exchange shows all the items (in a sexier manner), we agree that .item search is no longer needed and can be removed or restricted by Token. This is your call though, if you want to fix it, go ahead otherwise I'll give it a "G" and lock it out from use.
Code: Select all
WorldServer.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::size() Line 1733 C++
WorldServer.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right, unsigned int _Roff, unsigned int _Count) Line 1105 C++
WorldServer.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right) Line 736 C++
> WorldServer.exe!ItemInfoList::GetItemInfoByKeywords(const char * name) Line 152 C++
WorldServer.exe!CommandProcess::CommandItemList(std::shared_ptr<Client> & client, Separator * sep, unsigned char cmd_index, bool world_client) Line 2693 C++
WorldServer.exe!CommandProcess::Process(std::shared_ptr<Client> & client, Separator * sep, unsigned char command_index, bool world_client) Line 247 C++
WorldServer.exe!ChunkServer::HandleChatSay(std::shared_ptr<Client> & client, PacketStruct * packet_struct) Line 998 C++
WorldServer.exe!ChunkServer::ProcessPackets() Line 340 C++
WorldServer.exe!ChunkPacketThread(void * data) Line 134 C++
WorldServer.exe!ThreadRun(void * arg) Line 77 C++
WorldServer.exe!_callthreadstart() Line 255 C
WorldServer.exe!_threadstart(void * ptd) Line 239 C
kernel32.dll!75f1338a() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77389f72() Unknown
ntdll.dll!77389f45() Unknown
Code: Select all
// Find the item for (auto &itr : item_list) { // Convert each to lower case for search purposes==> string item_name = itr.second->name; string search(name);Console:
[quote]19:36:59.285 D Command Player 'Freddy Hill' used command '.item:list' (38)[/quote]