Jump to content
  • 0

Question about Custom Itens


HeadacheMan

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/26/13
  • Last Seen:  

I'm not sure if this is the right place, If I'm wrong please let me know... Anyway. So I'm trying to understand how to create custom items for my server and the wiki does a good job at that but I have one question.

 

Since I'm using item_db with MySQL shouldn't I create the custom item in my database instead of the item_db2.txt as the wiki says so? Or either way works?

 

Thanks in advice.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

Vice versa works

 

here's some sample

 

 

INSERT INTO `item_db` (
`id` ,
`name_english` ,
`name_japanese` ,
`type` ,
`price_buy` ,
`price_sell` ,
`weight` ,
`atk:matk` ,
`defence` ,
`range` ,
`slots` ,
`equip_jobs` ,
`equip_upper` ,
`equip_genders` ,
`equip_locations` ,
`weapon_level` ,
`equip_level` ,
`refineable` ,
`view` ,
`script` ,
`equip_script` ,
`unequip_script`
)
VALUES

('22001', 'Custom', 'Custom', '5', '20', NULL , '10', NULL , NULL , NULL , '1', '4294967295', '7', '2', '512', NULL , NULL , '1', '1', '', '', ''),
 

if you want to use item_db2 just change the

 

 

INSERT INTO `item_db` (
 

into

 

 

INSERT INTO `item_db2` (
 

and how to add custom item guide on my signiture

 

 

Good Luck

Link to comment
Share on other sites

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...