Jump to content

Boot size error


Recommended Posts

EDIT:3

 

I added syslogs to understand where the code crashed.
Arrived at point 7 it freezes.
I commented on the following code and the blocking occurs in step 8.
I still commented on the code that followed and I didn't get the error anymore.
Unfortunately, channel1 now tells me: ban word table size error.

I think the problem is:

 

peer->Encode(&m_vec_banwordTable[0], sizeof(TBanwordTable) * m_vec_banwordTable.size());

 

                                                                            end

 

peer->Encode(&m_vec_kLandTable[0], sizeof(building::TLand) * m_vec_kLandTable.size())

 

Immagine.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Premium

That's happened when _CONTAINER_DEBUG_LEVEL > 0. You have two options to solve that assert: 1) set _CONTAINER_DEBUG_LEVEL to 0;  2) add the data for tables(monarch, land, banword) , of course you can compile on release mode(_CONTAINER_DEBUG_LEVEL = 0).

https://metin2.download/picture/ws38Y15zlgcA6XtZ3c4At5nfeLLt895w/.png

https://metin2.download/picture/5dpFwezKgLeHTuGdwUGL56Um4Z31zF1Y/.png when i don't have bandword table or it's empty.

Btw u can check the vector if it's empty like this 

Spoiler

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Quote

Btw u can check the vector if it's empty like this 

 

First of all, thanks for replying!
I did as you suggested, I added checking to see if the vector was empty and it worked, thank you !!! : D
To be able to log in, before your reply, I had to do this:

 

peer->Encode(&m_vec_banwordTable[0], sizeof(TBanwordTable) * m_vec_banwordTable.size());
peer->Encode(&m_vec_kLandTable[0], sizeof(building::TLand) * m_vec_kLandTable.size())

TO

 

peer->Encode(&m_vec_banwordTable, sizeof(TBanwordTable) * m_vec_banwordTable.size());
peer->Encode(&m_vec_kLandTable, sizeof(building::TLand) * m_vec_kLandTable.size())

 

I certainly made a mistake but at least I managed to make it work.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.