Jump to content
  • 0

Question about Custom Itens


Question

Posted

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.

1 answer to this question

Recommended Posts

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...