Adding Items?

Post Reply
geanux
Posts: 15
Joined: Sat Jun 21, 2014 10:49 am

Adding Items?

Post by geanux » Mon Jul 28, 2014 11:53 am

I am trying to add my own items into dsp, I have managed to add stuff in database and that is all fine and dandy. However its not registering my item and I know it has to be within a lua or within a code of some kind.. when I type GM command @additem 30000 it simply says obtained..... (uhh) but where to look, any ideas? PS not sure if this is the proper place to post this topic lol.

soulsin
Posts: 102
Joined: Sun Mar 17, 2013 9:06 am

Re: Adding Items?

Post by soulsin » Mon Jul 28, 2014 12:12 pm

I had this issue until they told me what I needed to do but here link to page I posted on

viewtopic.php?f=14&t=2134
[GM] Soulsin

geanux
Posts: 15
Joined: Sat Jun 21, 2014 10:49 am

Re: Adding Items?

Post by geanux » Mon Jul 28, 2014 12:23 pm

lol.. well I thought i had it working... I am getting a item in my bag but cannot equip it or use it, has no picture describing the item its just a blank box..

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: Adding Items?

Post by bluekirby0 » Mon Jul 28, 2014 7:03 pm

You cannot add an arbitrary item. The client will not know how to handle it. You must use an existing item id and you cannot change things like whether something is equippable without creating more problems. You can find an itemid with polutils or using ffxiah.com.

geanux
Posts: 15
Joined: Sat Jun 21, 2014 10:49 am

Re: Adding Items?

Post by geanux » Tue Jul 29, 2014 8:32 am

no wonder! lol yeah forget i am using only a loader never bother realizing that to truly add new content you must add stuff to the client side.. Do have one final question tho and it maybe what i can already guess the answer would be.. if you change the existing name in a database item wise... and if you decide to do a GM command to obtain that item there is a risk of failure in seeing the items name change.. or is that something totally complex into the client itself, which makes it (impossible).. ill try polutilities :) thx

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: Adding Items?

Post by bluekirby0 » Tue Jul 29, 2014 11:58 am

Changing the item name in the database does NOT do what you think it does. Item names are totally 100% client-side. Changing the name in the database changes the name of the script the server tries to execute when an item is equipped or used.

Post Reply