Register for your free account! | Forgot your password?

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

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

Advertisement



problem on PKTournament...

Discussion on problem on PKTournament... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
anone.ious's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 48
Received Thanks: 3
problem on PKTournament...

Hey guys...
i added PKTournament but when i go to Chat.cs and add the Command:
if (Cmd[0] == "/pkt")
Features.PKTournament.BeginTournament();
is give me error: The name 'Cmd' does not exist in the current context
i hope you will help me and Thanks guys


Edit: nvm i fixed it. it was because i added the Command to wrong line...
anone.ious is offline  
Old 06/30/2014, 23:24   #2


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
I`m not an expert, but it is probably because the variable Cmd does not exist in the context of your code.
KraHen is offline  
Thanks
1 User
Old 06/30/2014, 23:41   #3
 
anone.ious's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 48
Received Thanks: 3
more 1 please? i will wait
anone.ious is offline  
Old 07/01/2014, 12:01   #4
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
Quote:
Originally Posted by anone.ious View Post
more 1 please? i will wait
Wait for what? He gave you the answer. Not to mention, the error log gives you all the information you need.
turk55 is offline  
Old 07/01/2014, 12:56   #5
 
anone.ious's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 48
Received Thanks: 3
Quote:
Originally Posted by KraHen View Post
I`m not an expert, but it is probably because the variable Cmd does not exist in the context of your code.
Quote:
Originally Posted by turk55 View Post
Wait for what? He gave you the answer. Not to mention, the error log gives you all the information you need.
ohh sorry and thanks
anone.ious is offline  
Old 07/01/2014, 12:56   #6
 
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
Honestly, there needs to be rules on what is allowed to be posted here and in the programming sections, like having intermediate experience/knowledge, at least. And infractions should be given out on dumb **** like this.
phize is offline  
Thanks
4 Users
Old 07/01/2014, 20:06   #7
 
anone.ious's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 48
Received Thanks: 3
but where i need put that code ?
anone.ious is offline  
Old 07/01/2014, 21:08   #8
 
elite*gold: 0
Join Date: Jun 2014
Posts: 24
Received Thanks: 14
Quote:
Originally Posted by anone.ious View Post
but where i need put that code ?
EpvpIsAJoke is offline  
Old 07/01/2014, 22:19   #9
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by anone.ious View Post
is give me error: The name 'Cmd' does not exist in the current context
did u tried to search for it?

how u want to try a cmd that doesn't exists?
abdoumatrix is offline  
Old 07/01/2014, 22:29   #10
 
elite*gold: 0
Join Date: Jun 2014
Posts: 24
Received Thanks: 14
Quote:
Originally Posted by abdoumatrix View Post
how u want to try a cmd that doesn't exists?
EpvpIsAJoke is offline  
Old 07/01/2014, 23:18   #11
 
anone.ious's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 48
Received Thanks: 3
nvm i fixed it. it was because i added the Command to wrong line...
anone.ious is offline  
Reply


Similar Threads Similar Threads
PKTournament
02/12/2010 - CO2 Private Server - 25 Replies
Well I'm tweaking around with my released pktournament and here's the problem I'm coming across. public static void WaitForClass() { PKTournament.Stage = PKTournamentStage.Fighting; uint Tick = (uint)Environment.TickCount; Character Winner = null; while (true) { Winner = null; int InMapAlive = 0;
[Help] PkTournament
02/11/2010 - CO2 Private Server - 1 Replies
Ok, I got 2 problems. I got the command to start the tournament so... 1.) When I start the pktournament and get teleported there, when it starts, me any the players get teleported back and we all win. 2.) After i've done the tournament once and do it again, I type the command to start it, and I get teleported there, and as soon as I get there, it teleports me back. How can I fix these two problems?
[Help] PKTournament.cs
02/11/2010 - CO2 Private Server - 4 Replies
I get this error when I add to PKTournament.cs How can I fix this: http://i50.tinypic.com/vqqxqo.jpg
[Help] PkTournament
07/19/2009 - CO2 Private Server - 0 Replies
Can someone help me about the PKTournament on PazeCO source. I cant start the PKTournament but when i want to end it by typing the command @PKTournamentEnd its working fine. Is there something about it. Someone can help me pls? Thanks.



All times are GMT +1. The time now is 09:52.


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.