Register for your free account! | Forgot your password?

You last visited: Today at 05:10

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

Advertisement



[Problem]

Discussion on [Problem] within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 116
Received Thanks: 33
[Problem]

How can I fix this?
Here is the code and screenshot:
Code:
                            #region Seller
                            case 789012:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Which of these items would you like to buy?"));
                                        GC.AddSend(Packets.NPCLink("MoonBox", 1));
                                        GC.AddSend(Packets.NPCLink("EuxeniteOre", 2));
                                        GC.AddSend(Packets.NPCLink("Emerald", 3));
                                        GC.AddSend(Packets.NPCLink("MeteorTear", 4));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 1)
                                    {
                                        GC.MyChar.CPs -= 10000;
                                        GC.MyChar.AddItem(721080);
                                        {
                                            GC.AddSend(Packets.NPCSay("Here you go"));
                                            GC.AddSend(Packets.NPCSetFace(30));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (Control == 2)
                                    {
                                        GC.MyChar.CPs -= 10000;
                                        GC.MyChar.AddItem(1072031);
                                        {
                                            GC.AddSend(Packets.NPCSay("Here you go"));
                                            GC.AddSend(Packets.NPCSetFace(30));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (Control == 3)
                                    {
                                        GC.MyChar.CPs -= 10000;
                                        GC.MyChar.AddItem(1080001);
                                        {
                                            GC.AddSend(Packets.NPCSay("Here you go"));
                                            GC.AddSend(Packets.NPCSetFace(30));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (Control == 4)
                                    {
                                        GC.MyChar.CPs -= 10000;
                                        GC.MyChar.AddItem(1088002);
                                        {
                                            GC.AddSend(Packets.NPCSay("Here you go"));
                                            GC.AddSend(Packets.NPCSetFace(30));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }                             
                                    break;
                                }
                            #endregion
Jedex is offline  
Old 03/03/2010, 14:49   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Add this:

Code:
GC.AddSend(Packets.NPCLink("Thanks", 255));
To all of your options that give you an item.

Ask in the FAQ next time, Closed.
Korvacs is offline  
Closed Thread


Similar Threads Similar Threads
Having problem Wierd problem with [GUIDE-DETIALED] How to setup a server!
02/10/2010 - EO PServer Hosting - 1 Replies
Hellow, I just used this guide, to set up an EO private server. Everything is correct, but my AccountServer Keeps bugging. Can someOne help me ( via TeamViewer, .. ) ? Thnx, Greets Joris
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 05:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.