[Development] Connect Discord & Mu Online

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Ultimate Member solarismu is offline
    MemberRank
    May 2017 Join Date
    181Posts

    [Development] Connect Discord & Mu Online

    [Development] Connect Discord & Mu Online
    Couple days ago, 1st time I touch and learnt about Discord API for another project...
    Then I think Discord would be a good choice to replace regular website/forum/community MuOnline web pages
    So I made a small extension feature for Mu Online Chat system...I tested it in the vid below.

    There are some advantage when using Discord like a normal Mu Online website.
    The Discord Bot I wrote, Don't exc directly SQL query (no worry about ';DROP ALL YOUR FKING TABLES; :D).
    And your Bot dont be exposed to the users. It's covered by Discord Server(and Cloudfare as always :D) It's only process user commands via Discord message (ex: /post something ... easy to deal with :D).
    Anyway, much less risks to worry about many kinds of fancy hacks/DDOS/.... ^^



  2. #2
    Hardcore Member marecznyjo is offline
    MemberRank
    May 2005 Join Date
    106Posts

    re: [Development] Connect Discord & Mu Online

    This looks very cool and it has great marketing potential. What long term plans do you have with this?

  3. #3
    Ultimate Member solarismu is offline
    MemberRank
    May 2017 Join Date
    181Posts

    re: [Development] Connect Discord & Mu Online

    Quote Originally Posted by marecznyjo View Post
    This looks very cool and it has great marketing potential. What long term plans do you have with this?
    Nope bro, I just want to share some idea to community... I don't really have time for all my current projects,maybe few hours i have per weekend is max... :)
    The point is :"Should we better place our services at where players exactly come from...?"

    The feature I made above is just a small test. By that, I can say that : You can put what ever from your regular website to Discord via Bots. Examples : register/login system, vote, rankings, events, donate(paypal...), usercontrol panels(/reset /kick or whatever...), support system(has some free bots on web already, no need to remake it :)). You also can move your forum into Discord as well if you want.

    The best point : No DDOS... Only Discord can connect with you.

    btw, anyone know how many players using discord? 100 millions? or more? idk :)
    and if you dont like Discord, how about teamspeak or what ever on the net?

  4. #4
    Hardcore Member marecznyjo is offline
    MemberRank
    May 2005 Join Date
    106Posts

    Re: [Development] Connect Discord & Mu Online

    Quote Originally Posted by solarismu View Post
    Nope bro, I just want to share some idea to community... I don't really have time for all my current projects,maybe few hours i have per weekend is max... :)
    The point is :"Should we better place our services at where players exactly come from...?"

    The feature I made above is just a small test. By that, I can say that : You can put what ever from your regular website to Discord via Bots. Examples : register/login system, vote, rankings, events, donate(paypal...), usercontrol panels(/reset /kick or whatever...), support system(has some free bots on web already, no need to remake it :)). You also can move your forum into Discord as well if you want.

    The best point : No DDOS... Only Discord can connect with you.

    btw, anyone know how many players using discord? 100 millions? or more? idk :)
    and if you dont like Discord, how about teamspeak or what ever on the net?
    Yes there is a lot of stuff that can be done. The question is, who's gonna put it into use? If it's going to stay as a hobby project then no one will really use it. That's why I asked about long-term plans. Commercial DLL could bring it to private servers.

  5. #5
    Hardcore Member kksky is offline
    MemberRank
    Dec 2011 Join Date
    107Posts

    Re: [Development] Connect Discord & Mu Online

    You can try adding an emoticon system ?

  6. #6
    Ultimate Member solarismu is offline
    MemberRank
    May 2017 Join Date
    181Posts

    Re: [Development] Connect Discord & Mu Online

    Quote Originally Posted by marecznyjo View Post
    Yes there is a lot of stuff that can be done. The question is, who's gonna put it into use? If it's going to stay as a hobby project then no one will really use it. That's why I asked about long-term plans. Commercial DLL could bring it to private servers.
    No commercial intention yet. This is a hobby project for now.

    - - - Updated - - -

    Quote Originally Posted by kksky View Post
    You can try adding an emoticon system ?
    Do you mean this? piece of cake :)) I'm just lazy to import all hundreds/thousands of emoji icons (handy way) to games (a lot :D). But that's no problem at all.


  7. #7
    Hardcore Member kksky is offline
    MemberRank
    Dec 2011 Join Date
    107Posts

    happy Re: [Development] Connect Discord & Mu Online

    Quote Originally Posted by solarismu View Post
    No commercial intention yet. This is a hobby project for now.

    - - - Updated - - -



    Do you mean this? piece of cake :)) I'm just lazy to import all hundreds/thousands of emoji icons (handy way) to games (a lot :D). But that's no problem at all.

    :Thumbup1:cool···man

  8. #8
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    508Posts

    Re: [Development] Connect Discord & Mu Online

    If that’s easy, do you mind telling us how to add these emoticons? :)

    I had an idea about community/chat, too. How about integrating XMPP to the MUssenger/Friend System? Might be cool to chat with friends over an external xmpp client, e.g. over a smartphone ;)
    Do not follow where the path may lead. Go, instead, where there is no path and leave a trail. ~Ralph Waldo Emerson

    OpenMU Project: Blog - GitHub

  9. #9
    Ultimate Member solarismu is offline
    MemberRank
    May 2017 Join Date
    181Posts

    Re: [Development] Connect Discord & Mu Online

    Quote Originally Posted by muonlinegr2 View Post
    @solarismu hello friend share source rf gloves :)
    Note : Custom Gloves Effects are not included in this released. I use a different Custom Effect System in S9, not time to release it now:P
    So, missing visual effect is expected. You may need to code custom effects by yourself. Cheer!

    DllMain Hook
    Code:
        HookThis((DWORD)&VicRFGloves_4, HOOK_RF_GLOVES_4);
        HookThis((DWORD)&VicRFGloves_3, HOOK_RF_GLOVES_3);
        HookThis((DWORD)&VicRFGloves_2, HOOK_RF_GLOVES_2);
        HookThis((DWORD)&VicRFGloves_1, HOOK_RF_GLOVES_1);
    CustomRFWeaponsFix
    Code:
    //-------------------------------------------
    //Fix Added Custom RF Weapons
    //By Vic
    //-------------------------------------------
    
    #define HOOK_RF_GLOVES_1 0x005999CA
    #define JMPBACK_RF_GLOVES_1 0x005999D2
    #define HOOK_RF_GLOVES_2 0x00521C96
    #define JMPBACK_RF_GLOVES_2 0x00521C9C
    #define HOOK_RF_GLOVES_3 0x00586BDA
    #define JMPBACK_RF_GLOVES_3 0x00586BE0
    #define HOOK_RF_GLOVES_4 0x00612D02
    #define JMPBACK_RF_GLOVES_4 0x00612D08
    
    #define CUSTOM_RF_WEAPONS_MAX 4
    #define CUSTOM_RF_WEAPONS_LR_GAP 100
    DWORD VIC_CUSTOM_RF_WEAPONS[CUSTOM_RF_WEAPONS_MAX] = { 46,52,53,56 };
    DWORD VIC_CUSTOM_RF_WEAPONS_R[CUSTOM_RF_WEAPONS_MAX] = { 146,152,153,156 };
    DWORD VIC_CUSTOM_RF_WEAPONS_L[CUSTOM_RF_WEAPONS_MAX] = { 246,252,253,256 };
    
    BOOL VicIsCustomRFWeapons(DWORD idx)
    {
        if (idx > 1272)
            idx -= 1272;
        for (int i = 0; i < CUSTOM_RF_WEAPONS_MAX; i++)
            if (VIC_CUSTOM_RF_WEAPONS[i] == idx)
                return TRUE;
        return FALSE;
    }
    
    BOOL VicIsCustomRFWeapons2(DWORD idx)
    {
        if (idx > 1272)
            idx -= 1272;
        for (int i = 0; i < CUSTOM_RF_WEAPONS_MAX; i++)
            if (VIC_CUSTOM_RF_WEAPONS_L[i] == idx || VIC_CUSTOM_RF_WEAPONS_R[i] == idx)
                return TRUE;
        return FALSE;
    }
    
    DWORD vRFTemp1;
    void __declspec(naked) VicRFGloves_1()
    {
        _asm
        {
            mov eax, [ebp - 0x1C];
            mov vRFTemp1, eax;
        }
        
        if (VicIsCustomRFWeapons(vRFTemp1))
        {
            _asm
            {
                mov edx, 0x005999DE;
                jmp edx;
            }
        }
    
        _asm
        {
            push[ebp - 0x1C];
            mov ecx, 0x012767A0;
            mov edx, JMPBACK_RF_GLOVES_1;
            jmp edx;
        }
    }
    
    void __declspec(naked) VicRFGloves_2(DWORD a1, DWORD mIdx, DWORD slot)
    {
        if (slot == 0 || slot == 1)
        {
            if (VicIsCustomRFWeapons(mIdx))
            {
                mIdx += CUSTOM_RF_WEAPONS_GAP*(slot+1);
            }
        }
            
        _asm
        {
            push slot;
            push mIdx;
            mov edx, JMPBACK_RF_GLOVES_2;
            jmp edx;
        }
    }
    
    DWORD vRFTemp3;
    void __declspec(naked) VicRFGloves_3()
    {
        _asm
        {
            mov vRFTemp3, eax;
        }
        
        if (VicIsCustomRFWeapons(vRFTemp3))
        {
            _asm
            {
                mov edx, 0x00586BEC;
                jmp edx;
            }
        }
        
        _asm
        {
            mov eax, [ebp - 0x00000348];
            movsx eax, word ptr[eax];
            push eax;
            mov ecx, 0x012767A0;
            mov edx, JMPBACK_RF_GLOVES_3;
            jmp edx;
        }
    }
    
    void __declspec(naked) VicRFGloves_4(DWORD a1, DWORD mIdx)
    {
        if (VicIsCustomRFWeapons2(mIdx))
        {
            _asm
            {
                mov edx, 0x00612D19;
                jmp edx; 
            }
        }
        _asm
        {
            push mIdx;
            push a1;
            mov edx, JMPBACK_RF_GLOVES_4;
            jmp edx;
        }
    }
    Remember to add L/R RF Gloves bmd in item.bmd



    - - - Updated - - -

    Quote Originally Posted by Crowley View Post
    and bow please? ^_^
    Nope, not now.
    Maybe later :D

    - - - Updated - - -

    Quote Originally Posted by nevS View Post
    If that’s easy, do you mind telling us how to add these emoticons? :)

    I had an idea about community/chat, too. How about integrating XMPP to the MUssenger/Friend System? Might be cool to chat with friends over an external xmpp client, e.g. over a smartphone ;)
    Nope, I'm not going to share emoticons system yet.

    And about your idea. That's really cool :) I also plans to make a guild/ally chat/voice system that connect in-out game. Of course, won't miss private message/friend system. :) But maybe later, when I have more time for this.
    Last edited by solarismu; 07-10-18 at 10:06 PM.

  10. #10
    Member Apostle is offline
    MemberRank
    Aug 2018 Join Date
    EuropeLocation
    78Posts

    Re: [Development] Connect Discord & Mu Online

    Cancern faces for MUOnline are hot now, easy peasy to synchronise MU with Discord, and there is Season 6 client where font looks like in Atari, same UI it's pixelizing on high resolutions.
    Anyway i like it, keep it up!

  11. #11
    Member Crowley is offline
    MemberRank
    Sep 2015 Join Date
    98Posts

    Re: [Development] Connect Discord &amp;amp; Mu Online

    Quote Originally Posted by solarismu View Post
    Note : Custom Gloves Effects are not included in this released. I use a different Custom Effect System in S9, not time to release it now:P
    So, missing visual effect is expected. You may need to code custom effects by yourself. Cheer!

    DllMain Hook
    Code:
        HookThis((DWORD)&VicRFGloves_4, HOOK_RF_GLOVES_4);
        HookThis((DWORD)&VicRFGloves_3, HOOK_RF_GLOVES_3);
        HookThis((DWORD)&VicRFGloves_2, HOOK_RF_GLOVES_2);
        HookThis((DWORD)&VicRFGloves_1, HOOK_RF_GLOVES_1);
    CustomRFWeaponsFix
    Code:
    //-------------------------------------------
    //Fix Added Custom RF Weapons
    //By Vic
    //-------------------------------------------
    
    #define HOOK_RF_GLOVES_1 0x005999CA
    #define JMPBACK_RF_GLOVES_1 0x005999D2
    #define HOOK_RF_GLOVES_2 0x00521C96
    #define JMPBACK_RF_GLOVES_2 0x00521C9C
    #define HOOK_RF_GLOVES_3 0x00586BDA
    #define JMPBACK_RF_GLOVES_3 0x00586BE0
    #define HOOK_RF_GLOVES_4 0x00612D02
    #define JMPBACK_RF_GLOVES_4 0x00612D08
    
    #define CUSTOM_RF_WEAPONS_MAX 4
    #define CUSTOM_RF_WEAPONS_LR_GAP 100
    DWORD VIC_CUSTOM_RF_WEAPONS[CUSTOM_RF_WEAPONS_MAX] = { 46,52,53,56 };
    DWORD VIC_CUSTOM_RF_WEAPONS_R[CUSTOM_RF_WEAPONS_MAX] = { 146,152,153,156 };
    DWORD VIC_CUSTOM_RF_WEAPONS_L[CUSTOM_RF_WEAPONS_MAX] = { 246,252,253,256 };
    
    BOOL VicIsCustomRFWeapons(DWORD idx)
    {
        if (idx > 1272)
            idx -= 1272;
        for (int i = 0; i < CUSTOM_RF_WEAPONS_MAX; i++)
            if (VIC_CUSTOM_RF_WEAPONS[i] == idx)
                return TRUE;
        return FALSE;
    }
    
    BOOL VicIsCustomRFWeapons2(DWORD idx)
    {
        if (idx > 1272)
            idx -= 1272;
        for (int i = 0; i < CUSTOM_RF_WEAPONS_MAX; i++)
            if (VIC_CUSTOM_RF_WEAPONS_L[i] == idx || VIC_CUSTOM_RF_WEAPONS_R[i] == idx)
                return TRUE;
        return FALSE;
    }
    
    DWORD vRFTemp1;
    void __declspec(naked) VicRFGloves_1()
    {
        _asm
        {
            mov eax, [ebp - 0x1C];
            mov vRFTemp1, eax;
        }
        
        if (VicIsCustomRFWeapons(vRFTemp1))
        {
            _asm
            {
                mov edx, 0x005999DE;
                jmp edx;
            }
        }
    
        _asm
        {
            push[ebp - 0x1C];
            mov ecx, 0x012767A0;
            mov edx, JMPBACK_RF_GLOVES_1;
            jmp edx;
        }
    }
    
    void __declspec(naked) VicRFGloves_2(DWORD a1, DWORD mIdx, DWORD slot)
    {
        if (slot == 0 || slot == 1)
        {
            if (VicIsCustomRFWeapons(mIdx))
            {
                mIdx += CUSTOM_RF_WEAPONS_GAP*(slot+1);
            }
        }
            
        _asm
        {
            push slot;
            push mIdx;
            mov edx, JMPBACK_RF_GLOVES_2;
            jmp edx;
        }
    }
    
    DWORD vRFTemp3;
    void __declspec(naked) VicRFGloves_3()
    {
        _asm
        {
            mov vRFTemp3, eax;
        }
        
        if (VicIsCustomRFWeapons(vRFTemp3))
        {
            _asm
            {
                mov edx, 0x00586BEC;
                jmp edx;
            }
        }
        
        _asm
        {
            mov eax, [ebp - 0x00000348];
            movsx eax, word ptr[eax];
            push eax;
            mov ecx, 0x012767A0;
            mov edx, JMPBACK_RF_GLOVES_3;
            jmp edx;
        }
    }
    
    void __declspec(naked) VicRFGloves_4(DWORD a1, DWORD mIdx)
    {
        if (VicIsCustomRFWeapons2(mIdx))
        {
            _asm
            {
                mov edx, 0x00612D19;
                jmp edx; 
            }
        }
        _asm
        {
            push mIdx;
            push a1;
            mov edx, JMPBACK_RF_GLOVES_4;
            jmp edx;
        }
    }
    Remember to add L/R RF Gloves bmd in item.bmd




    Nope, not now.
    Maybe later :D
    Thanks work 100%

    I just need the fix to use the bow pleaseeeee
    I do not need effect...

  12. #12
    Ultimate Member solarismu is offline
    MemberRank
    May 2017 Join Date
    181Posts

    Re: [Development] Connect Discord &amp;amp; Mu Online

    Quote Originally Posted by Crowley View Post
    Thanks work 100% I just need the fix to use the bow pleaseeeeeI do not need effect...
    Nope, I won’t release more than 1 thing at a time. Maybe later.

  13. #13
    Member Crowley is offline
    MemberRank
    Sep 2015 Join Date
    98Posts

    Re: [Development] Connect Discord &amp;amp; Mu Online

    Quote Originally Posted by solarismu View Post
    Nope, I won’t release more than 1 thing at a time. Maybe later.
    ok np

  14. #14
    Member stinkyfax is offline
    MemberRank
    Sep 2010 Join Date
    34Posts

    Re: [Development] Connect Discord & Mu Online

    Would you share your Discord Bot source? I'd like to experiment with it as well.

  15. #15
    Member Apostle is offline
    MemberRank
    Aug 2018 Join Date
    EuropeLocation
    78Posts

    Re: [Development] Connect Discord & Mu Online

    Who would not want to, to early brother, tooo early. :)
    Great idea but this will stay unreleased as most of great developed things in MU.



Page 1 of 2 12 LastLast

Advertisement