Hi elitepvpers,
I am working on the Item_dbf once again cause my old database has been destroyd.
But for some reason it aint working anymore.
This is what i have inside DbItemUpdate.cpp
if( pItemProp && pItemProp->dwItemKind3 != IK3_VIRTUAL && pItemProp->dwID != 0 )
{
CString strItem = pItemProp->szName;
strItem.Replace( "'", " " );
sprintf( szSQL, "ITEM_STR 'I1', %d,'%s'," // 0
"%d", //1
pItemProp->dwID, strItem, //0
pItemProp->dwDestParam[0] //1
);
if( FALSE == pQuery->Exec( szSQL ) )
{
WriteLog( szSQL );
return;
}
}
Now what is working and what not
If i am looking inside the ITEM_TBL i see the [Index] and szName
But the strange part is that the dwDestParam1 has an 0 instead of the actual value.
Item_tbl
[Index] int
szName nVarchar(255) = ''
dwDestParam1 int = '0'
It looks that it can't see the numbers of the dwDestParam
EDIT: Solved i needed to re-build the ITEM_STR Procedure.






