Register for your free account! | Forgot your password?

You last visited: Today at 00:51

  • Please register to post and access all features, it's quick, easy and FREE!

 

[EPIC-Release]Top Class Effects!

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Post [EPIC-Release]Top Class Effects!

Source Patch: 5165

CREDITS TO -Shunsui- for giving me an example of 1 NPC so that I could make all of them.

I WOULD APPRECIATE IF SOMEONE PUT ALL THESE NPCS AND MADE IT INTO ONE. THANKS <-- Done. Korvacs posted it below.

This code is several NPC codes put together (It's more than 1 NPC though) and if you talk to them it makes you Top ____ look Below:
Quote:
-TopGuildLeader
-TopDeputyLeader
-MonthlyPKChampion
-WeeklyPKChampion
-TopWarrior
-TopTrojan
-TopArcher
-TopWaterTaoist
-TopFireTaoist
-TopNinja

Code below, add it in PacketHandling/NPCDialog.cs, enjoy:






Code:
                            #region Top Trojan
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Trojan Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region Top Ninja
                            case 2728:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopNinja Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopGuildLeader
                            case 2729:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you liek the TopGuildLeader halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region WeeklyPKChampion
                            case 2730:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the WeeklyPKChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region MonthlyPKChampion
                            case 2731:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the MonthlyPkChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopDeputyLeader
                            case 2732:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you liek the TopDeputyLeader Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWarrior
                            case 2733:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Warrior Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopArcher
                            case 2734:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopArcher Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWaterTaoist
                            case 2735:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top WaterTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopFireTaoist
                            case 2736:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopFireTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion
                            #region TopArcher
                            case 2737:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopArcher Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    break;
                                }
                            #endregion

Now in OldCODB add
:

Quote:
2727 1200 2 0 1002 349 324
2728 1200 2 0 1002 353 324
2729 1200 2 0 1002 359 324
2730 1200 2 0 1002 362 324
2731 1200 2 0 1002 365 324
2732 1200 2 0 1002 369 324
2733 1200 2 9 1002 372 324
2734 1200 2 0 1002 375 324
2735 1200 2 0 1002 378 324
2736 1200 2 0 1002 382 324
2737 1200 2 0 1002 385 324
+K



airborne. is offline  
Thanks
17 Users
Old   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 0
Dude, nice release. This helped me alot.


DDecker12 is offline  
Old   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by DDecker12 View Post
Dude, nice release. This helped me alot.
I'm sure, lol.
airborne. is offline  
Old   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by DDecker12 View Post
Dude, nice release. This helped me alot.
Realy decker?


|BasicCoder| is offline  
Old   #5
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,497
Code:
                                case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which type of Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Guild", 1));
                                        GC.AddSend(Packets.NPCLink("Class", 2));
                                        GC.AddSend(Packets.NPCLink("Pk", 3));
                                        GC.AddSend(Packets.NPCLink("None", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("GuildLeader", 10));
                                        GC.AddSend(Packets.NPCLink("DeputyLeader", 11));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Warrior", 20));
                                        GC.AddSend(Packets.NPCLink("Archer", 21));
                                        GC.AddSend(Packets.NPCLink("WaterTaoist", 22));
                                        GC.AddSend(Packets.NPCLink("FireTaoist", 23));
                                        GC.AddSend(Packets.NPCLink("Trojan", 24));
                                        GC.AddSend(Packets.NPCLink("Ninja", 25));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 3)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Weekly", 30));
                                        GC.AddSend(Packets.NPCLink("Monthly", 31));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (Control == 10)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Guild Leader Halo");
                                    }
                                    else if (Control == 11)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Deputy Leader Halo");
                                    }
                                    else if (Control == 20)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Warrior Halo");
                                    }
                                    else if (Control == 21)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Archer Halo");
                                    }
                                    else if (Control == 22)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Water Taoist Halo");
                                    }
                                    else if (Control == 23)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Fire Taoist Halo");
                                    }
                                    else if (Control == 24)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    else if (Control == 25)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Ninja Halo");
                                    }
                                    else if (Control == 30)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Weekly Pk Champion Halo");
                                    }
                                    else if (Control == 31)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Monthly Pk Champion Halo");
                                    }
                                    break;
                                }
