Cool effects....everyone can see them.

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Account Upgraded | Title Enabled! alexbigfoot is offline
    MemberRank
    Jun 2008 Join Date
    Right beside you.....Location
    240Posts

    Cool effects....everyone can see them.

    Well...because a lot of ppl...was waiting for it..and because i stopped coding....im gonna post it.
    here it comes:
    In character.cs at line 100 add
    Code:
    public bool AllSuper = false;
    in the "void TimerElapsed(object source, ElapsedEventArgs e)" you should find something like
    Code:
                if (Action == 250)
    after it add
    Code:
    if (Action == 100)
                    if (Stamina < 100)
                    {
                        Stamina += 5;
                        if (Stamina > 100)
                            Stamina = 100;
                        MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                    }
                if (Action == 230)
                {
                    if (Equips[3] != null)
                    {
                        FullSuper();
                        string TheEquip = Equips[3];
                        string[] Splitter = TheEquip.Split('-');
                        uint ItemId = uint.Parse(Splitter[0]);
                        if (Other.ItemQuality(ItemId) == 9 && (Equips[1] != null || Equips[4] == null) && (Equips[2] != null || Equips[2] == null) && (Equips[4] != null || Equips[4] == null) && (Equips[8] != null || Equips[8] == null) && (Equips[6] != null || Equips[6] == null))
                        {
                            if (Job <= 16 && Job >= 9)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior-s"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior-s"));
                                Action = 100;
                            }
                            if (Job <= 26 && Job >= 19)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter-s"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter-s"));
                                Action = 100;
    
                            }
                            if (Job <= 46 && Job >= 39)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer-s"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer-s"));
                                Action = 100;
                            }
                            if (Job <= 146 && Job >= 100)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist-s"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist-s"));
                                Action = 100;
                            }
                        }
                        if (AllSuper == true && Other.ItemQuality(ItemId) == 9 && Equips[1] != null && Equips[2] != null && Equips[3] != null && Equips[4] != null && Equips[8] != null && Equips[6] != null)
                        {
                            if (Job <= 16 && Job >= 9)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior"));
                                Action = 100;
                            }
                            if (Job <= 26 && Job >= 19)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter"));
                                Action = 100;
    
                            }
                            if (Job <= 46 && Job >= 39)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer"));
                                Action = 100;
                            }
                            if (Job <= 146 && Job >= 100)
                            {
                                foreach (DictionaryEntry DE in World.AllChars)
                                {
                                    Character Chaar = (Character)DE.Value;
                                    if (Chaar.Name != Name)
                                    {
                                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist"));
                                    }
                                }
                                MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist"));
                                Action = 100;
                            }
                        }
                    }
                }
    search for public Character()
    before it add
    Code:
    public void FullSuper()
            {
                if (Equips[1] != null && Equips[2] != null && Equips[3] != null && Equips[4] != null && Equips[8] != null && Equips[6] != null)
                {
                    string TheEquip1 = Equips[1];
                    string TheEquip2 = Equips[2];
                    string TheEquip3 = Equips[3];
                    string TheEquip4 = Equips[4];
                    string TheEquip8 = Equips[8];
                    string TheEquip6 = Equips[6];
    
                    string[] Splitter1 = TheEquip1.Split('-');
                    uint ItemId1 = uint.Parse(Splitter1[0]);
    
                    string[] Splitter2 = TheEquip2.Split('-');
                    uint ItemId2 = uint.Parse(Splitter2[0]);
    
                    string[] Splitter3 = TheEquip3.Split('-');
                    uint ItemId3 = uint.Parse(Splitter3[0]);
    
                    string[] Splitter4 = TheEquip4.Split('-');
                    uint ItemId4 = uint.Parse(Splitter4[0]);
    
                    string[] Splitter8 = TheEquip8.Split('-');
                    uint ItemId8 = uint.Parse(Splitter8[0]);
    
                    string[] Splitter6 = TheEquip6.Split('-');
                    uint ItemId6 = uint.Parse(Splitter6[0]);
    
                    if (Other.ItemQuality(ItemId1) == 9 && Other.ItemQuality(ItemId2) == 9 && Other.ItemQuality(ItemId3) == 9 && Other.ItemQuality(ItemId4) == 9 && Other.ItemQuality(ItemId8) == 9 && Other.ItemQuality(ItemId6) == 9)
                    {
                        AllSuper = true;
                    }
                }
            }
    Thats all...it works awesome...trust me.


  2. #2
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: Cool effects....everyone can see them.

    cool now u should release ure exp pot code lol



    quote from alexbigfoot'Well...because a lot of ppl...was waiting for it..and because i stopped coding....im gonna post it.'

    well that scks that ure quitting =x

  3. #3
    Enthusiast kafetao is offline
    MemberRank
    Jan 2008 Join Date
    26Posts

    Re: Cool effects....everyone can see them.

    when I am all super = appears two effect (allsuper + only armor super)

    how fix ?

  4. #4
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: Cool effects....everyone can see them.

    shortened it up abit alltho the way i did it works for both supers or no supers 'i personally like it that way donnu about every1 else'

  5. #5
    Member iHaveALife is offline
    MemberRank
    Jul 2008 Join Date
    55Posts

    Re: Cool effects....everyone can see them.

    It's a little messed up.. I had to fix it up a little bit

  6. #6
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: Cool effects....everyone can see them.

    Quote Originally Posted by iHaveALife View Post
    It's a little messed up.. I had to fix it up a little bit
    whatd u change? =x lol

  7. #7
    Account Upgraded | Title Enabled! petertoft is offline
    MemberRank
    Jan 2008 Join Date
    In ur mom!Location
    417Posts

    Re: Cool effects....everyone can see them.

    Good Work

  8. #8
    Account Upgraded | Title Enabled! alexbigfoot is offline
    MemberRank
    Jun 2008 Join Date
    Right beside you.....Location
    240Posts

    Re: Cool effects....everyone can see them.

    Quote Originally Posted by kafetao View Post
    when I am all super = appears two effect (allsuper + only armor super)

    how fix ?
    well....i like when appears the effects(allsuper + only armor super) is awesome XD

  9. #9
    Valued Member keving is offline
    MemberRank
    Jan 2008 Join Date
    GermanyLocation
    115Posts

    Re: Cool effects....everyone can see them.

    Noword about my help :(

  10. #10
    Valued Member zenneynguyen91 is offline
    MemberRank
    Jul 2007 Join Date
    californiaLocation
    102Posts

    Re: Cool effects....everyone can see them.

    God i love you!!!!

  11. #11
    Apprentice flame142 is offline
    MemberRank
    Jun 2008 Join Date
    19Posts

    Re: Cool effects....everyone can see them.

    Thanks, could have wrote that you need to use Cool action.

    But I like it ;)

  12. #12
    Account Upgraded | Title Enabled! Nightwing7 is offline
    MemberRank
    Feb 2007 Join Date
    251Posts

    Re: Cool effects....everyone can see them.

    This is just a little clean-up of the code cuz u can use cool effects when your dead so...

    First find void TimerElapsed(object source, ElapsedEventArgs e) as before

    Then change to this
    Code:
    if (Action == 230)
                {
                    if (Alive == false)
                    {
                        General.MyPackets.SendMsg(MyClient.MessageId, "Reaper", Name, "You are Dead... Cannot use Actions", 2011);
                    }
                    else if (Alive == true)
                    {
                                            if (Equips[3] != null)
                        {
                            FullSuper();
                            string TheEquip = Equips[3];
                            string[] Splitter = TheEquip.Split('-');
                            uint ItemId = uint.Parse(Splitter[0]);
                            if (Other.ItemQuality(ItemId) == 9 && (Equips[1] != null || Equips[4] == null) && (Equips[2] != null || Equips[2] == null) && (Equips[4] != null || Equips[4] == null) && (Equips[8] != null || Equips[8] == null) && (Equips[6] != null || Equips[6] == null))
                            {
                                if (Job <= 16 && Job >= 9)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior-s"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior-s"));
                                    Action = 100;
                                }
                                if (Job <= 26 && Job >= 19)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter-s"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter-s"));
                                    Action = 100;
    
                                }
                                if (Job <= 46 && Job >= 39)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer-s"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer-s"));
                                    Action = 100;
                                }
                                if (Job <= 146 && Job >= 100)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist-s"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist-s"));
                                    Action = 100;
                                }
                            }
                            if (AllSuper == true && Other.ItemQuality(ItemId) == 9 && Equips[1] != null && Equips[2] != null && Equips[3] != null && Equips[4] != null && Equips[8] != null && Equips[6] != null)
                            {
                                if (Job <= 16 && Job >= 9)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "warrior"));
                                    Action = 100;
                                }
                                if (Job <= 26 && Job >= 19)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "fighter"));
                                    Action = 100;
    
                                }
                                if (Job <= 46 && Job >= 39)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "archer"));
                                    Action = 100;
                                }
                                if (Job <= 146 && Job >= 100)
                                {
                                    foreach (DictionaryEntry DE in World.AllChars)
                                    {
                                        Character Chaar = (Character)DE.Value;
                                        if (Chaar.Name != Name)
                                        {
                                            Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist"));
                                        }
                                    }
                                    MyClient.SendPacket(General.MyPackets.String(UID, 10, "taoist"));
                                    Action = 100;
                                }
                            }
                        }
                    }
                }

  13. #13
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: Cool effects....everyone can see them.

    Quote Originally Posted by Nightwing7 View Post
    This is just a little clean-up of the code cuz u can use cool effects when your dead so...

    First find void TimerElapsed(object source, ElapsedEventArgs e) as before

    Then change to this
    xx/code]
    ahh never even realized that 'bug' myself thanks =x

  14. #14
    Account Upgraded | Title Enabled! Nightwing7 is offline
    MemberRank
    Feb 2007 Join Date
    251Posts

    Re: Cool effects....everyone can see them.

    Quote Originally Posted by james1992_2006 View Post
    ahh never even realized that 'bug' myself thanks =x
    xD man nice to see u still here james lol how is the CO world doing anyway lol

    i have been away for a WHILE lol i remember having u on msn but i havent signed into that shit in soooo long been playing too much 2Moons lol

    and i see the big source now is LOTF i remember when it used to be COEU lol or CO 2.0 wen

  15. #15
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: Cool effects....everyone can see them.

    Quote Originally Posted by Nightwing7 View Post
    xD man nice to see u still here james lol how is the CO world doing anyway lol

    i have been away for a WHILE lol i remember having u on msn but i havent signed into that shit in soooo long been playing too much 2Moons lol

    and i see the big source now is LOTF i remember when it used to be COEU lol or CO 2.0 wen
    ye, u 2... and ye i noticed... i was just about 2 rego on rz and tell u 2 get on msn... yuppp same lol


    critten1242@hotmail.com



Page 1 of 2 12 LastLast

Advertisement