Register for your free account! | Forgot your password?

You last visited: Today at 22:14

  • 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   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
Code:
public void AddItem(uint ID, byte Plus)
I would say 720028, 12
Arcо is offline  
Thanks
1 User
Old   #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   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
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   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Yes .Arco is right that works.
Paralyzer[GM] is offline  
Old   #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   #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   #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   #9
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
Where do I add that? =o
chrisb15 is offline  
Old   #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   #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   #12
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
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 22:14.


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

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