Register for your free account! | Forgot your password?

You last visited: Today at 03:58

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

Advertisement



Command

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Command

hey guys i wanna put this command from 5017 into 5165.

Quote:
if (Splitter[0] == "/gm")
{
if (Splitter[1] == "tro")
{
MyChar.AddItem("420339-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));
MyChar.AddItem("410339-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));
MyChar.AddItem("480339-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));
MyChar.AddItem("160249-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));//blizzard
MyChar.AddItem("120249-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));//tornado
MyChar.AddItem("150249-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));//thunder
MyChar.AddItem("112389-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));
MyChar.AddItem("135299-12-7-255-13-13", 0, (uint)General.Rand.Next(57458353));
}
i change
Quote:
if (Splitter[0] == "/gm")
if (Splitter[1] == "tro")
to
Quote:
if (Cmd[0] == "/gm")
if (Cmd[1] == "tro")
is that correct? and im not sure about the rest, cud some1 please help?
FadMucker is offline  
Old 08/26/2010, 04:50   #2
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
its prolly not the right way to do this or even try to do this but im still noob and learning, so far heres what ive managed to get working.

Quote:
if (Cmd[0] == "/gm")
{
if (Cmd[1] == "tro")
{
GC.MyChar.AddItem(130109);
GC.MyChar.AddItem(160249);
GC.MyChar.AddItem(150249);
GC.MyChar.AddItem(120249);
GC.MyChar.AddItem(118109);
GC.MyChar.AddItem(480339);
GC.MyChar.AddItem(410339);
GC.MyChar.AddItem(135299);

}
}
only problem is that i just get the item super with no stats or blessing etc.
what wud i need to add now to start to make stats on the items.
FadMucker is offline  
Old 08/26/2010, 08:43   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
why not do?
Code:
if (Cmd[0] == "/gm" && Cmd[1] == "tro")
{
GC.MyChar.AddItem(130109);
GC.MyChar.AddItem(160249);
GC.MyChar.AddItem(150249);
GC.MyChar.AddItem(120249);
GC.MyChar.AddItem(118109);
GC.MyChar.AddItem(480339);
GC.MyChar.AddItem(410339);
GC.MyChar.AddItem(135299);
}
&& = and
!= = not equal
== = equal
< = lower
> = higher
<= = lower or equal
>= = higher or equal
|| = or
dowhatuwant is offline  
Old 08/26/2010, 11:48   #4
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
but what do i need to add to the code now to add the blessing hp and gems etc?
FadMucker is offline  
Old 08/26/2010, 12:06   #5
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
search on grillmad, I made a release for that.
dowhatuwant is offline  
Old 08/26/2010, 12:26   #6
 
elite*gold: 0
Join Date: Aug 2010
Posts: 77
Received Thanks: 1
Quote:
Originally Posted by ☆★Zuper★☆ View Post
search on grillmad, I made a release for that.
lol dude ive search over 50 threads of yours and still havent found it:/ paste the link bro thx
FadMucker is offline  
Old 08/26/2010, 12:33   #7
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75


ex.
AddItem(ID, +, -, hp, gem1, gem2);
AddItem(ID, +, -, hp, gem1);
AddItem(ID, +, -, hp);
AddItem(ID, +, -);
AddItem(ID, +);
AddItem(ID);
dowhatuwant is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
command
06/27/2010 - CO2 Private Server - 8 Replies
Using:CoSX Source hey guys i have my p server and i am PM and i have a normal the name of it is test1 i do /kick test1 ok so it gets dc so now my other friend has an acc name xSplashx i do /kick xSplashx and nothing happens i get a error on my CoSX console
GM command-s
04/06/2010 - SRO Private Server - 8 Replies
Please start I Silkroad server 1.236 (CRSEMU) how to fix that I am GM and what are the command-s to spawn the NPC-s and MOB-s and ITEM-s and GOLD please help, give me command-s, ty
[HELP] command
02/05/2010 - EO PServer Hosting - 4 Replies
I would like to know how the write command in data base For example when a player kills a monster, that you mosntro of an item, if he kills the monster again, the action of this monster would be saying he already got the item that day, your not experienced in programming but I'm doing my own quest. thank you very much excuse the English
i want command
02/24/2009 - CO2 Private Server - 3 Replies
hi guys what command for skill reflect and why star guild war in cov2 cource thanx ..
o:- can't do both of that command plz some help ...
02/13/2008 - Kal Online - 9 Replies
hi u guys , sup every ?? hope all fine i have some problem .. i'm a gm in private server and when i type /moveto name of player none moving from my place it's mean not work so any 1 can just say me what can i do ?? 2 get place's player 2nd problem i can't attacking moobs while away from them i should get close enough like normal player ?? i need some help plz 3rd how i can get stuff mixing Demon Blood ?? or should admin make it 4 me 4th why i can't upgrade it egg's 4 ppl or me ?? or same...



All times are GMT +1. The time now is 03:58.


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.