Jump to content

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

try to insert traces (TraceError) in the functions, for example at the beginning and at the end of the function to understand where it stops so as to understand where the error could be

Edited by Nduli
Just now, Nduli said:

provare ad inserire delle tracce nelle funzioni, ad esempio all'inizio e alla fine della funzione per capire dove si ferma così da capire dove potrebbe essere l'errore

Can you explain how to do that? thank you

TraceError makes you output a message on the sysser that you put inside like

..........

};

BOOL CItemManager::SelectItemData(DWORD dwIndex)
{

    TraceError(" I'm here! in the  SelectItemData" )
    TItemMap::iterator f = m_ItemMap.find(dwIndex);

...

...

...

 

so you will find in the sysser client " I'm here! in the SelectItemData" and in this way whether or not the trace will come out you will know where the code stops or how far it goes

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.