Register for your free account! | Forgot your password?

You last visited: Today at 18:23

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

Advertisement



Help NPC Capture

Discussion on Help NPC Capture within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
Help NPC Capture

Hi guys im trying to make a somewhat antispaming system, i need help with this code the problem is, i dont know how to make a cheak weather the capture is correct or wrong.

Code:
                                    case 13653:
                                    {
                                        if (Control == 0)
                                    {
                                            GC.MyChar.res = "";
                                            Random r = new Random();
                                            int val1 = r.Next(0, 9);
                                            string v1 = val1.ToString();
                                            int val2 = r.Next(0, 9);
                                            string v2 = val2.ToString();
                                            int val3 = r.Next(0, 9);
                                            string v3 = val3.ToString();
                                            int val4 = r.Next(0, 9);
                                            string v4 = val4.ToString();
                                            int val5 = r.Next(0, 9);
                                            string v5 = val5.ToString();
                                            int val6 = r.Next(0, 9);
                                            string v6 = val6.ToString();
                                            GC.MyChar.res = v1 + v2 + v3 + v4 + v5 + v6;
                                            GC.AddSend(Packets.NPCSay("You Have 60 Seconds To Type: " + GC.MyChar.res));
                                            GC.AddSend(Packets.NPCLink2("Okay", 1));
                                            GC.AddSend(Packets.NPCSetFace(57));
                                            GC.AddSend(Packets.NPCFinish());
                                            break;
                                        }
                                    }
                                    if (Control == 1)
                                    {
                                        World.SendMsgToAll("SYSTEM", "Capture Correct.", 2000, 0);
                                        GC.AddSend(Packets.NPCSay("Blah Blah."));
                                        GC.AddSend(Packets.NPCLink("I know.", 255));
                                        GC.AddSend(Packets.NPCSetFace(57));
                                        GC.AddSend(Packets.NPCFinish());
                                        break;
                                    }
                                    else
                                    {
                                        GC.MyChar.Teleport(6000, 50, 50);
                                        GC.AddSend(Packets.NPCSay("Capture Incorrect " + GC.MyChar.res));
                                        GC.AddSend(Packets.NPCSetFace(57));
                                        GC.AddSend(Packets.NPCFinish());
                                        break;
                                    }
                                }
                            #endregion
Thanks in advance folks

Help anyone ?
sonofskeletor is offline  
Reply


Similar Threads Similar Threads
Pet capture
08/21/2011 - Rappelz - 14 Replies
how to work pet capture ? my repack /rappelzdotforumotiondotca have better with working new skill or not ? i use age client
Some tipps for pet capture?
02/21/2011 - Battle of the Immortals - 2 Replies
hey guyz are tthere some trickie things which make the chance higher for capping?if yes pls tell me thanks
Sorry you have no video Capture! HELP
08/23/2010 - Technical Support - 2 Replies
Hallo Erstmal. :mofo: also ich wollte meine webcam Typhoon(Anubis) Easy 1.3 MPix Installieren. so nun funktionierten erst die treiber nicht und nach langem suchen habe ich es geschafft sie zu installieren. und dann kam gleich das nächste problem "sorry you have no video capture hardware", habe sämtliche foren schon durchsucht aber keine gescheite lösung gefunden :mad: bin mittlerweile drauf und dran den scheiß an die wand zu werfen:mad::mad: mein system: Win XP Prof. Sp3, Graka ist ATI...
log in on capture always
12/26/2005 - Conquer Online 2 - 13 Replies
hey guys i was looking through the threads and as far as i can tell this hasnt been adresed... when you log in you autonatically log in on peace mode... this is very annoying if you come across a black name but cant attack it as u are in peace, i was wondering if there was anything out there that can make u log inon capture all the time? thanks guys



All times are GMT +2. The time now is 18:23.


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.