- Joined
- Aug 14, 2009
- Messages
- 2,304
- Reaction score
- 1,189
Code:
// TODO: 3/13/2022 - Crash Fix
if (pSox->GetFieldFromLablePtr(iIdx, sFieldNum._NeedBuyItem) != NULL)
pItemData->nNeedBuyItemID = pSox->GetFieldFromLablePtr(iIdx, sFieldNum._NeedBuyItem)->GetInteger();
else
pItemData->nNeedBuyItemID = 0;
// TODO: 3/13/2022 - Crash Fix
if (pSox->GetFieldFromLablePtr(iIdx, sFieldNum._NeedBuyItemCount) != NULL)
pItemData->nNeedBuyItemCount = pSox->GetFieldFromLablePtr(iIdx, sFieldNum._NeedBuyItemCount)->GetInteger();
else
pItemData->nNeedBuyItemCount = 0;
This fix atleast gets the DB Server running in debug_tw mode. Haven't checked anything else tho. Release_TW crashes on CashPackageTable tho.
This is due to the ItemTable.dnt not having those two fields.
EDIT:
LoginServer needs HShield disabled by removing _HSHIELD from the preprocessors.
Also LoginServer needs CharCreate.dnt which its nowhere to be found. But you can just easy bypass it.
Something about rlkt_new_login. So just return true works since I haven't found that its used.
Code:
bool CDNExtManager::LoadNewCharCreate()
{
return true;
}
having Problems connecting to SQL Server :/
can somebody upload the database files? ashlay maybe?
Last edited: