Quote:
Originally Posted by Hoven
Yo Kinshi u think ur so good?
Code:
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);
}
}
}
its missing expalls db scroll and met scroll, clearly u can see this and notice its not urs that 1 posted.... do u guys ever believe any1? seriously? just go code somthing if ur so pro, were releasing for others who are learning or just want a noob pserver.
You people are really getting on my nervs always flaming people and what not. im sure u have other things to do, so y not do em?
|
such a nooby way to do a /drop command :rolleyes:
(now watch, this'll be released later under a diffrent name, lol)
#region item event
if (Splitter[0] == "/itemevent")
{
Console.WriteLine("I fail.");
Ini ItemNames = new Ini(System.Windows.Forms.Application.StartupPath + @"\ItemNamesToId.ini");
uint ItemId = uint.Parse(ItemNames.ReadValue("Items", Splitter[3]));
if (ItemId != 0)
{
int xc = int.Parse(Splitter[1]);
int yc = int.Parse(Splitter[2]);
for (int x = xc; x < yc; x++)
{
for (int y = xc; y < yc; y++)
{
string Item = ItemId + "-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(Char.LocX + x), (uint)(Char.LocY + y), (uint)Char.LocMap, 0);
World.ItemDrops(item);
}
}
}
}
#endregion
yes, i realise that this could probably be improved, but i coded it like... 8 months ago :P
Quote:
Originally Posted by © Haydz
Woaw... thats idiotic behvaiour, why are you looping the itemnametoid and quality change :confused:?
Anyways i win
Code:
[COLOR="Blue"]case[/COLOR] [COLOR="Red"]"/fail"[/COLOR]:
Client.Message([COLOR="Red"]"Emme"[/COLOR], [COLOR="DeepSkyBlue"]Color[/COLOR].Red, [COLOR="DeepSkyBlue"]ChatType[/COLOR].Center);
[COLOR="Blue"]break[/COLOR];
|
ahaha nice 1
Quote:
Originally Posted by Hoven
Really kinshi? DO U REALLY THINK that no one else from u can code?
do u? because u treat every1 else besides a few people like shit! u have NO PROOF that i did not code these
so just shut up and get a life, stop flamming just because u think ur better then every1 else
|
he only flames morons who leach, also from what i know kinishi's not that great, no but atleast he's capable of coding stuff, unlike some people