disconnect function

Results 1 to 8 of 8
  1. #1
    cMuServices™ L1ron is offline
    MemberRank
    Jun 2014 Join Date
    315Posts

    disconnect function

    hey , i use Exulium Source season 3.1 and i want to make function that i can add there some thing and that will check when player disconnect for example if Gm disconnect that will say in global msg that he leaving the game , someone can help me with this function plz :)
    maybe if someone know on Disconnect case of Protocol that will be amazing . ( i mean something like the connect protocol case 0x03 )

    thanks for the supporters ;)


  2. #2
    MU Online Supporter Insomniak is offline
    MemberRank
    Jun 2009 Join Date
    895Posts

    Re: disconnect function

    Season 3 is my favorite MU online season. In the past i have worked on Season 3 server files, but i never heared of something like this. Usually when a Game Master is leaving the game announce it himself by using global message command.

  3. #3
    cMuServices™ L1ron is offline
    MemberRank
    Jun 2014 Join Date
    315Posts

    Re: disconnect function

    Quote Originally Posted by Insomniak View Post
    Season 3 is my favorite MU online season. In the past i have worked on Season 3 server files, but i never heared of something like this. Usually when a Game Master is leaving the game announce it himself by using global message command.
    yes u right , but need fuction that make it works , for example for announce of gm connect i add in protocol core (0x03 -> connect)
    if(VerfityGM(aIndex))
    {
    ServerMsgSendAll("%s , Connect to the game", gObj->Name);
    }
    and i need to make it too with the disconnect do u have an idea?

  4. #4
    cMuServices™ L1ron is offline
    MemberRank
    Jun 2014 Join Date
    315Posts

    Re: disconnect function

    bump ? someone know ?

  5. #5

    Re: disconnect function

    can't u take the source of (when a player/gm connects to the game) that is already in many files/sources and it shows notice.
    and instead of Connect make it Disconnected and modify the code in some way?

  6. #6
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    Re: disconnect function

    here is the updated source of those files maybe you can find something there http://forum.ragezone.com/f197/extea...rsion-1102853/ you'll have to manually update yours since some of the customs wont work without client side source.

    ps: you can search the log the gameserver show when someone disconnects and start searching from there

    - - - Updated - - -

    this is the offset for the function that its in charge of that i think of this gs http://forum.ragezone.com/f197/games...-00-a-1096169/


    Code:
    #define gObjGameClose ((int(*)(DWORD))0x00403535) //int __cdecl gObjGameClose(int aIndex)

  7. #7
    cMuServices™ L1ron is offline
    MemberRank
    Jun 2014 Join Date
    315Posts

    Re: disconnect function

    Quote Originally Posted by natzugen View Post
    here is the updated source of those files maybe you can find something there http://forum.ragezone.com/f197/extea...rsion-1102853/ you'll have to manually update yours since some of the customs wont work without client side source.

    ps: you can search the log the gameserver show when someone disconnects and start searching from there

    - - - Updated - - -

    this is the offset for the function that its in charge of that i think of this gs http://forum.ragezone.com/f197/games...-00-a-1096169/


    Code:
    #define gObjGameClose ((int(*)(DWORD))0x00403535) //int __cdecl gObjGameClose(int aIndex)
    thanks i will check this and i will update here if it works;)
    btw , this update of exulium files ? S3Ep1?
    here is the updated source of those files maybe you can find something there http://forum.ragezone.com/f197/extea...rsion-1102853/ you'll have to manually update yours since some of the customs wont work without client side source.

  8. #8
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    Re: disconnect function

    that is exteam s3 source it uses the same gs as the exillium files so you can use it without problems as long as the client side support the customs.



Advertisement