Vendor_update Issues

Newbie Spellweaver
Joined
Apr 2, 2021
Messages
14
Reaction score
0
I'm adding the VENDOR_UPDATE system from SakuraFlyff to a clean v19 source.
It compiles perfectly without any errors. The problem is when I log in and try to open a store, any store crashes and closes, and I don't get any logs. I've been checking but can't find the reason. Any ideas?

Thanks first of all.
 
attach to debugger and crash it again.
Poreotix, I know this isn't relevant, but I wanted to ask.
I added the LOOKCHANGE system, and I was able to solve the visual problem where everything looked transparent by adding this:

#ifdef __LOOKCHANGE
pItemElem->SetLook((DWORD)GetIntPaFromStr(pstrItem, pLocation));
if (pItemElem->GetLook() == NULL_ID || pItemElem->GetLook() == 0)
pItemElem->SetLook(pItemElem->m_dwItemId);
#endif

But I'm having a problem, and I wanted to know if you could give me a clue where to look.

When I change the appearance of an item and then restart the server, the appearance disappears, but the item appears as if it had changed its look.
Poreotix
 
Upvote 0
Back