Register for your free account! | Forgot your password?

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

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

Advertisement



please any buddy post here npcs

Discussion on please any buddy post here npcs within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 2
please any buddy post here npcs

hi all please any buddy have npcs
post here
ramy999 is offline  
Old 03/31/2009, 01:44   #2
 
elite*gold: 0
Join Date: Mar 2007
Posts: 369
Received Thanks: 79
where the Moderators
they have to Delete all this idiot Topic
becko713 is offline  
Old 03/31/2009, 01:46   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 47
Received Thanks: 2
DO YOUR OWN NPCS NOOB
Petetoft99 is offline  
Old 03/31/2009, 01:57   #4
 
brodie67's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 41
Received Thanks: 4
plrease any buddy post here npcs

Owned..
brodie67 is offline  
Old 03/31/2009, 03:05   #5
 
elite*gold: 0
Join Date: Apr 2006
Posts: 55
Received Thanks: 12
if (npc id = 123)
{
if (option = 0)
{
Console.WriteLine("Your ******* stupid as hell")
}
if (option = 1)
{
Console.WriteLine("get the **** out of here please you noob");
}
}
joshvette001 is offline  
Old 03/31/2009, 07:42   #6
 
Hoven's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 456
Received Thanks: 128
Smile How a NPC Works, and i hope you LEARN OFF THIS!

Ok ill post an NPC guide i got from a very good friend PeTeNinja which explaines a lot, so next time you can try before asking!

(Credits to PeTeNinja!!!!!!!)

Here it is:

The first part of the NPC
Code:
if (CurrentNPC == 1000076) // Our First NPC 
                            {
                                SendPacket(General.MyPackets.NPCSay("You want your nooby crap?"));
                                SendPacket(General.MyPackets.NPCLink("Heck yeah!", 1));
                                SendPacket(General.MyPackets.NPCLink("whats in it?", 2));
                                SendPacket(General.MyPackets.NPCLink("NO ill do it myself.", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
The Second:
Code:
if (CurrentNPC == 1000076) // Our First NPC Do ( now you want to have the same UID there you see? )
                                {
                                    if (Control == 1 && MyChar.ItemsInInventory <= 33)
                                    {
                                        MyChar.AddItem("480339-9-7-255-13-13", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("723700-0-0-0-0-0", 5, (uint)General.Rand.Next(36457836));
                                        MyChar.AddItem("723017-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        MyChar.LearnSkill(7020, 9);
                                    }
                                    if (Control == 2)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Well... you get a maxed out level 130 club and also 5 expballs and 1 exppot, oh and did i forget to mention, FIXED RAGE!!!"));
                                        SendPacket(General.MyPackets.NPCLink("I changed my mind, i do want to get it", 3));
                                        SendPacket(General.MyPackets.NPCLink("NO! THATS STUPID!!!!!", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    else if (MyChar.ItemsInInventory > 33)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Make sure you have 7 spots left in your inventory =]"));
                                        SendPacket(General.MyPackets.NPCLink("Oh, My Bad", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
Accual Npc Info:
Code:
UID = 1000076

Type = 1170

Name = StarterPackNPC

Flags = 2

Direction = 0

X = 527

Y = 543

Map = 1002
Translations of the Npc Info:
Code:
UID = THIS IS The part that YOU CAN NOT MIX WITH OTHERS!!! this is where you get your coding thing, so if you want to code something with this npc

Type = the real name ofyour npc but it will be put in numbers, one sec

Name = the name that you want to search for , this too

Flags = Shop = 1 ( not sure i forget ) , Reg Npc = 2 ( regular )

Direction = the direction of the npc, basically looking everywhere :D

X = the x-cordinate that the npc will be on ,, will beweird to mix on these

Y = the y-cordinate that the npc will be on

Map = the map the npc is in
Hoven is offline  
Old 03/31/2009, 15:37   #7
 
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 2
good but how to work
ramy999 is offline  
Old 04/01/2009, 00:32   #8
 
Hoven's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 456
Received Thanks: 128
....
Hoven is offline  
Old 04/01/2009, 00:48   #9
 
elite*gold: 0
Join Date: Feb 2009
Posts: 47
Received Thanks: 2
Lol he needs to learn how to code
Petetoft99 is offline  
Old 04/01/2009, 02:29   #10
 
elite*gold: 0
Join Date: Oct 2006
Posts: 25
Received Thanks: 4
Quote:
Originally Posted by ramy999 View Post
good but how to work
O>M>G
Superman50 is offline  
Old 04/01/2009, 04:50   #11
 
Hoven's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 456
Received Thanks: 128
I even provided an expample n how it works D: cmon dude, atleast TRY... u can see in other guides, etc how they are inserted... my bed times 10:00pm on school nights sadly =/ i put this together last night at like 1 =/ PLEASE TRYYYYY =D

Heres meh motto
"If at first you dont succeed, Try Try Again!"
Hoven is offline  
Old 04/01/2009, 16:10   #12
 
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 2
yes i need learned this please
ramy999 is offline  
Reply




All times are GMT +1. The time now is 09:43.


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.