Tallywa
-
Posts
307 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Tallywa
-
-
Hello i have bug with costume and ring 6/7 bonus its crash the down and my sysserr :
number_ex: number(): first argument is bigger than second argument 0 -> -1, item_attribute.cpp 418
in lign 418
const TItemAttrTable& r = g_map_itemRare[avail[number(0, avail.size() - 1)]];
game.core
(gdb) bt full #0 0x081731e9 in CItem::AddRareAttribute (this=0x0) at item_attribute.cpp:418 i = 679644607 count = 696344576 pos = <value optimized out> nAttrSet = 696328330 avail = {<std::_Vector_base<int,std::allocator<int> >> = { _M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>}, _M_start = 0x5, _M_finish = 0x28a9977c, _M_end_of_storage = 0x5}}, <No data fields>} nAttrLevel = <value optimized out> pszIP = <value optimized out> #1 0x28c5dbe6 in basename_r () from /usr/lib32/libc.so.7 No symbol table info available. #2 0x083a73ae in CSemaphore::Wait () No symbol table info available. #3 0x083a661d in CAsyncSQL::ChildLoop () No symbol table info available. #4 0x083a6e7e in AsyncSQLThread () No symbol table info available. #5 0x287a8bbc in pthread_condattr_init () from /usr/lib32/libthr.so.3 No symbol table info available. #6 0x00000000 in ?? () No symbol table info available.
I need your help please
-
I would like to implement a new item, and again bonus in the item_attr table .
-
-
Hello I have a problem with this function:
if (item->GetType() & ITEM_RING && item->GetSubType()) { if ((GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't put two same items in the same time.")); return false; } }
I wish I could block the use of two items with an identical subtype. How to do?
-
-
-
mmmh lame = shop offline?
-
-
-
-
#ifndef DEBUG_ALLOC void ITEM_MANAGER::DestroyItem(LPITEM item) #else void ITEM_MANAGER::DestroyItem(LPITEM item, const char* file, size_t line) #endif { if (item->GetSectree()) item->RemoveFromGround(); if (item->GetOwner()) { if (CHARACTER_MANAGER::instance().Find(item->GetOwner()->GetPlayerID()) != NULL) { sys_err("DestroyItem: GetOwner %s %s!!", item->GetName(), item->GetOwner()->GetName()); item->RemoveFromCharacter(); } else { sys_err ("WTH! Invalid item owner. owner pointer : %p", item->GetOwner()); } } TR1_NS::unordered_set<LPITEM>::iterator it = m_set_pkItemForDelayedSave.find(item); if (it != m_set_pkItemForDelayedSave.end()) m_set_pkItemForDelayedSave.erase(it); DWORD dwID = item->GetID(); sys_log(2, "ITEM_DESTROY %s:%u", item->GetName(), dwID); if (!item->GetSkipSave() && dwID) { DWORD dwOwnerID = item->GetLastOwnerPID(); db_clientdesc->DBPacketHeader(HEADER_GD_ITEM_DESTROY, 0, sizeof(DWORD) + sizeof(DWORD)); db_clientdesc->Packet(&dwID, sizeof(DWORD)); db_clientdesc->Packet(&dwOwnerID, sizeof(DWORD)); } else { sys_log(2, "ITEM_DESTROY_SKIP %s:%u (skip=%d)", item->GetName(), dwID, item->GetSkipSave()); } if (dwID) m_map_pkItemByID.erase(dwID); m_VIDMap.erase(item->GetVID()); #ifdef M2_USE_POOL pool_.Destroy(item); #else #ifndef DEBUG_ALLOC M2_DELETE(item); #else M2_DELETE_EX(item, file, line); #endif #endif }
-
and adapte this code for use with transmute system?
-
LPITEM CItem::RemoveFromCharacter() { if (!m_pOwner) { sys_err("Item::RemoveFromCharacter owner null"); return (this); } LPCHARACTER pOwner = m_pOwner; if (m_bEquipped) // ÀåÂøµÇ¾ú´Â°¡? { Unequip(); //pOwner->UpdatePacket(); SetWindow(RESERVED_WINDOW); Save(); return (this); } else { if (GetWindow() != SAFEBOX && GetWindow() != MALL) { if (IsDragonSoul()) { if (m_wCell >= DRAGON_SOUL_INVENTORY_MAX_NUM) sys_err("CItem::RemoveFromCharacter: pos >= DRAGON_SOUL_INVENTORY_MAX_NUM"); else pOwner->SetItem(TItemPos(m_bWindow, m_wCell), NULL); } else { TItemPos cell(INVENTORY, m_wCell); if (false == cell.IsDefaultInventoryPosition() && false == cell.IsBeltInventoryPosition()) // ¾Æ´Ï¸é ¼ÒÁöÇ°¿¡? sys_err("CItem::RemoveFromCharacter: Invalid Item Position"); else { pOwner->SetItem(cell, NULL); } } } m_pOwner = NULL; m_wCell = 0; SetWindow(RESERVED_WINDOW); Save(); return (this); } }
-
-
Hello i have a probleme with my server
Crash core channel 1
game.core
#0 0x081de0bb in quest::CQuestManager::SendScript (this=0x28d62198) at questmanager.cpp:977 packet_script = {header = 63 '?', size = 36927, skin = 247 '▒', src_size = 16191} buf = {buf = 0x0, forceDelete = false} #1 0x28c5dbe6 in basename_r () from /usr/lib32/libc.so.7 No symbol table info available. #2 0x0839b7ae in CSemaphore::Wait () No symbol table info available. #3 0x0839aa1d in CAsyncSQL::ChildLoop () No symbol table info available. #4 0x0839b27e in AsyncSQLThread () No symbol table info available. #5 0x2879abbc in pthread_condattr_init () from /usr/lib32/libthr.so.3 No symbol table info available. #6 0x00000000 in ?? () No symbol table info available.
-
-
-
-
I suppose minutes needs its necesary , i mean if you don`t have the minutes you can take the title but i find a problem with time at players minuts because it`s showing us it`s 0 and i have more than 1000 and something .
-
-
is good thanks
-
-
-
my error compile
char_affect.cpp:771: error: scalar object 'GoodAffects' requires one element in initializer char_affect.cpp: In member function 'void CHARACTER::RemoveGoodAffect()': char_affect.cpp:775: error: a function-definition is not allowed here before ':' token char_affect.cpp:781: error: could not convert 'CHARACTER::RefreshAffect()' to 'bool' char_affect.cpp:782: error: expected `)' before ';' token compile input.cpp char_affect.cpp: At global scope: char_affect.cpp:740: warning: 'GoodAffects' defined but not used
News bonus switch
in Community Support - Questions & Answers
Posted
yes but now i have this error for attr rare