Jump to content

GM online list in source problem..


Recommended Posts

Hi devs!

 

I think u know this "system" : http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3628042-release-gm-online-liste-per-source-2.html

 

i got a little problem...

with this:

        case MESSENGER_SUBHEADER_GC_LOGIN:
        {
            TPacketGCMessengerLogin p;
            if (!Recv(sizeof(p),&p))
                return false;
            if (!Recv(p.length, char_name))
                return false;
            char_name[p.length] = 0;
            CPythonMessenger::Instance().OnFriendLogin(char_name);
            if (char_name[0] == '[')
            CPythonMessenger::Instance().OnGamemasterLogin(char_name);
            __RefreshTargetBoardByName(char_name);
            break;
        }

and

        case MESSENGER_SUBHEADER_GC_LOGOUT:
        {
            TPacketGCMessengerLogout logout;
            if (!Recv(sizeof(logout),&logout))
                return false;
            if (!Recv(logout.length, char_name))
                return false;
            char_name[logout.length] = 0;
            CPythonMessenger::Instance().OnFriendLogout(char_name);
            if (char_name[0] == '[')
            CPythonMessenger::Instance().OnGamemasterLogout(char_name);
            break;
        }

 

this lines in PythonNetworkStreamPhaseGame.cpp in client source

 

if player login... admins adedd to the simple Friend list.. and the "new" admint list to...

 

Andy ideas ? :(

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Moving server from FreeBSD 11.2 to 13.2 - lib needed

    2. 0

      I just implemented some costumes and they are not visible

    3. 0

      Skill Tree Problem

    4. 97

      Ulthar SF V2 (TMP4 Base)

    5. 5

      Client Crashes through Offline Shop (Ikarus)

    6. 5

      VIVY-WORLD2 - FARM TO THE TOP

    7. 0

      ToolTip Bug?

    8. 0

      Skill tree build erorr

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