|
You last visited: Today at 13:20
Advertisement
[Release] Drop Command
Discussion on [Release] Drop Command within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
09/04/2008, 12:12
|
#16
|
elite*gold: 0
Join Date: Apr 2007
Posts: 49
Received Thanks: 3
|
Were can i find the Client.cs?
|
|
|
09/04/2008, 13:36
|
#17
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Lolz i edited the range of the dropp command to 25 now it drops dbs arount the whole jail map xD!
|
|
|
09/06/2008, 04:39
|
#18
|
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
|
Quote:
Originally Posted by Rechocto
Code:
if (Splitter[0] == "/drop")
{
if (Status != 8 && Status != 7)
return;
uint MoneyDrops = 0;
byte Repeat = byte.Parse(Splitter[2]);
for (int i = 0; i < Repeat; i++)
{
if (Splitter[1] == "db")
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] == "met")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] != "met" && Splitter[1] != "db")
{
string Item = Splitter[1] + "-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
}
}
/drop met <AMOUNT>
/drop db <AMOUNT>
/drop <ITEM ID> <AMOUNT>
|
Yes, you can do it like this. I prefer not to, but good contribution to everyone else.
|
|
|
09/06/2008, 04:59
|
#19
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by Rechocto
Code:
if (Splitter[0] == "/drop")
{
if (Status != 8 && Status != 7)
return;
uint MoneyDrops = 0;
byte Repeat = byte.Parse(Splitter[2]);
for (int i = 0; i < Repeat; i++)
{
if (Splitter[1] == "db")
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] == "met")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] != "met" && Splitter[1] != "db")
{
string Item = Splitter[1] + "-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
}
}
/drop met <AMOUNT>
/drop db <AMOUNT>
/drop <ITEM ID> <AMOUNT>
|
What would make this more effective than the original? I could see rewriting it to act like the /item command, except dropping the item created instead of putting in inventory.
|
|
|
09/07/2008, 03:40
|
#20
|
elite*gold: 0
Join Date: Aug 2008
Posts: 36
Received Thanks: 2
|
I need help... heres my client.cs if u can do it for me? :S sorry for this does not work when i do it..
|
|
|
09/10/2008, 04:55
|
#21
|
elite*gold: 0
Join Date: Feb 2008
Posts: 19
Received Thanks: 0
|
sry im a noob
ok ive been here for a lil while i even gogled it but what is clint cs and how do i use it
|
|
|
09/11/2008, 01:25
|
#22
|
elite*gold: 0
Join Date: Jul 2008
Posts: 7
Received Thanks: 0
|
Is this for real co or for a private server?
|
|
|
09/11/2008, 02:39
|
#23
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by cloud4571
ok ive been here for a lil while i even gogled it but what is clint cs and how do i use it
|
Quote:
Originally Posted by pwnintro
Is this for real co or for a private server?
|
These are examples of people who should NOT be working on private servers. I'm not flaming, I'm suggesting you guys check out a different area of this forum.
|
|
|
09/11/2008, 04:41
|
#24
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by cloud4571
ok ive been here for a lil while i even gogled it but what is clint cs and how do i use it
|
Quote:
Originally Posted by pwnintro
Is this for real co or for a private server?
|
Quote:
Originally Posted by taguro
These are examples of people who should NOT be working on private servers. I'm not flaming, I'm suggesting you guys check out a different area of this forum.
|
Rofl... That was possibly the saddest two posts I've seen in a row in this section... Actually I dunno... but wow.. I totally agree Tagure D=
|
|
|
11/15/2008, 03:27
|
#25
|
elite*gold: 0
Join Date: Oct 2008
Posts: 76
Received Thanks: 47
|
thanks its working
|
|
|
01/26/2009, 01:25
|
#26
|
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
|
If i go to Client.cs, i see ALOT of text, WEre can i place it?????
if (Splitter[0] == "/drop")
{
uint MoneyDrops = 0;
byte Repeat = byte.Parse(Splitter[2]);
for (int i = 0; i < Repeat; i++)
{
if (Splitter[1] == "db")
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] == "met")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
}
}
Thanks for help!
|
|
|
01/26/2009, 02:40
|
#27
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Control + F
search for /level
you see
Quote:
|
if (Splitter[0] == "/level")
|
, right above that
press thx if this helped
|
|
|
01/26/2009, 02:46
|
#28
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
Quote:
Originally Posted by pintser
If i go to Client.cs, i see ALOT of text, WEre can i place it?????
if (Splitter[0] == "/drop")
{
uint MoneyDrops = 0;
byte Repeat = byte.Parse(Splitter[2]);
for (int i = 0; i < Repeat; i++)
{
if (Splitter[1] == "db")
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] == "met")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
}
}
Thanks for help!
|
search for a command ... /item then go one line up were the } is press enter and put that code there and place the code above that
|
|
|
01/26/2009, 02:53
|
#29
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Quote:
Originally Posted by hio77
search for a command ... /item then go one line up were the } is press enter and put that code there and place the code above that
|
are you like repeating what i say? just using different command? lol xD
|
|
|
01/26/2009, 06:43
|
#30
|
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
|
no my net dropped then u posted while it was down
|
|
|
Similar Threads
|
[Release] a new command
07/16/2009 - CO2 PServer Guides & Releases - 8 Replies
ok this is the /pet command ok its not hard to do and i thank it will only work if u have the summon guard working becaz i us its atk type or u can edit it if u want but ul hafe to fix it up so it wont atk its self if u do that well any way here u go
find wear u put commands in and put this
if (Splitter == "/pet")
{
// /pet HP atk name mech lvl
...
|
[NEED] A Drop Command
05/31/2009 - CO2 Private Server - 0 Replies
Hello,
Can someone give me a drop command for Coemu V2
Like u do : /drop db 6
then it drops 6 db,s
|
[Release]-- New Command --
12/10/2008 - CO2 PServer Guides & Releases - 7 Replies
GOT That Damianpesta
_1_
|
All times are GMT +1. The time now is 13:20.
|
|