Register for your free account! | Forgot your password?

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

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

Advertisement



[5165] certain codes norm players can use

Discussion on [5165] certain codes norm players can use within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
ASSN9NE's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 52
Received Thanks: 8
[5165] certain codes norm players can use

ok i got into the whole wanting all accounts to have the /item ability 2 use the command but norm people then could get gears that r faulty, how could i make it so i can make a list of certain commands they can use like:

/item GreenEarring Super 15 7 255 13 13
/item LightNecklace Super 15 7 255 13 13
/item IronRing Super 15 7 255 13 13
/item SoftBoots Super 15 7 255 13 13
/item GoodLuck 200 0 7 0 13 13
/item GoldTrophy 15 0 7 0 13 13
/item HeavenFan Super 15 7 0 13 13
/item StarTower 12 15 7 0 13 13

and not the whole /item command
ASSN9NE is offline  
Old 01/30/2010, 15:59   #2

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Well it should work if you make it like this:

if(cmd[0]="/items")
{
switch(cmd[1])
{
case "troitems"
{
//code to add items here
break;
}
case "archeritems"
{
//code to add items here
break;
}
}
To use something like this, /items troitems
Kiyono is offline  
Thanks
1 User
Old 01/30/2010, 16:31   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 116
Received Thanks: 33
Thanks Kiyono!
Jedex is offline  
Old 01/30/2010, 17:56   #4
 
ASSN9NE's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 52
Received Thanks: 8
can u possibly write the script wit 1 line containing the item in it insted of add items here i dont know exactly howthe line supposed 2 go
isnt there supposed 2 be a Add.Item 2 accutally recive the item?

Code:
GC.MyChar.Add.Item
Code:
{
case "troitems"
{
//code to add items here
break;
}
please insert this line how it should b written in the code 2 add items cause i keep just getting errors

Code:
/item GreenEarring Super 15 7 255 13 13
/item LightNecklace Super 15 7 255 13 13
ASSN9NE is offline  
Old 01/30/2010, 18:19   #5
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Bah seriously look at the source you can figure it out
hunterman01 is offline  
Old 01/30/2010, 23:22   #6

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by ASSN9NE View Post
can u possibly write the script wit 1 line containing the item in it insted of add items here i dont know exactly howthe line supposed 2 go
isnt there supposed 2 be a Add.Item 2 accutally recive the item?

Code:
GC.MyChar.Add.Item
Code:
{
case "troitems"
{
//code to add items here
break;
}
please insert this line how it should b written in the code 2 add items cause i keep just getting errors

Code:
/item GreenEarring Super 15 7 255 13 13
/item LightNecklace Super 15 7 255 13 13
Don't just copy&paste that >_<
It was supposed to be an example.
Kiyono is offline  
Old 01/31/2010, 00:15   #7
 
elite*gold: 0
Join Date: Apr 2008
Posts: 29
Received Thanks: 5
what p server is this for, im using LastCO
ukumaran10 is offline  
Reply


Similar Threads Similar Threads
help fast abig proplem in 5165 sql all players can get +12 for free from 1 item
07/12/2010 - CO2 Private Server - 4 Replies
hay all now can all players in your server 5165 get stuff full +12 for free i will show you this proplem how work 1-get 30 blade or any item you want 2- compose one of them to +8 or any + 3- put the compose item to your warehouse 4- back it to your inventory 5- now all your 30 item +8
[Release] Max Players/GM & PM Allowed To Connect ( Impulse's 5165 )
06/19/2010 - CO2 PServer Guides & Releases - 8 Replies
Here's a VERY quick code for setting the maximum number of client's aloud online. FIrst in Program.cs under public static DateTime StartDate; Add public static int MaxPlayers = 200;
[multi-rel] all my 5165 codes [updated]
02/28/2010 - CO2 PServer Guides & Releases - 51 Replies
this is gonna be a updated thread, so you nabcakeletz can leech all you want. creds better goto me though. PowerEXPBall first, in character.cs search for: public uint ExpBallExp under that code (entire ExpBallExp) add this: public uint PEBExp { get
[Help] Making it so Gms/Pms can attack players and eachother on 5165 source
11/30/2009 - CO2 Private Server - 0 Replies
Can anyone help with this,tell me what file I edit,I could probally figure it out from there.



All times are GMT +1. The time now is 12:23.


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.