Jump to content

Channel1_1 Crash After Make a Guild


Recommended Posts

  • Premium

Hi everyone!

I found a problem with guild making.

spacer.png

 

If someone wants to make a guild, and if he enter the guild name and press OK the channel1_1 will crash.

Channel1_1 syserr is empty.

 

DB Syserr: SYSERR: Aug 20 21:03:36.172297 :: Process: FDWATCH: peer null in event: ident 22 

 

I tried debuging the game.core but I didn't get anything

 

Please help! Have a nice day!

 

 

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

  • Premium
12 minutes ago, Catalin2o14 said:

in the idea that you have nothing wrong with header and quests,

trucate these table from player https://metin2.download/picture/mcSI0DzEZt7F7zOehBB37Z2Rrzn7vjHc/.png

 

if not working, replace them

Its not work ? Any idea? I will try replace the tables but i think its not fix it

42 minutes ago, Catalin2o14 said:

in the idea that you have nothing wrong with header and quests,

trucate these table from player https://metin2.download/picture/mcSI0DzEZt7F7zOehBB37Z2Rrzn7vjHc/.png

 

if not working, replace them

Solved. The problem is guild.cpp INSERT query :)

    for (int i = 0; i < GUILD_GRADE_COUNT; ++i)
    {
        DBManager::instance().Query("INSERT INTO guild_grade VALUES(%u, %d, '%s', %d)", 
                get_table_postfix(),
                m_data.guild_id, 
                i + 1, 
                m_data.grade_array.grade_name, 
                m_data.grade_array.auth_flag);
    }

 

to: 

 

    for (int i = 0; i < GUILD_GRADE_COUNT; ++i)
    {
        DBManager::instance().Query("INSERT INTO guild_grade%s VALUES(%u, %d, '%s', %d)", 
                get_table_postfix(),
                m_data.guild_id, 
                i + 1, 
                m_data.grade_array.grade_name, 
                m_data.grade_array.auth_flag);
    }

Edited by Metin2 Dev
Core X - External 2 Internal
  • Angry 1
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


×
×
  • 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.