Exemplo n.º 1
0
        private static void WorldChangeMessage(CharacterInstance ch, LoginMessageData lmsg)
        {
            if (!lmsg.Text.IsNullOrEmpty())
            {
                LogManager.Instance.Bug("NULL loginMessage text for type 18");
                return;
            }

            ch.Printf("\r\n&GA change in the Realms has affected you personally:\r\n%s\r\n", lmsg.Text);
        }
Exemplo n.º 2
0
        private static void ImmortalMessage(CharacterInstance ch, LoginMessageData lmsg)
        {
            if (!lmsg.Text.IsNullOrEmpty())
            {
                LogManager.Instance.Bug("NULL loginMessage text for type 0");
                return;
            }

            ch.Printf("\r\n&YThe game administrators have left you the following message:\r\n%s\r\n", lmsg.Text);
        }
Exemplo n.º 3
0
        private static void DeathMessage(CharacterInstance ch, LoginMessageData lmsg)
        {
            if (!lmsg.Text.IsNullOrEmpty())
            {
                LogManager.Instance.Bug("NULL loginMessage text for type 17");
                return;
            }

            ch.Printf("\r\n&RYou were killed by %s while your character was link-dead.\r\n", lmsg.Text);
            ch.SendTo("You should look for your corpse immediately.");
        }