Jump to content
  • 0

Is there a way to update your items db?


Sharpienero

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

Title says it, because I seem to be missing a lot of items (equips.)

Is there a way to upgrade mySQL so that I can add those missing items?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

look for txt to sql converter, I remember in eAthena i found a php script for this.

this can convert item_db.txt, item_db2.txt and also mob_db.txt, mob_db2.txt also mob_skill_db

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   4
  • Joined:  01/25/12
  • Last Seen:  

Posted · Hidden by Zac, January 27, 2012 - Already replied by ngek202
Hidden by Zac, January 27, 2012 - Already replied by ngek202

What kind of items you lost? custom items? if you lost custom items, you gotta have back up.

if you lost official items, here's the newest item_db.

Pre-Renewal:

http://sourceforge.net/apps/trac/rathena/browser/trunk/db/pre-re/item_db.txt]Item_db.txt[/url]

Renewal:

http://sourceforge.net/apps/trac/rathena/browser/trunk/db/re/item_db.txt

How to add?

Just copy paste the item_db into your old item_db, then @reloaditemdb.

Link to comment

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

yes, you can

use this syntax

INSERT INTO `item_db2` VALUES ('ID','Name','Name',Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,'View,Script','OnEquip_Script','OnUnequip_Script');

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

yes, you can

use this syntax

INSERT INTO `item_db2` VALUES ('ID','Name','Name',Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,'View,Script','OnEquip_Script','OnUnequip_Script');

I don't understand. o_o;

What file am I supposed to put this into?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

It's an SQL Query. You put it into whatever you use to manage your sql files.

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