[Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

Results 1 to 14 of 14
  1. #1
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    sad [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    @DragonSeth | How to fix IGC.DataServer.exe Crash (%n)
    # Example #
    Send Message : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/gNBsbPA.jpg

    Add Friends : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/zQYh58s.jpg

    Search Party : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/V9ioyub.jpg

    Search Guild : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/dvpJIfP.jpg

    IGC.DataServer.exe (Crash Dump File)
    Images : https://i.imgur.com/6bPg622.jpg

    - Thank for fix :)


  2. #2
    Account Upgraded | Title Enabled! thevjfla is offline
    MemberRank
    Apr 2012 Join Date
    203Posts

    re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by pimza1996 View Post
    @DragonSeth | How to fix IGC.DataServer.exe Crash (%n)
    # Example #
    Send Message : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/gNBsbPA.jpg

    Add Friends : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/zQYh58s.jpg

    Search Party : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/V9ioyub.jpg

    Search Guild : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/dvpJIfP.jpg

    IGC.DataServer.exe (Crash Dump File)
    Images : https://i.imgur.com/6bPg622.jpg

    - Thank for fix :)
    Where %n in send message?

  3. #3
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    You can see sample photos. :)
    %n -> IGC.DataServer.exe Crash

  4. #4
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Is this happening on the latest version? . If so I'll check the source.

  5. #5
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by DragonSeth View Post
    Is this happening on the latest version? . If so I'll check the source.
    yes i'm use server file last version : http://forum.ragezone.com/f197/relea...-igcn-1150883/
    ro
    i'm a have one question why account not show HWID ? :(
    images : https://i.imgur.com/oQf2iW6.jpg //Thank you for answer
    Last edited by pimza1996; 30-10-18 at 05:34 AM.

  6. #6
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Okay since this is a critical issue when I find some free time I will fix it and upload it.

  7. #7
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by DragonSeth View Post
    Okay since this is a critical issue when I find some free time I will fix it and upload it.
    list Command for crash

    example : https://i.imgur.com/gNBsbPA.jpg
    1. %n
    2. %I
    3. %L
    4. %N
    5. %S
    6. %T
    7. %z
    8. %Z
    9. %
    Thank for fixed :)

  8. #8
    Novice C++ allexander is offline
    MemberRank
    Feb 2011 Join Date
    European UnionLocation
    580Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by pimza1996 View Post
    @DragonSeth | How to fix IGC.DataServer.exe Crash (%n)
    # Example #
    Send Message : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/gNBsbPA.jpg

    Add Friends : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/zQYh58s.jpg

    Search Party : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/V9ioyub.jpg

    Search Guild : %n (IGC.DataServer Crash)
    Images : https://i.imgur.com/dvpJIfP.jpg

    IGC.DataServer.exe (Crash Dump File)
    Images : https://i.imgur.com/6bPg622.jpg

    - Thank for fix :)
    Here you go, test it and let us know if it works:
    Quote Originally Posted by Young View Post

    Quote Originally Posted by ADMTec View Post
    so if it is possible you could share the code to fix the bug that crashes the DataServer ?? % n,% s,% d when used in frindsystem and cashshop gift.


    Enviado do meu iPhone usando Tapatalk


    This is not even close to a great solution, but it avoid the crashes, as intended. The Friend System is not crashing when % sign is typed. Can you be more specific?

    StdAfx.h
    Code:
    #include <boost/algorithm/string/replace.hpp>
    DSprotocol.cpp
    Code:
    void CDataServerProtocol::ReqInGameShopItemGift(short aIndex, ISHOP_ITEM_GIFT *aRecv)
    {
        std::string strMessage;
    ...
        strMessage = aRecv->Message;
        boost::replace_all(strMessage, "%", "%%");
    
        this->m_ItemShopDB.ExecQuery("EXEC WZ_IBS_AddGift '%s', %d, %d,  %d, %d, '%s', '%s'", aRecv->TargetName, aRecv->ID1, aRecv->ID2,  aRecv->ID3, 2, aRecv->Name, strMessage.c_str());
    ...
    }
    
    void CDataServerProtocol::ReqInGameShopPackageGift(short aIndex, LPBYTE aRecv)
    {
        std::string strMessage;
    ...
        strMessage = lpMsg->Message;
        boost::replace_all(strMessage, "%", "%%");
    
        for(int i=0;i<lpMsg->Count;i++)
        {
            lpItem = (ISHOP_ITEM_PACKAGE *)(aRecv + sizeof(ISHOP_ITEM_GIFT_PACKAGE) + i * sizeof(ISHOP_ITEM_PACKAGE));
    
            this->m_ItemShopDB.ExecQuery("EXEC WZ_IBS_AddGift '%s', %d, %d, %d, %d, '%s', '%s'",
                lpMsg->TargetName, lpItem->ID1, lpItem->ID2, lpItem->ID3,
                2, lpMsg->Name, strMessage.c_str());
    ...
    }
    -- Edit --

    Friend System uses Binary storage, so it is not affected by % sign.

    Code:
    wsprintf(szMsg, "UPDATE T_FriendMail SET Subject=? where MemoIndex=%d AND GUID=%d", memo_index, guid);
    this->m_MailDB.SetAsBinary(szMsg, (LPBYTE)lpMemoSendHdr->Subject, 60);
    ...
    wsprintf(szMsg, "UPDATE T_FriendMail SET Memo=? where MemoIndex=%d AND GUID=%d", memo_index, guid);
    this->m_MailDB.SetAsBinary(szMsg, (LPBYTE)sMemo, memo_size);
    []'s

  9. #9
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    No worries new update coming soon. With the crash server fix and many other things :)
    Spoiler:



    Spoiler:



    Spoiler:



    Spoiler:




    P.S: please ignore the broken models ^^ was doing some testing.
    Last edited by DragonSeth; 04-11-18 at 10:53 PM.

  10. #10
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    @DragonSeth, very good //thank for fixed :)

  11. #11
    Account Upgraded | Title Enabled! thevjfla is offline
    MemberRank
    Apr 2012 Join Date
    203Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by DragonSeth View Post
    No worries new update coming soon. With the crash server fix and many other things :)
    Spoiler:



    Spoiler:



    Spoiler:



    Spoiler:




    P.S: please ignore the broken models ^^ was doing some testing.
    @DragonSeth

    In the original src have the same bug if put %n in find guild member and party too, check it if you not fixed already :D

  12. #12
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    From what i can tell. There is no crash :)

  13. #13
    Apprentice pimza1996 is offline
    MemberRank
    Jun 2018 Join Date
    20Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    @DragonSeth When will you update :)

  14. #14
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [Help] IGCN 9.2 How to fix IGC.DataServer.exe Crash

    Quote Originally Posted by pimza1996 View Post
    @DragonSeth When will you update :)
    (UPDATE COMING SOON) it's more than just a dataserver crash fix. It includes many new features and fixes.



Advertisement