Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 18:44

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

Advertisement



Ninja promo Npc for lotf

Discussion on Ninja promo Npc for lotf within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 07/10/2009, 22:53   #16
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
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
raidenx123 is offline  
Old 07/10/2009, 23:29   #17
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
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.
f0am is offline  
Old 07/11/2009, 00:01   #18
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
It matches all the other codes and if there reborn only it gives items <.<

And it doesnt give + items those are gems lmao
raidenx123 is offline  
Old 07/11/2009, 01:58   #19
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
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.
f0am is offline  
Old 07/11/2009, 02:14   #20
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
Then dont use it for yours
raidenx123 is offline  
Old 07/11/2009, 03:52   #21
 
cloudwind360's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 295
Received Thanks: 29
does anyone know how to work with the skills of ninja? like toxic fog?
cloudwind360 is offline  
Old 08/03/2009, 20:17   #22
 
elite*gold: 0
Join Date: Sep 2008
Posts: 38
Received Thanks: 1
help me the detail of the promotion NPC of ninja....

especially to learn skills and stats needed to be promoted and promotion...tnx
madrat88 is offline  
Old 08/03/2009, 20:36   #23
 
elite*gold: 0
Join Date: Aug 2009
Posts: 2
Received Thanks: 0
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.
WiggaWigga is offline  
Old 08/04/2009, 03:38   #24
 
elite*gold: 0
Join Date: Sep 2008
Posts: 38
Received Thanks: 1
im looking for the WindSage NPC (Promotion NPC for Ninja) details? can anyone help me?
madrat88 is offline  
Old 08/04/2009, 04:03   #25
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
STFU and stop spamming all threads with this...code stuff yourself if you want a good server it will fail if you just leach
raidenx123 is offline  
Reply


Similar Threads Similar Threads
[Release] Adding Ninja LOTF
07/04/2011 - CO2 PServer Guides & Releases - 73 Replies
You can add (Ninja , New Character ) Items , Skills , NPcs ...... By following the links and info And i can call it It isn't code or something like that .. i can help you to add ninja on LOTF (5017) ------------------- First go to YourConquerFolder/ini/ProfessionalName.ini in it add 50 means Character id . The command will be /job 50 for internNinja Now you added the character
[HELP]Ninja Promotion NPC lotf
08/26/2009 - CO2 Private Server - 5 Replies
Hey guy was wondering if any know the id for the ninja promotion npc WindSage? Thx in advance =)
[Release] Ninja Amulet (LOTF)
08/21/2009 - CO2 PServer Guides & Releases - 13 Replies
i used #search and didn't find a *release* for it. pete ninja had a code, but it was tested, so i just coded this and figured i'd release for all those retro coders. (like myself.) alright. in character.cs search: 723584 (if that isn't implemented in your source, search: 1060101 above either of those, add in: else if (ItemParts == "723583") //NINJA AMULET
Probs while adding Ninja to LOTF
07/18/2009 - CO2 Private Server - 20 Replies
Well i added Ninja but Katanas use Boxing as Prof how can i fix this?
can any one help me about ninja in LoTF
06/05/2009 - CO2 Private Server - 12 Replies
i need any help How i can add ninja items skills katana any one have any guide plz tell me any help please



All times are GMT +2. The time now is 18:44.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.