Help

03/30/2010 05:26 chrisb15#1
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 :p
03/30/2010 06:17 Arcо#2
Code:
public void AddItem(uint ID, byte Plus)
I would say 720028, 12
03/30/2010 06:24 Fish*#3
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
03/30/2010 06:26 Arcо#4
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.
03/30/2010 09:14 Paralyzer[GM]#5
Yes .Arco is right that works.
03/30/2010 20:22 chrisb15#6
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?
03/31/2010 16:59 Fish*#7
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);
03/31/2010 17:35 -impulse-#8
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.
03/31/2010 18:33 chrisb15#9
Where do I add that? =o
03/31/2010 19:22 Fish*#10
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 ^^
04/03/2010 03:22 chrisb15#11
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?
04/04/2010 10:18 Arcо#12
Quote:
Originally Posted by chrisb15 View Post
Where do I add that?
Character.cs