[MUnique] OpenMU ChatServer

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    talk [MUnique] OpenMU ChatServer


    RaGEZONE Recommends

    RaGEZONE Recommends

    Hello,
    today I release a first version of the chat server as a result of my ChatServer Protocol Research.
    This is an open source alternative to the original ChatServer of Webzen which uses the OpenMU chat server code and connects to a 'classic' ExDB server.

    Important (see also Readme):
    To get this working correctly, the XOR32-key needs to match with your game server / game client. This key is usually used by the client to encrypt all data packets which are sent to the server. The chat server uses this key as well to decrypt incoming data packets.

    It should at least work up until season 6 - I don't know how the encryption of C1/C2 changed on higher seasons.
    It does probably not work correctly when you use the eDataServer - the sources I checked didn't implement the protocol like the ExDB-Server of Webzen. However, with the available documentation, it shouldn't be that hard to add :)


    Source and Documentation: here
    Compiled Binaries: v0.1.4
    Required .NET-Version: 4.6

    If you find a bug (and you're sure it's one) or have suggestions for improvements please add an issue on GitHub :)
    Of course, you can report me bugs etc. here as well, if you don't like to create a GitHub account.
    Last edited by nevS; 6 Days Ago at 06:36 PM. Reason: new version
    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


  2. #2
    Account Upgraded | Title Enabled! BladeKnight109 is online now
    True MemberRank
    Jun 2014 Join Date
    226Posts

    Re: [MUnique] OpenMU ChatServer

    http://bladeknight109.com
    Skype: bladeknight109

  3. #3
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Thanks for your feedback! At the moment I can't tell you what's going wrong. It seems like the server lacks some error handling... ;)
    I added a new version (v0.1.1-alpha) which will log these errors with the required details (check binary link in first post).
    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

  4. #4
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Added a new version 0.1.2-alpha which contains a few bug fixes
    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

  5. #5
    Account Upgraded | Title Enabled! ADMTec is offline
    True MemberRank
    Aug 2011 Join Date
    259Posts

    Re: [MUnique] OpenMU ChatServer

    It shows the two being online but does not open Chat.

    https://youtu.be/u5g11VYii9c

    2017-12-01 16:49:42,742 [INFO ] [ChatServer] - ChatServer started and ready
    2017-12-01 16:49:42,745 [INFO ] [ExDbClient] - Connection to ExDB-Server established
    2017-12-01 16:49:42,777 [INFO ] [ExDbClient] - Sent registration packet to ExDB-Server
    2017-12-01 16:54:37,849 [ERROR] [MUnique.OpenMU.ChatServer.ChatServerListener] - Error during cleanup of unused rooms
    System.Threading.SynchronizationLockException: O bloqueio está sendo descartado ainda em uso. Ele está sendo mantido por um thread e/ou tem waiters ativos aguardando para adquirir o bloqueio.
    em System.Threading.ReaderWriterLockSlim.Dispose(Boolean disposing)
    em MUnique.OpenMU.ChatServer.ChatRoomManager.OnChatRoomClosed(Object sender, ChatRoomClosedEventArgs eventArgs)
    em MUnique.OpenMU.ChatServer.ChatRoom.Close()
    em MUnique.OpenMU.ChatServer.ChatServerListener.ClientCleanupUnusedRooms(Object sender, ElapsedEventArgs e)
    2017-12-01 17:02:03,731 [DEBUG] [MUnique.OpenMU.Network.PublicIpResolver] - Start Requesting public ip from https://api.ipify.org/?format=text
    2017-12-01 17:02:04,387 [DEBUG] [MUnique.OpenMU.Network.PublicIpResolver] - Request of public ip answered with: 177.19.106.107
    2017-12-01 17:02:04,395 [INFO ] [MUnique.OpenMU.ChatServer.ChatServerListener] - Begin starting
    2017-12-01 17:02:04,398 [INFO ] [MUnique.OpenMU.ChatServer.ChatServerListener] - Chat client listener ready on port 55980.
    2017-12-01 17:02:04,401 [INFO ] [MUnique.OpenMU.ChatServer.ChatServerListener] - Finished starting
    2017-12-01 17:02:04,405 [INFO ] [ChatServer] - ChatServer started and ready
    2017-12-01 17:02:04,408 [INFO ] [ExDbClient] - Connection to ExDB-Server established
    2017-12-01 17:02:04,414 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (before encryption): C1 3A 00 02 AC DA 43 68 61 74 53 65 72 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    2017-12-01 17:02:04,417 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (after encryption): C1 3A 00 02 AC DA 43 68 61 74 53 65 72 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    2017-12-01 17:02:04,419 [INFO ] [ExDbClient] - Sent registration packet to ExDB-Server
    2017-12-01 17:02:04,420 [DEBUG] [MUnique.OpenMU.Network.Connection] - Data received, length: 8
    2017-12-01 17:02:04,430 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (before decryption): C1 08 00 01 00 00 00 00
    2017-12-01 17:02:04,433 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (after decryption): C1 08 00 01 00 00 00 00
    2017-12-01 17:03:25,553 [DEBUG] [MUnique.OpenMU.Network.Connection] - Data received, length: 32
    2017-12-01 17:03:25,556 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (before decryption): C1 20 A0 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 0A 04 29 00 00 05 29 00 00
    2017-12-01 17:03:25,559 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (after decryption): C1 20 A0 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 0A 04 29 00 00 05 29 00 00
    2017-12-01 17:03:25,569 [DEBUG] [MUnique.OpenMU.ChatServer.ChatRoom] - Creating room 0
    2017-12-01 17:03:25,573 [DEBUG] [ExDbClient] - Received request to create chat room for ADMTec and MUTec; Room-ID: 0
    2017-12-01 17:03:25,578 [DEBUG] [ExDbClient] - Registered client ADMTec with index 0 and token 1634205696
    2017-12-01 17:03:25,581 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (before encryption): C1 2C A0 01 00 00 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 00 00 00 00 CC CC 00 00 68 61 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:25,584 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (after encryption): C1 2C A0 01 00 00 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 00 00 00 00 CC CC 00 00 68 61 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:25,587 [DEBUG] [ExDbClient] - Registered client MUTec with index 1 and token 144375809
    2017-12-01 17:03:25,591 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (before encryption): C1 2C A0 01 00 00 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 00 00 00 00 CC CC 01 00 9B 08 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:25,594 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (after encryption): C1 2C A0 01 00 00 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 00 00 00 00 CC CC 01 00 9B 08 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:59,402 [INFO ] [MUnique.OpenMU.ChatServer.ChatServerListener] - Cleaning up room 0
    2017-12-01 17:03:59,406 [DEBUG] [MUnique.OpenMU.ChatServer.ChatRoom] - Disposing room 0...
    2017-12-01 17:03:59,410 [DEBUG] [MUnique.OpenMU.ChatServer.ChatRoom] - Room 0 disposed.
    2017-12-01 17:03:59,905 [DEBUG] [MUnique.OpenMU.Network.Connection] - Data received, length: 32
    2017-12-01 17:03:59,909 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (before decryption): C1 20 A0 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 0A 05 29 00 00 04 29 00 00
    2017-12-01 17:03:59,912 [DEBUG] [MUnique.OpenMU.Network.Connection] - Packet received (after decryption): C1 20 A0 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 0A 05 29 00 00 04 29 00 00
    2017-12-01 17:03:59,915 [DEBUG] [MUnique.OpenMU.ChatServer.ChatRoom] - Creating room 1
    2017-12-01 17:03:59,918 [DEBUG] [ExDbClient] - Received request to create chat room for MUTec and ADMTec; Room-ID: 1
    2017-12-01 17:03:59,920 [DEBUG] [ExDbClient] - Registered client MUTec with index 0 and token 432275456
    2017-12-01 17:03:59,923 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (before encryption): C1 2C A0 01 01 00 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 00 00 00 00 CC CC 00 00 C4 19 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:59,926 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (after encryption): C1 2C A0 01 01 00 4D 55 54 65 63 00 00 00 00 00 41 44 4D 54 65 63 00 00 00 00 00 00 00 00 CC CC 00 00 C4 19 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:59,930 [DEBUG] [ExDbClient] - Registered client ADMTec with index 1 and token 594345985
    2017-12-01 17:03:59,933 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (before encryption): C1 2C A0 01 01 00 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 00 00 00 00 CC CC 01 00 6D 23 CC CC CC CC CC CC CC CC
    2017-12-01 17:03:59,936 [DEBUG] [MUnique.OpenMU.Network.Connection] - Send (after encryption): C1 2C A0 01 01 00 41 44 4D 54 65 63 00 00 00 00 4D 55 54 65 63 00 00 00 00 00 00 00 00 00 CC CC 01 00 6D 23 CC CC CC CC CC CC CC CC

  6. #6
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    I'm working on a fix. Seems like I wasn't aware of some fields in the packets between ExDB-Server and ChatServer

    @BladeKnight109: Thanks for the structs
    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

  7. #7
    Member orchangelX1412 is offline
    MemberRank
    Jul 2006 Join Date
    46Posts

    Re: [MUnique] OpenMU ChatServer

    Need 3rd party application to /post allsub for session 1->5
    can you dev it?
    x

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

    Re: [MUnique] OpenMU ChatServer

    @orchangelX1412: No, thank you.

    I released a new version with some fixes: https://github.com/MUnique/OpenMU/re...g/v0.1.3-alpha
    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
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Anyone tried it yet? Would be nice to know if it works now :)
    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

  10. #10
    Account Upgraded | Title Enabled! ADMTec is offline
    True MemberRank
    Aug 2011 Join Date
    259Posts

    Re: [MUnique] OpenMU ChatServer

    I do not know if I need to do some correction in the Zteam source but I tested it on the muserver Zteam season 8 and it did not work.
    https://youtu.be/CFOJAgPeHyw



    https://youtu.be/CFOJAgPeHyw

    In MUEMU muserver does not even open the chat screen I do not know if the Xor32Kays are certain to work with it. Could someone please give me the Xor Key of the muemu ??
    Last edited by ADMTec; 1 Week Ago at 01:47 PM.

  11. #11
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Well, I don't know if it would work at season 8. Which packet encryption (S->C, C1 type) does it use? Already with packet twister or just the XOR32 key?
    If packet twister, then it doesn't work yet.
    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

  12. #12
    Hardcore Member orionet is online now
    MemberRank
    Jun 2007 Join Date
    107Posts

    Re: [MUnique] OpenMU ChatServer

    Strangely, it does not convey the character's name completely, for which EXDB is created, duplicates the characters in the Characters table with any symbols.

    I use different versions of servers mu online, screenshots below with a duplicate.


    Last edited by orionet; 6 Days Ago at 07:25 PM.

  13. #13
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Quote Originally Posted by orionet View Post
    Strangely, it does not convey the character's name completely, for which EXDB is created, duplicates the characters in the Characters table with any symbols.
    Are you using an non-english client/server and character names with special symbols?
    Maybe it's an encoding issue... currently the server just uses UTF-8 character encoding.
    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

  14. #14
    Developer nevS is offline
    True MemberRank
    Aug 2005 Join Date
    GermanyLocation
    208Posts

    Re: [MUnique] OpenMU ChatServer

    Added release of version 0.1.4.
    It contains a bugfix of the missing decryption of incoming messages.
    It has been successfully tested on a season 6 server by BladeKnight109.

    @BladeKnight109 - Thanks for the feedback :)
    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

  15. #15
    Account Upgraded | Title Enabled! BladeKnight109 is online now
    True MemberRank
    Jun 2014 Join Date
    226Posts

    Re: [MUnique] OpenMU ChatServer

    Quote Originally Posted by nevS View Post
    Added release of version 0.1.4.
    It contains a bugfix of the missing decryption of incoming messages.
    It has been successfully tested on a season 6 server by BladeKnight109.

    @BladeKnight109 - Thanks for the feedback :)
    you are welcome, bro :)
    http://bladeknight109.com
    Skype: bladeknight109




Page 1 of 2 12 LastLast

Advertisement