Register for your free account! | Forgot your password?

You last visited: Today at 07:57

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

Advertisement



Question/Help :)

Discussion on Question/Help :) within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Question/Help :)

Ok Ive Currently Added public bool LastAlive = false; Into 5165 Source In Character.cs and I want to Know So When I Code this Into The NPc what else do i have to do My Point on this is So That Option Checks if MyChar Is the Last one Alive in that Current Map If Anyone Can Help Me, Ftw My Npc Would Look Like
Code:
#region PKTourney Done
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Have You killed all the other Challengers?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Menq", 1));
                                        GC.AddSend(Packets.NPCLink("Nah wait", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    {
                                        if GC.MyChar.LastAlive = true;
                                        {
                                                GC.MyChar.Teleport(1002, 463, 366);    
                                                GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                                GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Pk War and Has Been Awarded Top Tro Halo");
                                            }
                                    }
                                    break;
                                }
                            #endregion
Yeah this is My Progress to Class PK Tourney, Help Needed : )
-Shunsui- is offline  
Old 12/10/2009, 05:42   #2
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Loop thru each character that is online, checking if they're map id is equal the right map, and for each one that is, add that persons uid to an array, if the array has only one in it, use that uid to do whatever you want.
Could also add the character object itself to the array.
kinshi88 is offline  
Old 12/10/2009, 05:47   #3
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Your doing the exact same thing i am doin

only difference is im not to that step yet

I was going to make a npc to get in the tourny but i decided to do a message cause someone challenged me and im having trouble with it so.....
hunterman01 is offline  
Old 12/11/2009, 03:28   #4
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Hmmm.. Still having problems but ill try to get this Thanx for the help tho
-Shunsui- is offline  
Old 12/11/2009, 10:14   #5
 
CompacticCo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
Give me 2 days to get back to my other computer, I already coded this, I'll send it to you in a PM.
CompacticCo is offline  
Old 12/11/2009, 13:08   #6
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Alrite ill close this thread.
-Shunsui- is offline  
Old 12/11/2009, 13:09   #7
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
#Closed
Huseby is offline  
Closed Thread


Similar Threads Similar Threads
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/12/2009 - Cabal Online - 3 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts Bump.
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/02/2009 - Cabal Private Server - 2 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts



All times are GMT +1. The time now is 07:57.


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.