Register for your free account! | Forgot your password?

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

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

Advertisement



(request) how to make a shop npc at coemu v2

Discussion on (request) how to make a shop npc at coemu v2 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 30
Received Thanks: 0
(request) how to make a shop npc at coemu v2

can anyone help me, how to make a shop npc at coemu v2
example i want make a npc that sell for cps +12 2soc -7 set for every class

or how to add items at shop mall

thx
minakaram is offline  
Old 11/01/2009, 10:08   #2
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
lol.... the same way as lotf......

make a new Shop in Shop.dat and put wathever you wan't....
12tails is offline  
Old 11/01/2009, 10:16   #3
 
elite*gold: 0
Join Date: Jul 2007
Posts: 30
Received Thanks: 0
Quote:
Originally Posted by 12tails View Post
lol.... the same way as lotf......

make a new Shop in Shop.dat and put wathever you wan't....
i tried but didnt get it how to make it appear in the game and where to put the prices advanced help plz
minakaram is offline  
Old 11/01/2009, 11:28   #4
 
elite*gold: 0
Join Date: Jul 2007
Posts: 30
Received Thanks: 0
i tried to use my brian

i tried to do it myself with the help of lady luck code and +12 npc code i didnt coded it my self and i dnt know if its will work this way so anyone can tell me if its right or not?

Code:
case 4261:
                    {
                        if (LinkBack == 0)
                        {
                            
                            Text("Hi,Im Selling +12, 2soc, -7 set for all classes Cost 20kk CPS Just Choose your pro?", CSocket); //Remove one ) and add, CSocket
                            Link("Trojan", 1, CSocket);
                            Link("Warrior", 2, CSocket);
                            Link("Archer", 3, CSocket);
                            Link("Toa", 4, CSocket);
                            Link("NiNja", 5, CSocket);
                            Link("No, I dont need", 255, CSocket);
                            End(CSocket);
                        }
						    if (CSocket.Client.Level >= 135)
                            {
                                if (CSocket.Client.Inventory.Count < 40)
                                {
                                    if (CSocket.Client.CPs >= 20000000)
                                    {

                        else if (LinkBack == 1)
						{
							AddItem(130109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//conquestarmor
							AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
							AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
							AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
							AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
							AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
							AddItem(118109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//magiccornet
							AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
							AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan
							CPs(-20000000, CSocket)
						}
						else if (LinkBack == 2)
						{

							AddItem(131109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixArmor
							AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
							AddItem(900109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//dragonshield
							AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
							AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
							AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
							AddItem(111109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//conquesthelment
							AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
							AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan
							CPs(-20000000, CSocket)

						}
						else if (LinkBack == 3)
						{

							AddItem(133109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixJerkin
							AddItem(500329, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//shadowbow
							AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
							AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
							AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
							AddItem(111109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixHat
							AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
							AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan
							CPs(-20000000, CSocket)

						}
						else if (LinkBack == 4)
						{

							AddItem(134109, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//pineRobe
							AddItem(421339, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//KingsOfBackSword
							AddItem(121249, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//SunShine
							AddItem(152229, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//Lightning
							AddItem(160249, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//Blizzard
							AddItem(114109, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//PhoenixHat
							AddItem(202009, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//startower
							AddItem(201009, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//heavenfan
							CPs(-20000000, CSocket)	
						}
						else if (LinkBack == 5)
						{

							AddItem(135109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//pineRobe
							AddItem(601339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//EmperorKatana
							AddItem(601339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//EmperorKatana
							AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//SunShine
							AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Lightning
							AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
							AddItem(112109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixHat
							AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
							AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan
							CPs(-20000000, CSocket)
							
							else
                                    {
                                        Text("I'm sorry you do not have the required CPs.", CSocket);
                                        Link("Okay, I will be back when I have 20000000 CPs.", 255, CSocket);
                                        Face(30, CSocket);
                                        End(CSocket);
                                    }
                                }
                                else
                                {
                                    Text("Please free one slot in your item box first", CSocket);
                                    Link("Ah,ok be r8 back", 255, CSocket);
                                    Face(30, CSocket);
                                    End(CSocket);
                                }
                            }
                            else
                            {
                                Text("I'm sorry you do not have the required Level 135.", CSocket);
                                Link("Okay, I will be back when I have level 135.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }

						}
						break;
						}
minakaram is offline  
Old 11/01/2009, 11:57   #5
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
i think it will work..... test it.... if don't work pm me....

also.... don't double post... edit your post.....
12tails is offline  
Reply


Similar Threads Similar Threads
[HelP]How to make a COEmu v2 Reg Page
07/21/2009 - CO2 Private Server - 14 Replies
How to make a co emu v2 reg page?
how to make GM in CoEmu
05/30/2009 - CO2 Private Server - 14 Replies
can anyone tell how to make GM?
[My first release] How to make a char start with a hair on CoEmu V2 Source.
05/29/2009 - CO2 PServer Guides & Releases - 4 Replies
Well well. This is my first "small release". Most of the npcs are not coded yet. So the npc to change your hairstyle dont work. Go to GameServer Database.cs and Search for: In the int Hair = 420; Change the ID for 410 (And all new characters will start with the normal hairstyle) Or change to another id. Test it :)
how to make GM on coemu v2 source
05/29/2009 - CO2 Private Server - 2 Replies
can any 1 tell me how to make account gm on coemu v2 source?:rolleyes:



All times are GMT +2. The time now is 00:10.


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.