Thanks are appreciated.
Korvacs is offline  
Thanks
11 Users
Old   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by |BasicCoder| View Post
Realy decker?
YeAh.
DDecker12 is offline  
Old   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by Korvacs View Post
Code:
                                case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which type of Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Guild", 1));
                                        GC.AddSend(Packets.NPCLink("Class", 2));
                                        GC.AddSend(Packets.NPCLink("Pk", 3));
                                        GC.AddSend(Packets.NPCLink("None", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("GuildLeader", 10));
                                        GC.AddSend(Packets.NPCLink("DeputyLeader", 11));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Warrior", 20));
                                        GC.AddSend(Packets.NPCLink("Archer", 21));
                                        GC.AddSend(Packets.NPCLink("WaterTaoist", 22));
                                        GC.AddSend(Packets.NPCLink("FireTaoist", 23));
                                        GC.AddSend(Packets.NPCLink("Trojan", 24));
                                        GC.AddSend(Packets.NPCLink("Ninja", 25));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 3)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Weekly", 30));
                                        GC.AddSend(Packets.NPCLink("Monthly", 31));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (Control == 10)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Guild Leader Halo");
                                    }
                                    else if (Control == 11)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Deputy Leader Halo");
                                    }
                                    else if (Control == 20)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Warrior Halo");
                                    }
                                    else if (Control == 21)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Archer Halo");
                                    }
                                    else if (Control == 22)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Water Taoist Halo");
                                    }
                                    else if (Control == 23)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Fire Taoist Halo");
                                    }
                                    else if (Control == 24)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    else if (Control == 25)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Ninja Halo");
                                    }
                                    else if (Control == 30)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Weekly Pk Champion Halo");
                                    }
                                    else if (Control == 31)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Monthly Pk Champion Halo");
                                    }
                                }
Thanks are appreciated.
Very usefull =) thanks man
|BasicCoder| is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by Korvacs View Post
Code:
                                case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which type of Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Guild", 1));
                                        GC.AddSend(Packets.NPCLink("Class", 2));
                                        GC.AddSend(Packets.NPCLink("Pk", 3));
                                        GC.AddSend(Packets.NPCLink("None", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("GuildLeader", 10));
                                        GC.AddSend(Packets.NPCLink("DeputyLeader", 11));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Warrior", 20));
                                        GC.AddSend(Packets.NPCLink("Archer", 21));
                                        GC.AddSend(Packets.NPCLink("WaterTaoist", 22));
                                        GC.AddSend(Packets.NPCLink("FireTaoist", 23));
                                        GC.AddSend(Packets.NPCLink("Trojan", 24));
                                        GC.AddSend(Packets.NPCLink("Ninja", 25));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 3)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which Halo do you want?"));
                                        GC.AddSend(Packets.NPCLink("Weekly", 30));
                                        GC.AddSend(Packets.NPCLink("Monthly", 31));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (Control == 10)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Guild Leader Halo");
                                    }
                                    else if (Control == 11)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Deputy Leader Halo");
                                    }
                                    else if (Control == 20)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Warrior Halo");
                                    }
                                    else if (Control == 21)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Archer Halo");
                                    }
                                    else if (Control == 22)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Water Taoist Halo");
                                    }
                                    else if (Control == 23)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Fire Taoist Halo");
                                    }
                                    else if (Control == 24)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    else if (Control == 25)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Ninja Halo");
                                    }
                                    else if (Control == 30)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Weekly Pk Champion Halo");
                                    }
                                    else if (Control == 31)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Monthly Pk Champion Halo");
                                    }
                                }
Thanks are appreciated.
It sure is appreciated, thank you bro.
airborne. is offline  
Old   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
I don't think thats it.
Idk how it is in this source but in Lotf didn't you have to do SpawnToOthers and SpawnOthersToMe?
Would'nt you have to do that in this source?
Arcо is offline  
Thanks
1 User
Old   #10
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Erm I updated it slightly by making it give you the option to remove the halo
Code:
                            #region Top Trojan
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Trojan Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopTrojan);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopGuildLeader
                            case 2729:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you liek the TopGuildLeader halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top GuildLeader Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopGuildLeader);
                                    }
                                    break;
                                }
                            #endregion
                            #region WeeklyPKChampion
                            case 2730:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the WeeklyPKChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the TopWeeklyPKChampion Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.WeeklyPKChampion);
                                    }
                                    break;
                                }
                            #endregion
                            #region MonthlyPKChampion
                            case 2731:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the MonthlyPkChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top MonthlyPKChampion Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.MonthlyPKChampion);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopDeputyLeader
                            case 2732:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopDeputyLeader Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Deputy Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopDeputyLeader);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWarrior
                            case 2733:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Warrior Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Warrior Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopWarrior);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopNinja
                            case 2734:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopNinja Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Ninja Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopNinja);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWaterTaoist
                            case 2735:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top WaterTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Water Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopWaterTaoist);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopFireTaoist
                            case 2736:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopFireTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Fire Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopFireTaoist);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopArcher
                            case 2737:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopArcher Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Archer Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopArcher);
                                    }
                                    break;
                                }
                            #endregion
