Register for your free account! | Forgot your password?

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

  • 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   #1
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Question Ninja promo Npc for lotf

Who can tell me some info,how make get promet npc for ninja in lotf thanks
sawickas is offline  
Old 07/08/2009, 20:26   #2
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Search for the CoEmu one, rewrite it.
~*NewDuuDe*~ is offline  
Old 07/08/2009, 20:37   #3
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Code:
if (CurrentNPC == 62184)
                            {
                                if (MyChar.Job < 201 && MyChar.Job > 194)
                                {
                                    SendPacket(General.MyPackets.NPCSay("Hey Ninja, What would you like to do?"));
                                    SendPacket(General.MyPackets.NPCLink("Get Promoted", 1));
                                    SendPacket(General.MyPackets.NPCLink("Learn Skills", 2));
                                    SendPacket(General.MyPackets.NPCLink("Im Leaving", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("Sorry, Your not a Ninja"));
                                    SendPacket(General.MyPackets.NPCLink("I know", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
Code:
if (CurrentNPC == 62184)
                            {
                                if (Control == 1)
                                {
                                    if (MyChar.Job == 196 && MyChar.Level >= 39)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                        MyChar.Job = 197;
                                        MyChar.Save();
                                        Drop();
                                    }
                                    if (MyChar.Level <= 40)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    if (MyChar.Job == 197 && MyChar.Level >= 69)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                        MyChar.Job = 198;
                                        MyChar.Save();
                                        Drop();
                                    }
                                    if (MyChar.Level <= 70)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    if (MyChar.Job == 198 && MyChar.Level >= 99)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                        MyChar.Job = 199;
                                        MyChar.Save();
                                        Drop();
                                    }
                                    if (MyChar.Level <= 100)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    if (MyChar.Job == 199 && MyChar.Level >= 109)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                        MyChar.Job = 200;
                                        MyChar.Save();
                                        Drop();
                                    }
                                    if (MyChar.Level <= 110)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    if (MyChar.Job == 200)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Max Promotion Reached"));
                                        SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }


                                }



                                if (Control == 2)
                                {

                                    SendPacket(General.MyPackets.NPCSay("No skills Made, Sorry."));
                                    SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
danielachraf is offline  
Thanks
1 User
Old 07/08/2009, 21:40   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
actually the true job id of ninja is 50,51,52,53,54,55
PeTe Ninja is offline  
Old 07/08/2009, 21:58   #5
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by PeTe Ninja View Post
actually the true job id of ninja is 50,51,52,53,54,55
yea
danielachraf is offline  
Old 07/08/2009, 22:26   #6
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
I am noob in c plyz past full maked code
sawickas is offline  
Old 07/08/2009, 22:43   #7
 
elite*gold: 20
Join Date: May 2008
Posts: 1,103
Received Thanks: 254
Has full do u want it clean a bit of C# npcs are the easy ones lol
Pete1990 is offline  
Old 07/08/2009, 23:02   #8
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by sawickas View Post
I am noob in c plyz past full maked code
you've just lost my respect and im pretty sure a whole lot of other peoples respect, thats why people flame every new person here because of people like you who are lazy and just want the full thing so they wont have to do themselves, i could make you a code and make it delete everything that way you would learn something and you would still probably take it
PeTe Ninja is offline  
Old 07/08/2009, 23:42   #9
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
I lern C me need onli some hellp
sawickas is offline  
Old 07/09/2009, 00:02   #10
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
google it.
PeTe Ninja is offline  
Old 07/09/2009, 02:06   #11
 
elite*gold: 0
Join Date: Feb 2008
Posts: 60
Received Thanks: 40
what is the npc type for promo ninja?
derstar is offline  
Old 07/09/2009, 03:34   #12
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
Quote:
Originally Posted by derstar View Post
what is the npc type for promo ninja?
its in the NPC.ini in the conquer client
Arcotemple:) is offline  
Old 07/09/2009, 11:46   #13
 
elite*gold: 0
Join Date: Feb 2008
Posts: 60
Received Thanks: 40
i have Error i edit the Code but the Npc tell me you not a ninja but i edited it see
Quote:
if (CurrentNPC == 62184)
{
if (MyChar.Job < 50 && MyChar.Job > 50)
{
SendPacket(General.MyPackets.NPCSay("Hey Ninja, What would you like to do?"));
SendPacket(General.MyPackets.NPCLink("Get Promoted", 1));
SendPacket(General.MyPackets.NPCLink("Learn Skills", 2));
SendPacket(General.MyPackets.NPCLink("Im Leaving", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("Sorry, Your not a Ninja"));
SendPacket(General.MyPackets.NPCLink("I know", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
Quote:
if (MyChar.Job < 50 && MyChar.Job > 50)
the Job is 50 for the Ninja but dont work
derstar is offline  
Old 07/09/2009, 14:04   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Here you go guys...

Code:
                            if (CurrentNPC == 2009) // Wind Sage
                            {
                                if (MyChar.Job >= 50 && MyChar.Job <= 55)
                                {
                                    SendPacket(General.MyPackets.NPCSay("Hello, I am the Ninja Trainer. What can i do for you?"));
                                    SendPacket(General.MyPackets.NPCLink("I would like to promote.", 1));
                                    SendPacket(General.MyPackets.NPCLink("I want to learn new skills.", 3));
                                    SendPacket(General.MyPackets.NPCLink("Just passing by.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You are not a Ninja, Go away!"));
                                    SendPacket(General.MyPackets.NPCLink("Sorry!!", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
and..

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)
                                    {
                                        MyChar.Job = 54;
                                        Promoted = true;
                                    }
                                    else if (MyChar.Job == 54 && MyChar.Level >= 110)
                                    {
                                        MyChar.Job = 55;
                                        Promoted = true;
                                    }

                                    if (Promoted)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Congratulations! You have promoted yourself."));
                                        SendPacket(General.MyPackets.NPCLink("Yay!.", 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("Damn.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                                if (Control == 3)
                                {
                                    // Learn Skills
                                }

                            }
Then go to your client and inside the INI Folder find ProfessionalName.ini and in there

after 45 ,ArcherMaster add

Code:
50 ,InternNinja
51 ,Ninja
52 ,MiddleNinja
53 ,DarkNinja
54 ,MysticNinja
55 ,NinjaMaster
@derstar , You did if (MyChar.Job < 50 && MyChar.Job > 50)

So what you did was..

MyChar.Job (IS LESS THAN) 50
MyChar.Job (IS GREATER THAN) 50

It coudn't read it because well it can be any job but because you have it canceling eachother out it wont work. Look at the one i posted above and it will work.

Tip* - The npc name for the Ninja Promotion is called Wind Sage

Source :
f0am is offline  
Thanks
1 User
Old 07/10/2009, 17:46   #15
 
Yooha's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 47
Received Thanks: 5
ty bro its work 100%
Yooha 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 +1. The time now is 23:11.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.