[REQUEST] Super Gems Effect

09/22/2008 00:26 glupkotrup#16
Hahahahahahahahahaha lol :D
09/22/2008 00:46 stephanyd#17
Quote:
Originally Posted by Zanzibar View Post
I r shemale
r'u really a she-male:confused:

Oh Keving.. tried ur code but still can't see dragons ... is there anything missing?
09/22/2008 00:49 Zanzibar#18
Quote:
Originally Posted by stephanyd View Post
r'u really a she-male:confused:

Oh Keving.. tried ur code but still can't see dragons ... is there anything missing?
Bleh.. I guess so..
--
You needa add
Code:
if (Attacking)
GemEffect();
Attack();
in your elapsed timer thingies
09/22/2008 00:53 stephanyd#19
Quote:
Originally Posted by Zanzibar View Post
Bleh.. I guess so..
--
You needa add
Code:
if (Attacking)
GemEffect();
Attack();
in your elapsed timer thingies
Working well Keving...thnak you very much
09/22/2008 01:38 pegaeu#20
Quote:
Originally Posted by Zanzibar View Post
Bleh.. I guess so..
--
You needa add
Code:
if (Attacking)
GemEffect();
Attack();
in your elapsed timer thingies
wer i add this?:confused:
09/22/2008 02:17 stephanyd#21
Quote:
Originally Posted by pegaeu View Post
wer i add this?:confused:
in Chracter.cs under :void TimerElapsed(object source, ElapsedEventArgs e)


it sould look like that
Quote:
void TimerElapsed(object source, ElapsedEventArgs e)
{
if (StigBuff)
if (DateTime.Now > Stigged.AddSeconds(20 + StigLevel * 5))
{
StigBuff = false;
MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
World.UpdateSpawn(this);
}
if (Attacking)
GemEffect();
Attack();
09/22/2008 04:43 pegaeu#22
this work in PowerSourceCO?
I have not seen any change
09/22/2008 08:16 lolex#23
I think it does not work for PowerSource. :(
09/22/2008 13:59 glupkotrup#24
Yeay!!! :p
09/22/2008 23:15 Bottingpunk#25
Quote:
Originally Posted by keving View Post
hmm maybe try mine :p
Code:
        public void GemEffect()
        {
            int into = 0;
            if (Equips[1] != null && Equips[1] != "0")
                into = 1;
            else if (Equips[2] != null && Equips[2] != "0")
                into = 2;
            else if (Equips[3] != null && Equips[3] != "0")
                into = 3;
            else if (Equips[6] != null && Equips[6] != "0")
                into = 6;
            else if (Equips[8] != null && Equips[8] != "0")
                into = 8;
            else
                return;
            string[] item = Equips[into].Split('-');

            if (item[4] == "13")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldendragon"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldendragon"));
                }
            }
            if (item[5] == "13")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldendragon"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "phoegoldendragonnix"));
                }
            }
            if (item[4] == "3")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "phoenix"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "phoenix"));
                }
            }
            if (item[5] == "3")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "phoenix"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "phoenix"));
                }
            }
            if (item[4] == "33")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "rainbow"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "rainbow"));
                }
            }
            if (item[5] == "33")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "rainbow"));

                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "rainbow"));
                }
            }
            if (item[4] == "53")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fastflash"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "fastflash"));
                }
            }
            if (item[5] == "53")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fastflash"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "fastflash"));
                }
            }
            if (item[4] == "63")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "moon"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "moon"));
                }
            }
            if (item[5] == "63")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "moon"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "moon"));
                }
            }
            if (item[4] == "43")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldenkylin"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldenkylin"));
                }
            }
            if (item[5] == "43")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldenkylin"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "goldenkylin"));
                }
            }
            if (item[5] == "53")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "purpleray"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "purpleray"));
                }
            }

            if (item[4] == "53")
            {
                if (Other.ChanceSuccess(10))
                {
                    foreach (DictionaryEntry DE in World.AllChars)
                    {
                        Character Chaar = (Character)DE.Value;
                        if (Chaar.Name != Name)
                        {
                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "purpleray"));
                        }
                    }
                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "purpleray"));
                }
            }
              if (item[4] == "73")
            {
             .........
            }
        }
aiiet good job man keep it up just one thing phoenix dosen't work so .. yeah
09/23/2008 01:41 pegaeu#26
any1 have code for TCWNN Source or PowerSourceCO?
09/23/2008 08:03 lolex#27
Repond kevin son of a bitch ... This code is used to Power Source?
09/23/2008 13:24 tao4229#28
Quote:
Originally Posted by lolex View Post
Repond kevin son of a bitch ... This code is used to Power Source?
You can use it in any (crappy) LOTF base server.... It doesn't take a freaking genius to copy+paste..
09/23/2008 13:54 glupkotrup#29
Yeah lol -_- Aaaah noobs nowadays...
09/23/2008 23:53 Bottingpunk#30
Yeah ... never mind lol i got everything working.
@pegaeu umm don't use powersource for one i don't thing it is all that good any more go to something like uhh ShadowCo source or something cause shadow is alot better it think just an appinion