Ninja promo Npc for lotf

07/10/2009 22:53 raidenx123#16
Here is fixed controls with awarding/requiring items + a system message
#Updated
Code:
if (CurrentNPC == 2009) // Wind Sage
                        {
                            if (Control == 1)
                            {
                                if (MyChar.Job == 50)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja you need to be level 15 or higher."));
                                }
                                if (MyChar.Job == 51)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Middle Ninja you need to be level 40 or higher."));
                                }
                                if (MyChar.Job == 52)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Dark Ninja you need to be level 70 or higher."));
                                }
                                if (MyChar.Job == 53)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Mystic Ninja you need to be level 100 or higher."));
                                }
                                if (MyChar.Job == 54)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja Master you need to be level 110 or higher."));
                                }
                                if (MyChar.Job != 55)
                                {
                                    SendPacket(General.MyPackets.NPCLink("I want to promote.", 2));
                                    SendPacket(General.MyPackets.NPCLink("I dont think I'm qualified for that yet.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You are at the highest promotion rank. I can not help you anymore."));
                                    SendPacket(General.MyPackets.NPCLink("Sorry.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (Control == 2)
                            {
                                bool Promoted = false;

                                if (MyChar.Job == 50 && MyChar.Level >= 15)
                                {
                                    MyChar.Job = 51;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 51 && MyChar.Level >= 40)
                                {
                                    MyChar.Job = 52;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 52 && MyChar.Level >= 70)
                                {
                                    MyChar.Job = 53;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 53 && MyChar.Level >= 100)
                                {
                                    if (MyChar.RBCount == 1)
                                    {
                                        MyChar.AddItem("601279-5-1-0-13-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    else if (MyChar.RBCount == 2)
                                    {
                                        MyChar.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    MyChar.Job = 54;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 54 && MyChar.Level >= 110)
                                {
                                    if (MyChar.RBCount == 0)
                                    {
                                        MyChar.AddItem("722342-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("150000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        World.SendMsgToAll("Congratulations, " + MyChar.Name + "has been rewarded a LoveForever Ring and A LoveLock!", " System", 2011);
                                    }
                                    else if (MyChar.RBCount == 1)
                                    {
                                        MyChar.AddItem("722342-0-4-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("150000-0-4-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        World.SendMsgToAll("Congratulations, " + MyChar.Name + "has been rewarded a Special LoveForever Ring, A Special LoveLock, and a DragonBall!", " System", 2011);
                                    }
                                    else if (MyChar.RBCount == 2)
                                    {
                                        MyChar.AddItem("722342-0-4-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("150000-0-4-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("601329-8-5-150-13-13", 0, (uint)General.Rand.Next(36457836));
                                        World.SendMsgToAll("Congratulations, " + MyChar.Name + "has been rewarded a Special LoveForever Ring, A special LoveLock, a DragonBall, and an Almost Maxed out JusticeKatana", " System", 2011);
                                    }
                                    MyChar.Job = 55;
                                    Promoted = true;
                                    World.SendMsgToAll("Congratulations, " + MyChar.Name + "has been promoted to a NinjaMaster!", " System", 2011);
                                }

                                if (Promoted)
                                {
                                    SendPacket(General.MyPackets.NPCSay("Congratulations! You have promoted yourself and gained some awesome items!"));
                                    SendPacket(General.MyPackets.NPCLink("Thanks.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());

                                    SendPacket(General.MyPackets.Vital(MyChar.UID, 7, MyChar.Job));
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You can't promote yet."));
                                    SendPacket(General.MyPackets.NPCLink("Okay.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (Control == 3)//Learn Skills
                            {
                                SendPacket(General.MyPackets.NPCSay("We still have to code the skills."));
                                SendPacket(General.MyPackets.NPCLink("Okay.", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }

                        }
Now just one question, what is WindSage's type ID so that his name is WindSage and whatnot?

Edit - the TYPE ID for real WindSage is 8830
07/10/2009 23:29 f0am#17
Quote:
Originally Posted by raidenx123 View Post
Here is fixed controls with awarding/requiring items + a system message
Code:
if (CurrentNPC == 2009) // Wind Sage
                        {
                            if (Control == 1)
                            {
                                if (MyChar.Job == 50)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja you need to be level 15 or higher."));
                                }
                                if (MyChar.Job == 51)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Middle Ninja you need to be level 40 or higher."));
                                }
                                if (MyChar.Job == 52)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Dark Ninja you need to be level 70 or higher."));
                                }
                                if (MyChar.Job == 53)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Mystic Ninja you need to be level 100 or higher."));
                                }
                                if (MyChar.Job == 54)
                                {
                                    SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja Master you need to be level 110 or higher."));
                                }
                                if (MyChar.Job != 55)
                                {
                                    SendPacket(General.MyPackets.NPCLink("I want to promote.", 2));
                                    SendPacket(General.MyPackets.NPCLink("I dont think I'm qualified for that yet.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You are at the highest promotion rank. I can not help you anymore."));
                                    SendPacket(General.MyPackets.NPCLink("Sorry.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (Control == 2)
                            {
                                bool Promoted = false;

                                if (MyChar.Job == 50 && MyChar.Level >= 15)
                                {
                                    MyChar.Job = 51;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 51 && MyChar.Level >= 40)
                                {
                                    MyChar.Job = 52;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 52 && MyChar.Level >= 70)
                                {
                                    MyChar.Job = 53;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 53 && MyChar.Level >= 100)
                                {
                                    if (MyChar.RBCount == 1)
                                    {
                                        MyChar.AddItem("130287-0-0-0-11-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    else if (MyChar.RBCount == 2)
                                    {
                                        MyChar.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    MyChar.Job = 54;
                                    Promoted = true;
                                }
                                else if (MyChar.Job == 54 && MyChar.Level >= 110)
                                {
                                    if (MyChar.RBCount == 0)
                                    {
                                        MyChar.AddItem("700012-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    else if (MyChar.RBCount == 1)
                                    {
                                        MyChar.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    else if (MyChar.RBCount == 2)
                                    {
                                        MyChar.AddItem("160199-0-0-0-13-0", 0, (uint)General.Rand.Next(36457836));
                                    }
                                    MyChar.Job = 55;
                                    Promoted = true;
                                    World.SendMsgToAll("Congratulations, " + MyChar.Name + "has been promoted to a NinjaMaster!", " System", 2011);
                                }
Now just one question, what is WindSage's type ID so that his name is WindSage and whatnot?

Edit - the TYPE ID for real WindSage is 8830
All you added was +s, so its not fixed its just edited. Wow? Also...Why in the world will you give them + items, I mean seriously..

It should go like this

Lvl 15 : Unique Armor

Lvl 40 : CPs or Silvers

Lvl 70 : ExpPotion + 5 or so expballs

Lvl 100 : Elite Weapon & Elite accessory

Lvl 110 : Dragonball, Exp potion, Super Armor and a refined or super gem

No where should be + items.
07/11/2009 00:01 raidenx123#18
It matches all the other codes and if there reborn only it gives items <.<

And it doesnt give + items those are gems lmao
07/11/2009 01:58 f0am#19
But not everyone has reborn. My reborn is way different then the current ones out there >< so that will have an effect if people are using mine.
07/11/2009 02:14 raidenx123#20
Then dont use it for yours :)
07/11/2009 03:52 cloudwind360#21
does anyone know how to work with the skills of ninja? like toxic fog?
08/03/2009 20:17 madrat88#22
help me the detail of the promotion NPC of ninja....

especially to learn skills and stats needed to be promoted and promotion...tnx
08/03/2009 20:36 WiggaWigga#23
Quote:
Originally Posted by raidenx123 View Post
im gay and proud of it :)
LOL yes you are. And f0am good job on the NPC although we can get the code from the other promotion NPCs and just edit the numbers.
08/04/2009 03:38 madrat88#24
im looking for the WindSage NPC (Promotion NPC for Ninja) details? can anyone help me?
08/04/2009 04:03 raidenx123#25
STFU and stop spamming all threads with this...code stuff yourself if you want a good server it will fail if you just leach