Few Commands PeTe and I coded(for Lotf)

02/09/2009 03:43 Ultimatum#16
Quote:
Originally Posted by Hoven View Post
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
=O someone didn't eat there weetabix :D
02/09/2009 03:44 kinshi88#17
Quote:
Originally Posted by Hoven View Post
Really kinshi? DO U REALLY THINK that no one else from u can code? Oh no, of course not. MANY MANY can code a lot better than I can.
do u? because u treat every1 else besides a few people like shit! No, just those who claim to code things that they just copy & pasted. u have NO PROOF that i did not code these Well, me and tao showed you some pretty solid evidence. In the face of a jury, I think we'd win.

so just shut up and get a life I have one. its very enjoyable =D, stop flamming just because u think ur better then every1 else I REALLY don't think I'm better than everyone. I'm not a stuck up prick.
Hurray for in-quote posting?
02/09/2009 04:24 Hoven#18
really? i had a diff sign as u in drop, and thats not proof

what about the others?
02/09/2009 09:35 HellCo#19
Grant, I know you cannot code from scratch, as you kept coming on elitepvpers copy / pasting codes into our source, after how many times i suggested we did it on our own, Lol your funny this thread makes me laugh so hard, YOU CANNOT CODE! END OF!
02/09/2009 10:51 _Emme_#20
Grant can code, just not that effective and good, but im pretty sure he would be able to do a /drop command. I'm not standing on anyones side on this argument.

Anyways, I win k?

Usage : /dropitem 9 BuriedBlade 1000 4
Will be: Drops an super buriedblade and 1000 silvers, four times


Quote:
if (Cmd[0] == "/dropitem")
{

Database.GetFile(IniFile INames,"ItemsNamesToId.ini");
uint ItemID = uint.Parse(INames.IniReadValue("Items", Cmd[2]));
Extra.ItemIDManipulation e = new Extra.ItemIDManipulation(ItemID);
e.QualityChange(Cmd[1]);
ItemID = e.ToID();
Extra.Item Item = new Extra.Item();
Item.ID = ItemID;
for (int i = 0; i < Byte.Parse(Cmd[4]); i++)
{
Extra.DroppedItems.DropItem(Item.ToString(), C.MyChar.Loc.X, C.MyChar.Loc.Y, C.MyChar.Loc.Map, UInt16.Parse(Cmd[3]));

}
}
02/09/2009 17:42 © Haydz#21
Quote:
Originally Posted by EmmeTheCoder View Post
Grant can code, just not that effective and good, but im pretty sure he would be able to do a /drop command. I'm not standing on anyones side on this argument.

Anyways, I win k?

Usage : /dropitem 9 BuriedBlade 1000 4
Will be: Drops an super buriedblade and 1000 silvers, four times
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];
02/09/2009 18:19 _Emme_#22
Quote:
Originally Posted by © Haydz View Post
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];

Woops didnt saw that just coded the command anyways well good pointing that out.
02/09/2009 22:34 lostsolder05#23
Quote:
Originally Posted by Hoven View Post
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 View Post
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 View Post
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
02/09/2009 22:38 LetterX#24
Up your butt with a coconut.
02/23/2009 06:35 spade12#25
Quote:
Originally Posted by LetterX View Post
Up your butt with a coconut.


Yes I definatly agree with that.