Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] ninja npc help....

Discussion on [Help] ninja npc help.... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
reactant's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 91
Received Thanks: 3
Post [Help] ninja npc help....

hey guys i need some help... about the ninja npc.... on how to create it... can u plsss give me source code on it... its a big help.... thanks a lot and looking forward to ur help....
reactant is offline  
Old 03/06/2009, 09:37   #2
 
flopymata's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 19
Received Thanks: 5
add me on MSN: or yahoo: maybe can make a team and coding
flopymata is offline  
Old 03/06/2009, 15:13   #3
 
bazemad's Avatar
 
elite*gold: 19
Join Date: Nov 2007
Posts: 248
Received Thanks: 30
hmm all have prob whit ninja npc
bazemad is offline  
Old 03/06/2009, 15:47   #4
 
elite*gold: 0
Join Date: Mar 2007
Posts: 369
Received Thanks: 79
Quote:
Originally Posted by reactant View Post
hey guys i need some help... about the ninja npc.... on how to create it... can u plsss give me source code on it... its a big help.... thanks a lot and looking forward to ur help....
why you need NInja npc if you don't even have Ninja Class
becko713 is offline  
Old 03/06/2009, 17:17   #5
 
2coolforu2's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 377
Received Thanks: 80
If it is LOTF source then you have to make a little bit changes where you see that it says promotion for trojan/taos/war/arch and yeah, then you add ninja to it and then you have to open a file and add the npc cords and name there and i think thats it for that, then you open a web and add the npc, name, position (Cords) And i think thats it.


(Not going to tell the name of the files/web WORK FOR IT :] )
2coolforu2 is offline  
Old 03/07/2009, 03:01   #6
 
araXis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 418
Received Thanks: 49
Ok heres how to add the Ninja Promotion Guy, this might change depending on your source code. You also need to sapwn the npc. The id is 62184

In NPCSAY Region
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());
                            }
In NPCDO Region

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());
                            }
                        }
araXis is offline  
Old 03/07/2009, 10:05   #7
 
xxFastBoy's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 145
Received Thanks: 8
Quote:
Originally Posted by araXis View Post
Ok heres how to add the Ninja Promotion Guy, this might change depending on your source code. You also need to sapwn the npc. The id is 62184

In NPCSAY Region
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());
                            }
In NPCDO Region

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());
                            }
                        }
Lol its For LOTF source.
xxFastBoy is offline  
Old 03/07/2009, 15:18   #8
 
reactant's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 91
Received Thanks: 3
i need none LOTF source pls....... but anyway thanks for ur help..... ^^
reactant is offline  
Reply


Similar Threads Similar Threads
S> Ninja War Fire 133 133 133 [Baron] & Ninja Ninja Ninja 130 131 134 [Earl]--Volcano
03/01/2016 - Conquer Online 2 Trading - 4 Replies
Hello guys. Iam Selling 2 Chars on Server Volcano. First > Ninja War Fire 133 133 133 Most skills Fixed , for 40DBs or Trade it for (S) +6 2Soc Fan & Tower. 2nd > Ninja Ninja Ninja 130 131 134 Fixed all skills, For 50dbs.
Ninja items and Ninja Ninja Ninja in server libra
05/30/2010 - Conquer Online 2 Trading - 2 Replies
i selling account Ninja 131 to Ninja 132 to Ninja 132 in server Libra his name is King~Of~Hill and another thing i sell 1- Veil super +8 -5 no soc 2- Katana super lvl 130 +4 -5 2SDG 3- Katana super lvl 120 +4 -5 2SDG 4- Boot Elite -3 +5 1SDG 5- Vest super +2 -5 6- Ring super +4 -5 1SDG 7- Necklace super +4 -5 1SDG



All times are GMT +2. The time now is 08:31.


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.