Worldserver.exe / Source errors

05/03/2011 15:04 dpkidz#1
Yo!

I hope you guys are able to help more then in RZ, since those guys are afraid I will make a big update in my source xD

Nevertheless!
Would need some help here by a expert with c++ and what to fix through what the error is saying XD

Well, anyways..

When I start worldserver, it loads, normally.. starts normally, after its on in like 10 seconds, I get this error.txt file;

Got no idea .. my defineitem is working normally..
no double ID's..
no double numbers in defineitem..
hmm Wierd! :s

ok, next thing, when the worldserver.exe crash, I check into the .rpt file that the worldserver.exe is creating, I get this error..


now, Ive took the words, Like "CMover::InitCharacter"
and searched it in the source, and I found this
Code:
void CMover::InitCharacter( LPCHARACTER lpCharacter )
{
	if( lpCharacter )
	{
#ifdef __OPT_MEM_0811
		if( lpCharacter->m_nEquipNum > 0 )
			m_Inventory.SetItemContainer( ITYPE_ITEM, MAX_INVENTORY, MAX_HUMAN_PARTS );
#endif	// __OPT_MEM_0811
		strcpy( m_szName, lpCharacter->m_strName );
		for( int i = 0; i < lpCharacter->m_nEquipNum; i++ )
		{
			BYTE nId, nCount;
			short nNum;
			CItemElem itemElem;
			itemElem.m_dwItemId	= lpCharacter->m_adwEquip[ i ];
			itemElem.m_nItemNum	= 1;
			m_Inventory.Add( &itemElem, &nId, &nNum, &nCount );
			CItemElem* pAddItem = m_Inventory.GetAtId( nId );
			m_Inventory.DoEquip( pAddItem->m_dwObjIndex, itemElem.GetProp()->dwParts );
		}

		m_dwHairMesh = lpCharacter->m_dwHairMesh;
		m_dwHairColor = lpCharacter->m_dwHairColor;
		m_dwHeadMesh = lpCharacter->m_dwHeadMesh;

		AllocShopInventory( lpCharacter );
		LoadDialog();		// npcproperty->LoadDialog()
	#ifdef __OUTPUT_INFO_0803
		prj.OutputStore( lpCharacter->m_szKey, this );
	#endif	// __OUTPUT_INFO_0803
	}
	m_nHitPoint = GetMaxHitPoint();
}
Now heres my question, what does the +124 stand for?
what should I edit??

same with the other;
CMover::Read+95

CWorld::LoadObject+120

CWorldMng::ReadObject+19

CDPMng::ReceiveMessage+D2

I have not touched or seen any of these codes before .. XD

Would really appriciate the help !
Love ~ dpkidz (Wakazaki) :awesome:
05/03/2011 18:17 aldimaster#2
I think you are using the V16 Res Files.
It seems that you propitem.txt has to much Columns.
Post you propitem.txt here.


Greetz
05/03/2011 20:40 dpkidz#3
hahahahah xD sorry for this stupid topic.. you can lock it admin..

the problem was,, I changed in source, propitem.txt To Spec_Item.txt and totaly forgot about it HAHAHAHAHHA
Sorry Sorry xD

Thanks for your reply though aldi ^^
05/03/2011 21:39 Flash!#4
Quote:
Originally Posted by dpkidz View Post
hahahahah xD sorry for this stupid topic.. you can lock it admin..

the problem was,, I changed in source, propitem.txt To Spec_Item.txt and totaly forgot about it HAHAHAHAHHA
Sorry Sorry xD

Thanks for your reply though aldi ^^
Nice one ^.^

# closerequest