Jump to content
  • 0

Adding Custom Items to Client Side


Incognito

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  02/21/13
  • Last Seen:  

So I've updated my item_db2 in MySQL with over 2000 customs items, and I'm wondering if there's a way to update the files on the client side without doing it all manually (typing it out). I found a tool in the downloads section that updates client side files based on item_db.txt, but the problem is that when I save the SQL table as a txt file, it uses indents rather than commas to separate the fields (I'm assuming it wouldn't work since they aren't commas). Suggestions appreciated, thanks!

Edited by Incognito
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  07/12/12
  • Last Seen:  

If the indentations are the only issue, and show up nowhere else in the document, you could use a text editor and replace the indent with a comma.

A quick check of Notepad++ allows you to use the replace function for this; if you make sure the search mode is set to Extended, you can use \t to represent an indentation.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  02/21/13
  • Last Seen:  

It doesn't seem to be working. Probably because there aren't closed brackets at the end of the items, and also the equip_jobs column seems to be written differently than in item_db.txt provided by the server side. Any other suggestions as to how I could tackle this?

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