|
You last visited: Today at 19:08
Advertisement
Help
Discussion on Help within the CO2 Private Server forum part of the Conquer Online 2 category.
03/30/2010, 05:26
|
#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
|
|
|
03/30/2010, 06:17
|
#2
|
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
|
|
|
03/30/2010, 06:24
|
#3
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
|
Quote:
Originally Posted by .Arco
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
|
|
|
03/30/2010, 06:26
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
|
Quote:
Originally Posted by grillmad
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.
|
|
|
03/30/2010, 09:14
|
#5
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
Yes .Arco is right that works.
|
|
|
03/30/2010, 20:22
|
#6
|
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
|
Quote:
Originally Posted by .Arco
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?
|
|
|
03/31/2010, 16:59
|
#7
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
|
Quote:
Originally Posted by chrisb15
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);
|
|
|
03/31/2010, 17:35
|
#8
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
Quote:
Originally Posted by grillmad
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.
|
|
|
03/31/2010, 18:33
|
#9
|
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
|
Where do I add that? =o
|
|
|
03/31/2010, 19:22
|
#10
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
|
Quote:
Originally Posted by -impulse-
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 ^^
|
|
|
04/03/2010, 03:22
|
#11
|
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 0
|
Quote:
Originally Posted by -impulse-
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?
|
|
|
04/04/2010, 10:18
|
#12
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
|
Quote:
Originally Posted by chrisb15
Where do I add that?
|
Character.cs
|
|
|
All times are GMT +2. The time now is 19:08.
|
|