User:Wombat/Sandbox

From The Mana World
Revision as of 22:59, 23 July 2009 by Wombat (talk | contribs) (altering monsterpoints tutorial draft created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Making Changes to the Existing TMW eAthena Server

So you've downloaded the eAthena server you have just about everything the official server has, plus access to stuff that hasn't been implemented in the game yet. But you either want to learn how to make suggestions to the official game or you want to make your own server a little more unique. This is an attempt to create a tutorial on some basics that can be done to your server.

For describing things, I'm going to treat the eathena directory (or folder) as the home directory. Hopefully you have placed your directory in an easy to find spot and are comfortable locating it.

Step 1: Monster Points

One of the first things I did was change the monster points around. It is easy to do and probably something that can be done to offer a first time player a feeling they aren't playing the official game. Perhaps also you'd like to suggest the monster points be changed to something that might be a little smoother for a beginning player. Whatever your reason, this is probably one of the simpler things you can do without any real knowledge on scripting.

1. Get into your eathena directory. I'm using windows, so I'm navigating by opening folders, but I could also navigate with cygwin, which is like a Linux command prompt.

2. Goto /npc/001-1_Tulimshar/rewards_master.txt

3. Find: setarray @Items$,

4. After this is the item "Name"s of what is offered as monster points.

5. Goto /db/item_db.txt

6. At the top of the text, there are several categories: #ID,Name,Label,Type,Price,Sell,Weight,ATK,DEF,Range,Mbonus,Slot,Gender,Loc,wLV,eLV,View,{UseScript},{EquipScript}

7. Find the "Name"s of the items you'd like to add as monster points. Example: 501,CactusDrink,Cactus Drink,0,50,25,25,,,,,,2,,,0,,{ itemheal 15,0; },{}

The "Name" is "CactusDrink"

8. Copy the "Name" and paste it onto the same line as "setarray @Items$,". Put quotations around the "Name" and follow it up with a comma. Example: "CactusDrink",

9. Repeat set 8 as many or few times as you'd like for each item you want to be granted as monster points. Delete those items you longer want to be used as monster points.

10. Save the text.

To test: start your character through the client, register for monster points if you haven't already, kill a handful of monsters to acquire monsterpoints if you haven't already and talk to "Ishi" (or whatever the "rewardsmaster"'s name is) and collect your rewards. If you've done the steps correctly, you should be receive your items randomly from the list you have created. If you want certain items to be granted more often than others, repeat its "Name" more than once on the same line as "setarray @Items$," which will increase the chances of that item turning up as a monsterpoints reward.