Fix crash Opennos

10/16/2018 00:13 redbull2905#1
Hello ! I find a fault on my opennos so I share it voluntarily.

go to OpenNosPacketHandler.FamilyPacketHandler line 289

Replace:
Code:
CommunicationServiceClient.Instance.SendMessageToCharacter(new SCSCharacterMessage
                {
                    DestinationCharacterId = Session.Character.Family.FamilyId,
                    SourceCharacterId = Session.Character.CharacterId,
                    SourceWorldId = ServerManager.Instance.WorldId,
                    Message = ccmsg,
                    Type = MessageType.FamilyChat
                });
by this:
Code:
                CommunicationServiceClient.Instance.SendMessageToCharacter(new SCSCharacterMessage());
                try
                {
                    CommunicationServiceClient.Instance.SendMessageToCharacter(new SCSCharacterMessage
                    {
                        DestinationCharacterId = Session.Character.Family.FamilyId,
                        SourceCharacterId = Session.Character.CharacterId,
                        SourceWorldId = ServerManager.Instance.WorldId,
                        Message = ccmsg,
                        Type = MessageType.FamilyChat
                    });
                }
                catch (Exception)
                {
                    
                }
10/16/2018 03:36 0Lucifer0#2
Best fix ever...:kappa:
10/16/2018 13:59 fantasy942#3
Well yeah... That don't let the server crash but that is not a Fix ^^

Fix is resolve the problem behind the crash.

This one is just a way to avoid the crash
10/16/2018 14:02 Blowa#4
I love to read all your posts where you are saying you fix a lot of things in OpenNos different sources.

The most funny party is that you definitely know what you are doing :lul:
10/16/2018 17:51 FI0w#5
Quote:
Originally Posted by 0Lucifer0 View Post
Best fix ever...:kappa:
Atleast he tried while he dont know C# so it isnt a good fix but a try? i mean it would be better when he post Error Message too so we could help but c'mon xD