Register for your free account! | Forgot your password?

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

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

Advertisement



How can I fix this code?

Discussion on How can I fix this code? within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
How can I fix this code?

Can someone help me fix this code?
I get errors :S

Code:
#region Simon2
                            case 778868:
                                {
                                    if (Control == 0)
                                    {
                                        if (GC.MyChar.InventoryContains(710854, 1))
                                        {
                                            GC.MyChar.AddItem(710854, 0);//Clean Water
                                            GC.AddSend(Packets.NPCSay("Hello.  Thanks for bringing this letter.  Take this back to Shirley."));
                                            GC.AddSend(Packets.NPCLink("Sure Thing", 255));
                                            GC.AddSend(Packets.NPCLink("No", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You don't have the required item"));
                                            GC.AddSend(Packets.NPCLink("Sorry", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    break;
                                }
                            #endregion
Decker_ is offline  
Old 02/20/2010, 18:54   #2
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Missing bracket.

Code:
   #region Simon2
                            case 778868:
                                {
                                    if (Control == 0)
                                    {
                                        if (GC.MyChar.InventoryContains(710854, 1))
                                        {
                                            GC.MyChar.AddItem(710854, 0);//Clean Water
                                            GC.AddSend(Packets.NPCSay("Hello.  Thanks for bringing this letter.  Take this back to Shirley."));
                                            GC.AddSend(Packets.NPCLink("Sure Thing", 255));
                                            GC.AddSend(Packets.NPCLink("No", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You don't have the required item"));
                                            GC.AddSend(Packets.NPCLink("Sorry", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    break;
                                }
                            #endregion
-Shunsui- is offline  
Thanks
1 User
Old 02/20/2010, 18:56   #3
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
nice, it works, thanks

#request close
Decker_ is offline  
Old 02/21/2010, 14:46   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
wait ur not working on 5017 original no more ?/
PeTe Ninja is offline  
Old 02/21/2010, 16:14   #5

 
elite*gold: 146
Join Date: Apr 2008
Posts: 14,686
Received Thanks: 9,969
write a pm for off topic talk pete.

#closed
Die Schnittstelle is offline  
Closed Thread


Similar Threads Similar Threads
B> DriftCity CBS Code | S> War Rock Code / Bounty Bay Code etc.
10/05/2010 - Trading - 1 Replies
Hi, wie schon im Titel beschrieben. In der CBS vom November gab es Bonusodes für mehrere Spiele. Ich benötige DriftCity Codes. Kann sonst für alle anderen Spiele die Codes biten, einige auch doppelt. Hier eine Liste der Spiele und Bonusaktionen: - (2x) War Rock - (2x) War of Titans - (2x) World of Warcraft - (1x) Warhammer Online - (1x) Bounty Bay online
WTB: Japanischer/Chinesicher Guild Wars Trial-Code und EoTn Code
02/08/2010 - Guild Wars Trading - 5 Replies
Hallo, Wie schon oben in der beschreibung steht suche ich Japanischer/Chinesicher Trial-Code + EoTn oder die einzelnen Codes! Ich würde in Platin/Ektos/ZkeYs zahlen (allerdings nur mit Treuhandhändler), man weiss ja nie was einem Verkauft wird :P. Bitte so schnell wie möglich melden, wen einer es haben sollte.



All times are GMT +1. The time now is 08:46.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.