Game Elites is offering you all kind of Hacks, Bots, Tips and Tools.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Commands Code

View previous topic View next topic Go down 
AuthorMessage
DiegoThe
Guest



PostSubject: Commands Code   Sat May 09, 2009 6:02 pm

This is NOT for LOTF! This is for basic C# sources.

Open the .cs called Commands or Client if that is correct.
Find all the other commands and post this!

Quote :
case "@item": // @item id plus bless enchant s1 s2
{
IConquerItem item = new ItemDataPacket(true);
item.UID = ItemDataPacket.NextItemUID;
item.ID = uint.Parse(args[1]);
if (args.Length > 2)
{
item.Plus = byte.Parse(args[2]);
if (args.Length > 3)
{
item.Bless = byte.Parse(args[3]);
if (args.Length > 4)
{
item.Enchant = byte.Parse(args[4]);
if (args.Length > 5)
{
item.SocketOne = byte.Parse(args[5]);
if (args.Length > 6)
{
item.SocketTwo = byte.Parse(args[6]);
}
}
}
}
}
Client.AddInventory(item);
break;
}

Then after that you can put:

Quote :

case "@scroll":
{
switch (args[1].ToLower())
{
case "tc":
Client.Teleport(1002, 431, 379);
break;
case "pc":
Client.Teleport(1011, 190, 271);
break;
case "am":
Client.Teleport(1020, 567, 576);
break;
case "dc":
Client.Teleport(1000, 500, 650);
break;
case "bi":
Client.Teleport(1015, 723, 573);
break;
case "ma":
Client.Teleport(1036, 200, 200);
break;
case "arena":
Client.Teleport(1005, 52, 69);
break;
}
break;
}
}
}

I know I quoted it it looks better cuz the code makes it all ugly so you may have to indent.
Back to top Go down
 
Commands Code
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Silenium IDE code for selecting and ajax autopopulate dropdown item
» required selenese commands for junit4
» Export IDE code to JUNIT4, edit and import back to IDE
» Code Geass - Klok's Anime Reviews
» Webdriver code for dropdown selection is not working

Permissions in this forum:You cannot reply to topics in this forum
Game-Elites :: Conquer Online 2 :: CO2 Programming-
Jump to: