Page 1 of 1
How to add a custom item?
Posted: Mon Jun 22, 2009 6:50 pm
by Spartanx
Hi there, I'm trying to create a custom item for event, and get special stuff I added to the server, I added it to the etcitem, and My character DO get the item, but when a char get the Item the message is
"You have earned 2."
Instead of the full name of the item, how can I fix that? any clues?
I look all over the forums, google it, and couldnt find an anwser.
Thank you all for your Help.
SpartanX
Since 2005
Re: How to add a custom item?
Posted: Mon Jun 22, 2009 10:25 pm
by tropheo
You need patch/edit your system.
etcitem.dat for item texture
itemname.dat for item name
Re: How to add a custom item?
Posted: Mon Jun 22, 2009 10:36 pm
by Bloodshed
client modding discussions not allowed, read the rules
Re: How to add a custom item?
Posted: Fri Jun 26, 2009 12:33 am
by Spartanx
Well actually I'm not trying to modify the client, Im trying to modify the server so items like the mana potions show "mana potion" instead of "you use ." the same way im trying to do with the item I'm trying to add so the player can see how many of this items they have earned when the monsters drop the item, 'cos the item is not "visible" I found a server using L2J that runs Gracia Final, and when you kill a mob it shows something like this: "You have earned 2 event points", and if you use ".points" it shows how many you have earned so far, im trying to do something like that so the players can exchange this points for useful stuff, or decorative items but, I dont know if it is posible.
If anyone have any clue many many thanks.
Re: How to add a custom item?
Posted: Mon Jun 29, 2009 2:18 am
by cordate
Maybe the return "Chat0.htm" parts of this
quest-writing tutorial would work for this? Some of the tutorial looks to be outdated, as I am comparing it today to the quest scripts used in my server's revision, but maybe those chat statements could be used for you in your event scripting.
Re: How to add a custom item?
Posted: Sat Jul 04, 2009 12:27 am
by Spartanx
Well I guess it is ok and I do apreciate the effort but, I know how to add the drop, that's the easy part, what I dont know how to do it, is a way for My item to be show when you get it from a mob "You have earn 2 xxxxx"
If you use the mana potion it will show something like "You use ." instead of "You use mana potion" maybe im not clear on this, I know i will have to edit some parts of the core perhaps, or something like that, well I downloaded a Java editor, will be working on that if I get a way to do it I'll post it.
Thanx for your help =)
SpartanX
Since 2005