Jump to content
External pictures are being replaced... ×
×
×
  • Create New...
  • 0

GM online list in source problem..


DisLoyal

Question

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

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.