Register for your free account! | Forgot your password?

You last visited: Today at 23: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 07/02/2009, 01:13   #2
 
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
cool, good job - finish it up xD


arab4life is offline  
Reply



« [CoEmu] Help me please. | Looking for Cleary Source »

Similar Threads
5165 Beginner Packs and CP packs!
06/29/2010 - CO2 PServer Guides & Releases - 5 Replies
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 Beginner Packs are finished although some of them donít have the right items inside them. Ok so here we go, to add these packs go to  Character.cs  Search for Misc  Under this is where we will add the Packs. Copy and paste all of my code from below Beginner Packs
beginner need help ==
08/29/2009 - Dragonica - 3 Replies
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 important?
[RELEASE] Beginner Packs (My style)
07/04/2009 - CO2 PServer Guides & Releases - 28 Replies
Ok here is MY first release post comments please FIRST do the 2 Birth Village tutorials then begin below. In UseItem.cs case 723753://BeginnerPack Level1 { if (CSocket.Client.Level >= 1)
A little help for a beginner
05/19/2009 - Archlord - 5 Replies
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!



All times are GMT +1. The time now is 23: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.