Register for your free account! | Forgot your password?

You last visited: Today at 19:08

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

Advertisement



Help

Discussion on Help within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
Help

Right. I've made an NPC, but I don't know how to make it give a +12 item. There is no ID for a +12 item like:

Quote:
GC.MyChar.AddItem(720028);
What would I put there for a +12 item? o.o

Thanks
chrisb15 is offline  
Old 03/30/2010, 06:17   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
Code:
public void AddItem(uint ID, byte Plus)
I would say 720028, 12
Arcо is offline  
Thanks
1 User
Old 03/30/2010, 06:24   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by .Arco View Post
Code:
public void AddItem(uint ID, byte Plus)
I would say 720028, 12
i thought to write that, but i wasn't sure x.x
cause i didnt work with emu or the new sources XD
Fish* is offline  
Old 03/30/2010, 06:26   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
Quote:
Originally Posted by grillmad View Post
i thought to write that, but i wasn't sure x.x
cause i didnt work with emu or the new sources XD
Eh I'm just looking through the definitions and that shows up so I'm pretty sure its that.
Arcо is offline  
Old 03/30/2010, 09:14   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Yes .Arco is right that works.
Paralyzer[GM] is offline  
Old 03/30/2010, 20:22   #6
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
Quote:
Originally Posted by .Arco View Post
Code:
public void AddItem(uint ID, byte Plus)
I would say 720028, 12
Thanks! xD +k

#Edit What about the bless, enchant, gem1 and gem2? xD How would I add them?
chrisb15 is offline  
Old 03/31/2010, 16:59   #7
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by chrisb15 View Post
Thanks! xD +k

#Edit What about the bless, enchant, gem1 and gem2? xD How would I add them?
i would guess is
Code:
GC.MyChar.AddItem(720028, 12, 7, 255, 13, 13);
Fish* is offline  
Old 03/31/2010, 17:35   #8
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by grillmad View Post
i would guess is
Code:
GC.MyChar.AddItem(720028, 12, 7, 255, 13, 13);
There is no definition for AddItem(uint, byte, byte, byte, byte), there is only AddItem(uint), AddItem(uint, byte)

You have to write AddItem(uint, byte, byte, byte, byte) yourself.
-impulse- is offline  
Old 03/31/2010, 18:33   #9
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
Where do I add that? =o
chrisb15 is offline  
Old 03/31/2010, 19:22   #10
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Quote:
Originally Posted by -impulse- View Post
There is no definition for AddItem(uint, byte, byte, byte, byte), there is only AddItem(uint), AddItem(uint, byte)

You have to write AddItem(uint, byte, byte, byte, byte) yourself.
I never used the source, so i couldnt know ^^
Fish* is offline  
Old 04/03/2010, 03:22   #11
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
Quote:
Originally Posted by -impulse- View Post
There is no definition for AddItem(uint, byte, byte, byte, byte), there is only AddItem(uint), AddItem(uint, byte)

You have to write AddItem(uint, byte, byte, byte, byte) yourself.
Where do I add that?
chrisb15 is offline  
Old 04/04/2010, 10:18   #12
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
Quote:
Originally Posted by chrisb15 View Post
Where do I add that?
Character.cs
Arcо is offline  
Reply




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


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.