From The Mana World
< User talk:Wombat
Revision as of 18:56, 25 July 2009 by Kess (talk | contribs) (Add practical info as well)

Step 3.1: Changing the Desert Shirt's Defense 1. Open /db/item_db.txt

2. Find the "Desert Shirt" on the list. It looks like this: 546,DesertShirt,Desert Shirt,5,2000,1000,10,,6,,-18,0,2,512,,0,0,{},{}

3. Compare this to the header. It looks like this: #ID,Name,Label,Type,Price,Sell,Weight,ATK,DEF,Range,Mbonus,Slot,Gender,Loc,wLV,eLV,View,{UseScript},{EquipScript}

4. What is important for this particular change is the defense or "DEF". It is my desire to make the Desert Shirt a little more viable as an in-between armor. Change the "6" to "8" because that is the "DEF" of the Desert Shirt.

Step 3.2: Removing the Desert Shirt From Sale

  • It would seem I need a better understanding of the client in order to further these aspects and/or an updates server that recognizes this kind of information. I'll attempt to limit my tutorial to mainly server side alterations until I get a better understanding of how this is done.
  • What you are trying to do, is it to remove the Desert Shirt from the NPC shops? Have a look in the npc/ directory if that is the case. (On linux you can do something similar to grep -l "shop" npc/*/*.txt | xargs grep -n --color=auto "546" to find where it is being sold.) ✎ Kess☽ 18:48, 25 July 2009 (UTC)
The command above gives the following result (it is just to remove ,546:10000 here):
npc/020-2_Nivalis/shops.txt:4:020-2.gat,27,26,0 shop Taylor 137,523:2000,524:1600,543:800,544:5000,546:10000,586:1000,741:-1