Andrew.A is offline  
Thanks
2 Users
Old   #11
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by Andrew.A View Post
Erm I updated it slightly by making it give you the option to remove the halo
Code:
                            #region Top Trojan
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Trojan Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopTrojan);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopGuildLeader
                            case 2729:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you liek the TopGuildLeader halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top GuildLeader Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopGuildLeader);
                                    }
                                    break;
                                }
                            #endregion
                            #region WeeklyPKChampion
                            case 2730:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the WeeklyPKChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the TopWeeklyPKChampion Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.WeeklyPKChampion);
                                    }
                                    break;
                                }
                            #endregion
                            #region MonthlyPKChampion
                            case 2731:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the MonthlyPkChampion Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.MonthlyPKChampion);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top MonthlyPKChampion Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.MonthlyPKChampion);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopDeputyLeader
                            case 2732:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopDeputyLeader Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Deputy Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopDeputyLeader);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWarrior
                            case 2733:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top Warrior Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Warrior Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopWarrior);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopNinja
                            case 2734:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopNinja Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Ninja Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopNinja);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopWaterTaoist
                            case 2735:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the Top WaterTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Water Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopWaterTaoist);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopFireTaoist
                            case 2736:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopFireTaoist Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Fire Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopFireTaoist);
                                    }
                                    break;
                                }
                            #endregion
                            #region TopArcher
                            case 2737:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like the TopArcher Halo?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Meng", 1));
                                        GC.AddSend(Packets.NPCLink("Remove Halo.", 2));
                                        GC.AddSend(Packets.NPCLink("Nah.", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                                        GC.Message(2005, GC.MyChar.Name + "Has won the Top Archer Halo");
                                    }
                                    else if (Control == 2)
                                    {
                                        GC.MyChar.StatEff.Remove(StatusEffectEn.TopArcher);
                                    }
                                    break;
                                }
                            #endregion
What do you mean, like if you choose the same or any Halo again while you already have it, it removes it?
airborne. is offline  
Old   #12
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
No it just gives an option to remove your current Halo
Andrew.A is offline  
Thanks
1 User
Old   #13
 
elite*gold: 0
Join Date: Dec 2009
Posts: 116
Received Thanks: 42
Quote:
Originally Posted by airborne. View Post
What do you mean, like if you choose the same or any Halo again while you already have it, it removes it?
He means he edited your release to where you can get the halo and take of the halo, Meaning if you do not like the halo you are able to take it off =)
Hitsugaya Toshiro is offline  
Old   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Andrew the remove Halo NPC only let's you have Top Archer Halo for some reason, try it.
airborne. is offline  
Old   #15
 
elite*gold: 0
Join Date: Dec 2009
Posts: 116
Received Thanks: 42
Quote:
Originally Posted by airborne. View Post
Andrew the remove Halo NPC only let's you have Top Archer Halo for some reason, try it.
Then most likly he mest up the coded in wicth case it needs re-written


Hitsugaya Toshiro is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[RELEASE]Garment effects
Okay, i saw post somewere that somebody wanted garment to have effect, so i tought i will find out and release it soo 1. Go to your ini folder...
37 Replies - CO2 PServer Guides & Releases
Release: Cool effects.Everyone 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...
34 Replies - CO2 PServer Guides & Releases
[Release] Class Potion
hi guyz , after some ppl started to ask for class potion i thought i should release it All Credits to haciveli AKA Ace
13 Replies - EO PServer Guides & Releases
[Release] SuperGem effects.
Okay here you guys go i don't know if you have it but you have it now. In Character.cs search for public void GemEffect() Replace whats there...
9 Replies - CO2 PServer - Discussions / Questions



All times are GMT +2. The time now is 00:51.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.