Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 03:20

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

Advertisement



[Request]Add Bound item

Discussion on [Request]Add Bound item within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
dodolinobobo's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 162
Received Thanks: 26
[Request]Add Bound item

I need the code for a npc that give bound items...it would be like GC.MyChar.AddItem(723753);
but what is the right code to give the items (bound)?

I will press thanks for anybody helps me
dodolinobobo is offline  
Old 05/12/2010, 23:20   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
It.FreeItem = true;
Code:
Item It = new Item();
                            It.ID = 300000;
                            It.MaxDur = It.DBInfo.Durability;
                            It.CurDur = It.MaxDur;
                            It.Plus = 1;
                            It.UID = (uint)Program.Rnd.Next(int.MaxValue);
                            I.FreeItem = true;
                            RemoveItem(I);
                            AddItem(It);
Arcо is offline  
Thanks
1 User
Old 05/12/2010, 23:53   #3
 
gerble93's Avatar
 
elite*gold: 40
Join Date: Sep 2006
Posts: 1,890
Received Thanks: 805
Using what Arco had I would create the method AddItem(uint ItemID, bool Free)

.. This would be faster and much easier
gerble93 is offline  
Thanks
1 User
Old 05/13/2010, 07:25   #4
 
dodolinobobo's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 162
Received Thanks: 26
thanks for your help
dodolinobobo is offline  
Reply


Similar Threads Similar Threads
[Release]Bound Item Command(5165)
08/05/2010 - CO2 PServer Guides & Releases - 15 Replies
Got bored... this is the usage: /free Item Quality Plus -Damage Socket1 Socket2 if (Cmd == "/free") { uint ID = 0; foreach (DatabaseItem DI in Database.DatabaseItems.Values) if (DI.Name == Cmd) {
[Request]How to Change Item Colour or selected item when use lootalarm
05/14/2010 - 12Sky2 - 0 Replies
ex1. item is rare colour i want to change to elite colour. ex2. item is rare but i don't want it then no alarm.
S> Eagle srv Ninja 126lvl for Lion,sup bound items,not bound sup fan 1soc +6 -1dmg..
05/04/2010 - Conquer Online 2 Trading - 1 Replies
Hi! S> In Eagle server Ninja 126level,super bound items,not bound super fan 1socket SGG +6 -1dmg... For Lion server some items or DBS or money or CPS... Offer here I sell cheap. I GIVE FULL INFO with email.
Small Request Bound Items
05/04/2010 - CO2 Private Server - 0 Replies
hi guys i have just added Beginners Packs in My server but it gives all the item normal (aren't bound) there is something i wanna all the items that the packs give have bound in there name and can't be traded so how can i do it just tell me and i will do it



All times are GMT +1. The time now is 03:21.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.