Hi Elitepvpers,
i am using the GOH source to test some things out.
However if i want to log in the WorldServer is crashing.
So i run it in Debug
This is what the log is saying
> WorldServer.exe!CMover::ProcessRegenItem() Line 1446 + 0x10 C++
WorldServer.exe!CMover::Process() Line 4203 C++
WorldServer.exe!CWorld::_process() Line 1690 + 0xd C++
WorldServer.exe!CWorld::Process() Line 759 C++
WorldServer.exe!CWorldMng::Process() Line 672 C++
WorldServer.exe!CRunObject::Run() Line 352 C++
WorldServer.exe!CRunObject::_Run(void * pParam=0x01094990) Line 304 C++
WorldServer.exe!_threadstartex(void * ptd=0x03523b70) Line 241 + 0xd C
kernel32.dll!74ba336a()
ntdll.dll!76f6bf32()
ntdll.dll!76f6bf05()
Its pointing to this
#ifdef __ADDSHOPITEM
if( pCharacter->m_venderItemAry3[i].GetSize() )
{
fShop = TRUE;
for( int j = 0; j < pCharacter->m_venderItemAry3[i].GetSize(); j++)
{
pVendor = (LPVENDOR_ITEM)pCharacter->m_venderItemAry3[i].GetAt(j);
CItemElem itemElem;
itemElem.m_dwItemId = pVendor->m_dwItemId;
itemElem.m_nItemNum = (short)( prj.GetItemProp( pVendor->m_dwItemId )->dwPackMax );
itemElem.m_nHitPoint = prj.GetItemProp( pVendor->m_dwItemId )->dwEndurance;
if( m_ShopInventory[i]->Add( &itemElem ) == FALSE )
break;
}
}
#endif
This line : itemElem.m_nItemNum = (short)( prj.GetItemProp( pVendor->m_dwItemId )->dwPackMax );
So i thought well maybe the dwPackMax is set to high or to low inside the Spec_Item but that isnt the case.
Could someone explain this to me?
With kind regards