Register for your free account! | Forgot your password?

You last visited: Today at 19:25

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

 

[COEMUV2]Better Beginner packs

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 57
Received Thanks: 16
[COEMUV2]Better Beginner packs

this contains beginner packs Level1- 110, its not finished, but is very easy to

finish

it will check your invent spaces, and will give you a prize accoring to your class, the items arnt free, although.It also checks you Level, and sends you a system message saying wether or not you are correct


Massive Credit and Thanks to ScottDavey for his AddItem Function!
Code:
public static void AddItem(int itemid, int bless, int dura, int enchant, int plus, int position, int soc1, int soc2, int color, ClientSocket CSocket)
{
Struct.ItemInfo Item = new Struct.ItemInfo();
if (dura == 255)
{
Item.Dura = Item.MaxDura;
}
else
{
Item.Dura = dura;
}
Item.Bless = bless;
Item.Enchant = enchant;
Item.ItemID = itemid;
Item.Plus = plus;
Item.Position = position;
Item.Soc1 = soc1;
Item.Soc2 = soc2;
Item.Color = color;
Item.UID = Nano.Rand.Next(1, 9999999);
bool created = Database.Database.NewItem(Item, CSocket);
while (!created)
{
Item.UID = Nano.Rand.Next(1, 9999999);
created = Database.Database.NewItem(Item, CSocket);
}

CSocket.Client.Inventory.Add(Item.UID, Item);
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
}

i am a complete noob at coding, this is definatly not going to be brilliant at all, just something i was working on, and forgot, and just could not be arsed to finish it :P
Attached Files
File Type: txt New Text Document.txt (39.0 KB, 6 views)



unluckyunknown45654554 is offline  
Thanks
1 User
Old   #2
 
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
cool, good job - finish it up xD


arab4life is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
5165 Beginner Packs and CP packs!
I canít remember if I have seen this on here so someone please correct me if I am wrong. These are the Beginner Packs and CP packs. All of the...
5 Replies - CO2 PServer Guides & Releases
beginner need help ==
why i keep got kick about 10-20 min in game .. ?? does the cd hack work?how can i bot in mission room??:handsdown: wat use for injection does it...
3 Replies - Dragonica
[RELEASE] Beginner Packs (My style)
Ok here is MY first release post comments please FIRST do the 2 Birth Village tutorials then begin below. In UseItem.cs ...
28 Replies - CO2 PServer Guides & Releases
A little help for a beginner
Hi, ill start playing archlord and i choose an elementalist... can someone give a guide to read before i mess up the char. Ty! BB!
5 Replies - Archlord



All times are GMT +2. The time now is 19:25.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.