Register for your free account! | Forgot your password?

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

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

Advertisement



The CoEmu V2 NPC Thread - Post your ready made NPCs

Discussion on The CoEmu V2 NPC Thread - Post your ready made NPCs within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 05/30/2009, 13:33   #16
 
araXis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 418
Received Thanks: 49
Cool release for npc's thanks a lot xD
araXis is offline  
Old 05/30/2009, 14:22   #17
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Thanks Kiyono
felipeboladao works nice ! you should update your first post so everyone could use it ^_^
$HaDoW is offline  
Old 05/30/2009, 14:26   #18


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
I`m right now converting the MA upgrade npc from LOTF, when I`m done and I have some spare time I`ll upload that one. Btw, anyone figured out why the TC Artisan`s upgrade won`t save?
KraHen is offline  
Old 05/30/2009, 17:41   #19
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Updated with CPAdmin.
scottdavey is offline  
Old 05/30/2009, 17:58   #20
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
dude great job ! very good job now find a way for upgrade weapons like +1... quality, level, unknown dude
heres the codes I'm good with dialogs and simple stuff but doing hard stuff is my weekness
Code:
case 10064://tinter NPC
                    {
                        if (LinkBack == 0)
                        {
                            Text("Do you want to dye your armor, headgear or shield?", CSocket);
                            Link("Armor", 255, CSocket);
                            Link("Headgear", 255, CSocket);
                            Link("Shield", 255, CSocket);
							Link("Teleport me out please", 4, CSocket);
							Link("I see, Goodbye.", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
						else if (LinkBack == 4)
                        {
                            {
								Teleport(1002, 439, 390, 0, CSocket);
                            }
                        }
                        break;
                    }
					case 3825://Unknown Man NPC
                    {
                        if (LinkBack == 0)
                        {
                            Text("Hey, there! Please take pity on a homeless old man! I am so hungry but can't even afford a bowl of noodles. Could you help me out there? The gods always smile on kindness, you know!", CSocket);
							Link("Here are 100 silvers. Take Care.", 1, CSocket);
							Link("No way. I don't do charity.", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						else if (LinkBack == 1)
                        {
							if(CSocket.Client.Money >= 100)
							{
								Money(-100, CSocket);
								Text("Thank you young one. so where was I ?", CSocket);
								Link("You wanted to tell me something...", 2, CSocket);
								Face(30, CSocket);
								End(CSocket);
							}
							else
							{
								Text("It seems your poorer then me...", CSocket);
								Link("Sorry Sir, I will get the money.", 255, CSocket);
								Face(30, CSocket);
								End(CSocket);
							}
						}
						if (LinkBack == 2)
                        {
                            Text("Oh yeah... The Dragonball is such a supernatural item which can not only upgrade the level and the quality of your gears, but also help you level up quickly.", CSocket);
							Text(" I can draw the infinite energy contained in the Dragonball and utilize it to increase your experience. In a single secound, you could gain experience of hours of work!", CSocket);
							Link("Wow! I can't wait to start.", 3, CSocket);
							Link("It's truly amazing! NOT!", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 3)
                        {
                            Text("You can only draw energy from dragonballs once a day. Bring Dragonball to me, and then I will help you to transfer the energy containing in DB to your body.", CSocket);
							Text(" So you can make use of the energy to level up instantly from Level (YOUR LEVEL) to Level(NextLeveL) (00%)", CSocket);
							Link("Let's get started!", 4, CSocket);
							Link("Thanks. I see.", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 4)
                        {
                            Text("Give me a Dragonball and let's get started!", CSocket);
							Link("Here you are!", 5, CSocket);
							Link("sorry I dont have one!", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 5)
						{
							if(CSocket.Client.Inventory.ContainsKey(10880008)) //Dragonball
							{
								{
									CSocket.Client.Inventory.Remove(10880008);
									Text("OWNED ! I dont work yet ^_^", CSocket);
									Link("you son of a bith!.", 255, CSocket);
									Face(30, CSocket);
									End(CSocket);
								}
							}
							else
								{
									Text("Dare you try to rip me off?! Be gone, fool!", CSocket);
									Link("Sorry sir.", 255, CSocket);
									Face(30, CSocket);
									End(CSocket);
								}
						}
                        break;
                    }
btw dude whats the code for add item ?
Code:
int uid = ReturnUID(1088000, CSocket);
                                CSocket.Client.Inventory.Remove(uid);
                                CSocket.Send(ConquerPacket.ItemUsage(uid, 255, Struct.ItemUsage.RemoveItem));
                                Database.Database.DeleteItem(uid);
whats the code for add item with normal ID like 1088000 ?
$HaDoW is offline  
Thanks
2 Users
Old 05/30/2009, 18:17   #21

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by $HaDoW View Post
dude great job ! very good job now find a way for upgrade weapons like +1... quality, level, unknown dude
heres the codes I'm good with dialogs and simple stuff but doing hard stuff is my weekness
Code:
case 10064://tinter NPC
                    {
                        if (LinkBack == 0)
                        {
                            Text("Do you want to dye your armor, headgear or shield?", CSocket);
                            Link("Armor", 255, CSocket);
                            Link("Headgear", 255, CSocket);
                            Link("Shield", 255, CSocket);
							Link("Teleport me out please", 4, CSocket);
							Link("I see, Goodbye.", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
						else if (LinkBack == 4)
                        {
                            {
								Teleport(1002, 439, 390, 0, CSocket);
                            }
                        }
                        break;
                    }
					case 3825://Unknown Man NPC
                    {
                        if (LinkBack == 0)
                        {
                            Text("Hey, there! Please take pity on a homeless old man! I am so hungry but can't even afford a bowl of noodles. Could you help me out there? The gods always smile on kindness, you know!", CSocket);
							Link("Here are 100 silvers. Take Care.", 1, CSocket);
							Link("No way. I don't do charity.", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						else if (LinkBack == 1)
                        {
							if(CSocket.Client.Money >= 100)
							{
								Money(-100, CSocket);
								Text("Thank you young one. so where was I ?", CSocket);
								Link("You wanted to tell me something...", 2, CSocket);
								Face(30, CSocket);
								End(CSocket);
							}
							else
							{
								Text("It seems your poorer then me...", CSocket);
								Link("Sorry Sir, I will get the money.", 255, CSocket);
								Face(30, CSocket);
								End(CSocket);
							}
						}
						if (LinkBack == 2)
                        {
                            Text("Oh yeah... The Dragonball is such a supernatural item which can not only upgrade the level and the quality of your gears, but also help you level up quickly.", CSocket);
							Text(" I can draw the infinite energy contained in the Dragonball and utilize it to increase your experience. In a single secound, you could gain experience of hours of work!", CSocket);
							Link("Wow! I can't wait to start.", 3, CSocket);
							Link("It's truly amazing! NOT!", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 3)
                        {
                            Text("You can only draw energy from dragonballs once a day. Bring Dragonball to me, and then I will help you to transfer the energy containing in DB to your body.", CSocket);
							Text(" So you can make use of the energy to level up instantly from Level (YOUR LEVEL) to Level(NextLeveL) (00%)", CSocket);
							Link("Let's get started!", 4, CSocket);
							Link("Thanks. I see.", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 4)
                        {
                            Text("Give me a Dragonball and let's get started!", CSocket);
							Link("Here you are!", 5, CSocket);
							Link("sorry I dont have one!", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						if (LinkBack == 5)
						{
							if(CSocket.Client.Inventory.ContainsKey(10880008)) //Dragonball
							{
								{
									CSocket.Client.Inventory.Remove(10880008);
									Text("OWNED ! I dont work yet ^_^", CSocket);
									Link("you son of a bith!.", 255, CSocket);
									Face(30, CSocket);
									End(CSocket);
								}
							}
							else
								{
									Text("Dare you try to rip me off?! Be gone, fool!", CSocket);
									Link("Sorry sir.", 255, CSocket);
									Face(30, CSocket);
									End(CSocket);
								}
						}
                        break;
                    }
btw dude whats the code for add item ?
Code:
int uid = ReturnUID(1088000, CSocket);
                                CSocket.Client.Inventory.Remove(uid);
                                CSocket.Send(ConquerPacket.ItemUsage(uid, 255, Struct.ItemUsage.RemoveItem));
                                Database.Database.DeleteItem(uid);
whats the code for add item with normal ID like 1088000 ?
Do you mean this?
Code:
public static void AddItem(int itemid, int bless, int dura, int enchant, int plus, int position, int soc1, int soc2, int color, ClientSocket CSocket)
        {
            Struct.ItemInfo Item = new Struct.ItemInfo();
            if (dura == 255)
            {
                Item.Dura = Item.MaxDura;
            }
            else
            {
                Item.Dura = dura;
            }
            Item.Bless = bless;
            Item.Enchant = enchant;
            Item.ItemID = itemid;
            Item.Plus = plus;
            Item.Position = position;
            Item.Soc1 = soc1;
            Item.Soc2 = soc2;
            Item.Color = color;
            Item.UID = Nano.Rand.Next(1, 9999999);
            bool created = Database.Database.NewItem(Item, CSocket);
            while (!created)
            {
                Item.UID = Nano.Rand.Next(1, 9999999);
                created = Database.Database.NewItem(Item, CSocket);
            }

            CSocket.Client.Inventory.Add(Item.UID, Item);
            CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
        }
If so read first post.
Kiyono is offline  
Thanks
1 User
Old 05/30/2009, 18:22   #22
 
xXVamXx's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 91
Received Thanks: 31
Nice release $Hadow and thank Kiyono for the guide of the recordMap thing
xXVamXx is offline  
Old 05/30/2009, 18:28   #23
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Kiyono no I already have that I'm talking about a code in a dialog to additem
what is it without UID I need one that supporst normal items ;D
$HaDoW is offline  
Old 05/30/2009, 18:33   #24

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Like this?
Code:
case 47:
{
if (linkback == 0)
{
Text("Here a normal blade");
Link("THanks", 1, Csocket);
Link("**** you", 255, csocket);
Face(30, csocket);
End(Csocket);
}
}
else if (linkback == 1)
{
AddItem(410333, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
}
break;
}
Typed this really fast but it should give you a normal buriedblade.
Kiyono is offline  
Old 05/30/2009, 18:36   #25
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
yeah xD thats right I found it somehwere and lost it in few sec's -_-
Thanks !
$HaDoW is offline  
Old 05/30/2009, 18:39   #26

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
So out of boredom (and cause I wanted to test something) I made the PrizeNPC give a DB and he can be activated/de-activated on command.

In NpcTalk.cs:
Code:
case 47: //PrizeNPC
                    {
                        if (LinkBack == 0)
                        {
                            if (!Nano.NpcActive)
                        {
                            Text("Sorry, you can't claim a DragonBall.", CSocket);
                            Link("Damnt, WHY NOT!", 255, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                            }
                            else
                            {
                                Text("Do you want to claim a DragonBall?", CSocket);
                                Link("Yes", 1, CSocket);
                                Link("No, thank you.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 1)
                        {
                            AddItem(1088000, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                        }
                        break;
                    }
In Nano.cs:
Code:
public static bool NpcActive = false;
In Chat.cs:
Code:
case "prize":
                            {
                                if (CSocket.Client.isGM)
                                {
                                    if (Command.Length == 2)
                                    {
                                        switch (Command[1].ToLower())
                                        {
                                            case "on":
                                                {
                                                    Nano.NpcActive = true;
                                                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "PrizeNPC is activated.", Struct.ChatType.Talk));
                                                    break;
                                                }
                                            case "off":
                                                {
                                                    Nano.NpcActive = false;
                                                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "PrizeNPC is de-activated.", Struct.ChatType.Talk));
                                                    break;
                                                }
                                        }
                                    }
                                }
                                break;
                            }
How to use:

Type /prize on to let him give DBs and type /prize off to stop him and the the default status is off.
Kiyono is offline  
Thanks
5 Users
Old 05/31/2009, 03:24   #27
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Pretty cool NPC.
scottdavey is offline  
Old 05/31/2009, 12:20   #28
 
araXis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 418
Received Thanks: 49
Quote:
Originally Posted by Kiyono View Post
So out of boredom (and cause I wanted to test something) I made the PrizeNPC give a DB and he can be activated/de-activated on command.

In NpcTalk.cs:
Code:
case 47: //PrizeNPC
                    {
                        if (LinkBack == 0)
                        {
                            if (!Nano.NpcActive)
                        {
                            Text("Sorry, you can't claim a DragonBall.", CSocket);
                            Link("Damnt, WHY NOT!", 255, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                            }
                            else
                            {
                                Text("Do you want to claim a DragonBall?", CSocket);
                                Link("Yes", 1, CSocket);
                                Link("No, thank you.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else if (LinkBack == 1)
                        {
                            AddItem(1088000, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                        }
                        break;
                    }
In Nano.cs:
Code:
public static bool NpcActive = false;
In Chat.cs:
Code:
case "prize":
                            {
                                if (CSocket.Client.isGM)
                                {
                                    if (Command.Length == 2)
                                    {
                                        switch (Command[1].ToLower())
                                        {
                                            case "on":
                                                {
                                                    Nano.NpcActive = true;
                                                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "PrizeNPC is activated.", Struct.ChatType.Talk));
                                                    break;
                                                }
                                            case "off":
                                                {
                                                    Nano.NpcActive = false;
                                                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "PrizeNPC is de-activated.", Struct.ChatType.Talk));
                                                    break;
                                                }
                                        }
                                    }
                                }
                                break;
                            }
How to use:

Type /prize on to let him give DBs and type /prize off to stop him and the the default status is off.
Kiyono thanks for npcs but i dont know,how i can put Nano.cs code and Chat.cs code.Can u help me ?
araXis is offline  
Old 06/01/2009, 03:23   #29
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
2 npcs took from TQ
Code:
                case 30112://GeneralChen
                    {
                        if (LinkBack == 0)
                        {
                            Text("Quarrels and disputes come up from time to time. It seems that troubled time return", CSocket);
                            Link("That is what I am coming for.", 225, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                        }
                        break;
                    }
                case 30100://MountainKing
                    {
                        if (LinkBack == 0)
                        {
                            Text("The area is dangerous. You'd better leave here right now if you have nothing special to do.", CSocket);
                            Link("I am not a coward.", 225, CSocket);
                            Face(30, CSocket);
                            End(CSocket);
                        }
                        break;
                    }
danielachraf is offline  
Thanks
3 Users
Old 06/03/2009, 02:44   #30
 
m4l4ria's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 45
Received Thanks: 8
Quote:
Originally Posted by $HaDoW View Post
all codded totaly by me they only need finishing part where you guys come in with the packets and stuff !
Btw if someone can explain to me how to check if he has it ,remove and add item to the char ! what are the codes ?
Code:
case 10003://Guild dude
                    {
                        if (LinkBack == 0)
                        {
                            Text("Greetings! I am the guild director, in charge of administrating and managing guilds. What business do you have with me?", CSocket);
                            Link("Create a guild", 255, CSocket);
							Link("Disband my guild", 255, CSocket);
							Link("Donate money", 255, CSocket);
							Link("Pass my leadership", 255, CSocket);
							Link("Assign Deputy Guild Leader", 255, CSocket);
							Link("Remove sb. from office", 255, CSocket);
							Link("Inquire about guild", 255, CSocket);
							Link("Others", 1, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            {
                                Text("I am in charge of all guilds in Twim City. You may consult me for anything related to the guilds.", CSocket);
								Link("Create Branch", 255, CSocket);
								Link("Assign Branch Manager", 255, CSocket);
								Link("Transfer fund.", 255, CSocket);
								Link("Others", 0, CSocket);
                                Face(30, CSocket);End(CSocket);
                            }
                        }
                        break;
                    }
					case 10002://Barber Bitch
                    {
                        if (LinkBack == 0)
                        {
                            Text("I'm capable of doing more hairstyles now! A New Dynasty Hairstyles is worth 10000 Silvers. Previous hairstyles cost 500 silvers.", CSocket);
                            Link("New Dynasty Hairstyles.", 1, CSocket);
							Link("New Styles.", 2, CSocket);
							Link("Nostalgic styles.", 3, CSocket);
							Link("Keep my current style.", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            {
                                Text("Which style would you like to select from?.", CSocket);
								Link("1", 255, CSocket);
								Link("2", 255, CSocket);
								Link("2.", 255, CSocket);
								Link("I changed my mind.", 255, CSocket);
                                Face(30, CSocket);End(CSocket);
                            }
                        }
						else if (LinkBack == 2)
                        {
                            {
                                Text("Which style would you like to select from?.", CSocket);
								Link("1", 255, CSocket);
								Link("2", 255, CSocket);
								Link("2.", 255, CSocket);
								Link("I changed my mind.", 255, CSocket);
                                Face(30, CSocket);End(CSocket);
                            }
                        }
						else if (LinkBack == 3)
                        {
                            {
                                Text("Which style would you like to select from?.", CSocket);
								Link("1", 255, CSocket);
								Link("2", 255, CSocket);
								Link("2.", 255, CSocket);
								Link("I changed my mind.", 255, CSocket);
                                Face(30, CSocket);End(CSocket);
                            }
                        }
						else
						{
							Text("Dare you try to rip me off?! Be gone, fool!", CSocket);
							Link("Sorry sir.", 255, CSocket);
							Face(30, CSocket);End(CSocket);
						}
                        break;
                    }
					case 10063://shopboy dude
                    {
                        if (LinkBack == 0)
                        {
                            Text("Our shop is famous for dyeing. If you want to have your equipment dyed please wear the item before you enter. You have a wide choice of colors. One meteor will be charged before you try the colors. Do you want a try?", CSocket);
                            Link("Yes, here is a meteor.", 1, CSocket);
							Link("Can you dye my armor black?", 2, CSocket);
							Link("Just passing by.", 255, CSocket);
                            Face(30, CSocket);
							End(CSocket);
                        }
						else if (LinkBack == 1)
                        {
                            {
								Teleport(1008, 22, 26, 0, CSocket);
                            }
                        }
						else if (LinkBack == 2)
                        {
                            {
                                Text("Sure. Once your armor is dyed black, it will never fade no matter how it is updated, unless i dye it to other colors, i wil charge 1 dragon ball to do it.", CSocket);
								Link("Yes, here is a Dragonball.", 3, CSocket);
								Link("Let me think it over.", 255, CSocket);
                                Face(30, CSocket);Face(30, CSocket);End(CSocket);
                            }
                        }
						else if (LinkBack == 3)
                        {
                            {
								Teleport(1008, 22, 26, 0, CSocket);
                            }
                        }
						else
						{
							Text("Dare you try to rip me off?! Be gone, fool!", CSocket);
							Link("Sorry sir.", 255, CSocket);
						    Face(30, CSocket);End(CSocket);
						}
                        break;
                    }
case 1061://Wh Pass Bitch
                    {
                        if (LinkBack == 0)
                        {
                            Text("Thieves are only one step behind security. Even those who hoard their treasures", CSocket);
							Text(" in their warehouse are at risk. So, I offer you the opportunity to set a special", CSocket);
							Text(" password for your warehouse. What do you say?", CSocket);
							Text("Thieves are only one step behind security. Even those who hoard their treasures", CSocket);
                            Link("I want to set a password.", 1, CSocket);
							Link("Let me see.", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            {
                                Text("Passwords can be up to nine digits long, the first of which cannot be zero.", CSocket);
								Text(" Enter numbers only. If you make a mistake your warehouse will be locked.", CSocket);
								Text(" Please check carefully before you enter the password.", CSocket);
								Link("Let me think.", 2, CSocket);
                                Link("Let me think.", 255, CSocket);
                                Face(30, CSocket);End(CSocket);
                            }
                        }
						else if(LinkBack == 2)
						{
							Text("Sorry not owrking yet.", CSocket);
                                Link("I see.", 255, CSocket);
                                Face(30, CSocket);End(CSocket);
						}
                        break;
                    }
case 923:// Lady Luck
					{
							if (LinkBack == 0)
							{
								Text("Welcome to the Lottery Center! There are meny LuckyBoxes which have innumerable treasure such as super gems,two-socket gears, up to 500,000,000 silvers etc. in them. If you are level 70 or above, you are allowed to enter the Lottery Center and try your luck at most ten times a day.", CSocket);
								Text("And I charge you only 27 CPs for each admission.Come on, Try your luck right now!", CSocket); 
								Link("Wow, good deal!", 1, CSocket);
								Link("May I know the rules first?", 2, CSocket);
								Link("No Thanks!", 255, CSocket);
								Face(30, CSocket);End(CSocket);
							}
							else if (LinkBack == 1)
							{
								if(CSocket.Client.Level >= 70)
								{
									if (CSocket.Client.CPs >= 27)
									{
										Teleport(700, 50, 50, 0, CSocket);
										CPs(-27, CSocket);
									}
									else
									{
										Text("I'm sorry you do not have the required CPs.", CSocket);
										Link("Okay, I will be back when I have 27 CPs.", 255, CSocket);
										Face(30, CSocket);End(CSocket);
									}
								}
								else
								{
									Text("I'm sorry you do not have the required Level 70.", CSocket);
									Link("Okay, I will be back when I have level 70.", 255, CSocket);
									Face(30, CSocket);End(CSocket);
								}
							}
							if (LinkBack == 2)
							{
								Text("you will be teleported to Lottery Center where there are menny LuckyBoxes after you pay me 27 CPs. You may choose one box to try your luck at your will. Remeber you have only one chance to open a LuckyBox every time. If you want to open another box, you have to leave the room to re-enrol in Market.", CSocket); 
								Link("OK I see.", 255, CSocket);
								Face(30, CSocket);End(CSocket);
							}
							break;
					}
					case 925: // LuckyBox
					case 926: // LuckyBox
					case 927: // LuckyBox
					case 928: // LuckyBox
					case 929: // LuckyBox
					case 930: // LuckyBox
					case 931: // LuckyBox
					case 932: // LuckyBox
					case 933: // LuckyBox
					case 934: // LuckyBox
					case 935: // LuckyBox
					case 936: // LuckyBox
					case 937: // LuckyBox
					case 938: // LuckyBox
					case 939: // LuckyBox
					case 940: // LuckyBox
					case 941: // LuckyBox
					case 942: // LuckyBox
					case 943: // LuckyBox
					case 944: // LuckyBox
                    {
                        if (LinkBack == 0)
                        {
                            Text("Do you want to Chose this box ?.", CSocket);
                            Link("Yes ,", 1, CSocket);
                            Link("No I need to think more...", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            {
                                Teleport(1036, 217, 190, 0, CSocket);
                            }
                        }
                        break;
                    }
					case 924: // Lady Luck
					{
                        if (LinkBack == 0)
                        {
                            Text("Do you want to leave Lottery Center and go back to the Market?.", CSocket);
                            Link("Yes Please,", 1, CSocket);
                            Link("No Thank you I want to stay.", 255, CSocket);
                            Face(30, CSocket);End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            {
                                Teleport(1036, 217, 190, 0, CSocket);
                            }
                        }
                        break;
					}
Can Help me?
Error in the name 'Face' dont existi in the current context
m4l4ria is offline  
Reply


Similar Threads Similar Threads
HELP IN COEMU V2 Npcs
08/25/2009 - CO2 Private Server - 2 Replies
Hello i create one server of conquer and now i can enter BUt The npcs dont have the code for talk Pleaseee the code3sssssssssssssssssssssssss
Post your ready made edits for Conquer =)
08/10/2009 - CO2 Private Server - 4 Replies
Seeing as that a lot of people are out to make their clients look more of "their own" I suggest that people post up their ready made edits for people who can not edit themselves. This will also be a great opportunity to show off your editing skills to other editors. Have fun with it, help others, and go crazy! Yours truly That Guy! =D
The CoEmu V2 NPC Thread - POST all of your already made NPC's here, and grow
07/13/2009 - CO2 Private Server - 16 Replies
Post all of your NPC's here.... for CoEmu



All times are GMT +1. The time now is 15:16.


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.