Yaron89

Member
Yaron89 submitted a new resource:

Knive Chat Reborn - Private Messages, World Chat, etc.

This is a rebuild of the previous Knive Chat I uploaded. I used the latest beta I could find and edited the script to ensure that there was no crashing that happened due to a fault I had found in the script. This will run smoothly with the latest version of RunUO with no crashing whatsoever. I hope you all enjoy!

A script was edited during trial runs.
General

There were some removed scripts from Xanthos and Knive Chat to get it to work properly.

This chat system works...

Read more about this resource...
 
Last edited:
  • Like
Reactions: ExX
Scripts removed from Xanthos & Knives chat to make it work properly:
The ENTIRE spellcrafting system from Xanthos (it wasn't working and kept crashing the server)
MOTD from Xanthos Utilities
(I think there was one other script I had to remove but I can't, for the live of me, find it.)

This was the issue in the script:
Code:
        public static void List(Mobile m, int page)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new ListGump(m, page);
                    break;
                case Skin.Two:
                    new ListGump20(m, page);
                    break;
                default:
                    new ListGump10(m, page);
                    break;
            }
        }

        public static void List(Mobile m, Mobile targ)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new ListGump(m, targ);
                    break;
                case Skin.Two:
                    new ListGump20(m, targ);
                    break;
                default:
                    break;
            }
        }

        public static void PmNotify(Mobile m)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new PmNotifyGump(m);
                    break;
                case Skin.Two:
                    new PmNotifyGump20(m);
                    break;
                default:
                    new PmNotifyGump10(m);
                    break;

This is the updated and fixed code:

Code:
        public static void List(Mobile m, int page)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new ListGump(m, page);
                    break;
                case Skin.Two:
                    new ListGump20(m, page);
                    break;
                default:
                case Skin.One:
                    new ListGump(m, page);
                    break;
            }
        }

        public static void List(Mobile m, Mobile targ)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new ListGump(m, targ);
                    break;
                case Skin.Two:
                    new ListGump20(m, targ);
                    break;
                default:
                    case Skin.One:
                    new ListGump(m, targ);
                    break;
            }
        }

        public static void PmNotify(Mobile m)
        {
            switch (Data.GetData(m).MenuSkin)
            {
                case Skin.Three:
                    new PmNotifyGump(m);
                    break;
                case Skin.Two:
                    new PmNotifyGump20(m);
                    break;
                default:
                    new PmNotifyGump(m);
                    break;
            }
        }
 

Active Shards

Donations

Total amount
$80.00
Goal
$1,000.00
Back