Jump to content
  • 0

Custom Item Issues


raskalask

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  08/27/15
  • Last Seen:  

I'm trying to create some custom items. Weapons specifically at the moment. I replaced Erde with the mace I'm trying to create. I do NOT currently have the dropped item spr or act files in place, but my issue is "invalid item ID or name". I'll worry about working sprites once I can actually get the item functioning in game.

 

 

Erde ID was originally 16000, so I moved that to 26000 and placed my mace Sharur in at 1600.

 

 

idnum2itemdesctable.txt

15065#
¾Ë·Á°í ÇÏ¸é ¾ÈµÇ´Â ¾ÆÀÌÅÛ.
#


16000#
A talking mace used to defeat Asag the Devourer. 
Drains it's user's essence in order to grant devastating blows.
Deal 20% more damage with Asura but reduces max HP/SP by 20% on equip.
Class :^777777 Mace^000000
Attack :^777777 200^000000
Weight :^777777 20^000000
Weapon Level :^777777 4^000000
Applicable Job :^777777 Champion^000000
# 


16001#
The official suitcase of the Alchemist's society. Its unique design and blazing red colour is a hit amongst women.
MaxHP + 200
Increases damage when using skill ^008800Acid terror or Demontration^000000 by 20%.
[^008800Base Strength >= 90^000000]
A chance to ^880000Stun^000000 status by 5%.
Every time you kill a monster, low chance to drop random Potion.
Class :^777777 Mace^000000
Attack :^777777 130^000000
Weight :^777777 50^000000
Weapon Level :^777777 3^000000
Required Level :^777777 50^000000
Applicable Job :^777777 Swordman Class, Acolyte Class, Merchant Class^000000
#

idnum2itemdisplaynametable.txt

15063#TE_°ø¼º_¸ÞÀÏ#
15064#TE_°ø¼º_¸ÅÁ÷ÄÚÆ®#
15065#¾Æ¸Þ»þ½ºÆæŸ#
16000#Sharur#
16001#Red_Square_Bag#
16002#Stunner#
16003#Carga_Mace#
16004#Eden_Mace_I#

itemslotcounttable.txt

15055#1#
15056#1#
16000#4#
16001#2#
16003#2#
16010#1#

item_db.txt

// More Maces
16000,sharur,Sharur,5,0,0,200,180,0,3,4,0x00008000,2,2,2,4,50,
1,8,{bonus2 bSkillAtk,271,20; },{bonus bMaxSP,-20; bonus bMaxHP,-20; },{bonus bMaxSP,20; bonus bMaxHP,20; }
16001,Red_Square_Bag,Red Square Bag,5,20,,500,130,,1,2,0x0004C5B2,18,2,2,3,50,1,8,{ bonus bMaxHP,200; bonus2 bSkillAtk,"AM_ACIDTERROR",20; bonus2 bSkillAtk,"AM_DEMONSTRATION",20; bonus2 bAddMonsterDropItem,501,50; bonus2 bAddMonsterDropItem,502,20; bonus2 bAddMonsterDropItem,503,20; bonus2 bAddMonsterDropItem,504,20; bonus2 bAddMonsterDropItem,505,10; if(readparam(bStr)>=95) bonus2 bAddEff,Eff_Stun,500; },{},{}
16002,Stunner_C,Stunner,5,0,,0,175,,1,0,0x00008110,63,2,2,3,1,0,8,{ bonus2 bAddEff,Eff_Stun,1000; bonus2 bAddSize,Size_All,40; },{},{}

I've repacked my grf and recompiled my server and I still get Invalid item ID or name. I know I'm probably missing something simple so any help is welcome.

 

Ok so it turns out I needed to edit the sql database, not the text file. Got it working now.

Edited by raskalask
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...