[RELEASE] Beginner Packs (My style)

06/22/2009 03:11 n0mansland#16
Uhmm try right clicking it and extract method if there is that option if not IDK
06/22/2009 10:14 Andrew.A#17
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));
}
06/24/2009 15:42 Akarama#18
when i do this code i click on beginnerpacklv1 and it just gives me 500 silvers and not the other items?
06/24/2009 15:49 Andrew.A#19
Have you added at the bottom
Do you get any errors?
Enough space in inventory?
Im not exactly sure whats wrong because this code works for everyone thats tried it so far if I am correct.
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)
06/24/2009 17:08 Akarama#20
I put the code at the bottom, i have enough space,. i dont get whats wrong
06/24/2009 17:12 glupkotrup#21
When you were born everything went wrong.
06/24/2009 20:01 PeTe Ninja#22
i think people should put what type of release

LOTF

CoEmuV2

Other..
06/24/2009 21:05 Andrew.A#23
CoEmu V2 thanks ill keep that in mind if I release anything else.
07/03/2009 22:50 m7med#24
Can help me EmmeTheCoder there is error whit public static void error in void word
07/03/2009 23:23 Rab#25
Quote:
Originally Posted by glupkotrup View Post
Legend, legend... You look like a really tough guy. Wanna make a competition for coding? Any place, any time, anything. Games, Programs, Databases, Shopping Systems, Websites, Register Systems, Fully Integrated Admin Systems, IP Checkers/Changers, Hacks, Bots, PC Themes, in one word ANY THING that can be coded!
Yes or No?

Note: We both have to do the same thing.


Regards,
Psycho|Kid
You're the damnedest idiot I have ever seen.

Instead of flaunting your arrogance like the worthless cunt you are, why don't you prove to us that you really aren't good-for-nothing.

Why don't you develop a visual demonstration using any language you want, that uses the Separating Axis Theorem to calculate whether or not polygons are overlapping. It shouldn't be too hard for you.
07/03/2009 23:36 Rab#26
Quote:
Originally Posted by n0mansland View Post
dame - Whats that supposed to mean?
n.
1.Used formerly as a courtesy title for a woman in authority or a mistress of a household.
(dictionary.com)


Anyway how are you going to flame Vortex.?



are you calling yourself a nerd then?
I thought e*PvP Staff were supposed to be role models and assist, not to be Grammar Nazis and spam.

If you are going to deface your Guard position, then you should resign.
07/03/2009 23:42 n0mansland#27
Quote:
Originally Posted by Rab View Post
I thought e*PvP Staff were supposed to be role models and assist, not to be Grammar Nazis and spam.

If you are going to deface your Guard position, then you should resign.
That was a long time ago before I was even a Guardian.. I know I did wrong. I haven't done anything like that since and have been acting like a role model. But I do have a question how is that spam? Not to sound mean or anything.

Also please do not double post :) If you wish to add something edit your last post.
07/04/2009 01:03 Rab#28
Quote:
Originally Posted by n0mansland View Post
That was a long time ago before I was even a Guardian.. I know I did wrong. I haven't done anything like that since and have been acting like a role model. But I do have a question how is that spam? Not to sound mean or anything.

Also please do not double post :) If you wish to add something edit your last post.
Wouldn't you consider making irrelevant posts on someone's thread, and not saying anything that has to do with the latter thread's original post, to be spam?

Also, double posting is not against the rules, if the posts address two completely different topics, and is not done for fun.

My posts, however, are spam.
07/04/2009 01:43 Andrew.A#29
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));
}
Thats whats meant ot be at the bottom.