Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

File Editing


MasterDeV
 Share

Recommended Posts

  Welcome to my guide on file editing.
Please note that pictures WILL be coming soon.
  File editing is very easy to do, and if you don't already know how to do it, read on :)

  The files you can edit are 'Configuration Settings' files. They are found around the 'Server' folder.

  STEP 1:
Go to where you installed Eclipse, and open 'Server'.

  STEP 2:
In the folder, there are multiple Configuration Settings files.
The ones I can teach you to edit are the following:

  Stats
  Data
  MOTD
  Class0

  STEP 3:

  FOR STATS:

Open the 'Stats' file.
This one is pretty easy, HP = Health Points,
MP = Magic Points,
and SP = Stamina Points.
ANYWAYS, each one has a list of 'addper's under it.
After the '=' sign, all you have to do is put in a value.
The value is how much MP, HP, or SP you get everytime you level up or put in a stat point.

  FOR MOTD:

Open 'MOTD'.
This one is VERY simple.
After 'Msg=', put what you would like to say.
All MOTD really does is give a message to a person once
then enter your server.

  FOR DATA:

Open the 'Data' file.
This one isn't too hard, but is more difficult then the others.
Look through the list, you should see a 'scrollx=30', and a
'scrolly=30'. These two indicate your room size in 32x32 pixel
blocks. You can change the value '30' to whatever you want,
and every room you make will be that size.
ALSO, at the bottom you will see a title called '[MAX]'.
This is pretty strait forward, you put in a value where the original one is to change it. for example, you want to change the max NPC count to 150 because you think that only being able to hold 50 is a little small. change the value '50' to '150'.
The only problem with this is that the higher the value is, the longer the server takes to load up.
Here is a list of the MAX titles if you don't understand them;

MAX_PLAYERS=( I think its the max players your server holds.)
MAX_ITEMS=(Maximum items you can create with F1.)
MAX_NPCS=(Maximum NPCs you can create with F1.)
MAX_SHOPS=(Maximum shops you can create with F1.)
MAX_SPELLS=(Maximum spells you can create with F1.)
MAX_MAPS=(Maximum maps you can create with F1.)
MAX_MAP_ITEMS=(I think its the maximum items a map can have lying around on it.)
MAX_GUILDS=(Max guilds you can make I think.)
MAX_GUILD_MEMBERS=(Maximum guild members your guild can hold.)
MAX_EMOTICONS=(Don't bother with this one.)
MAX_ELEMENTS=(Maximum elements you can create with F1.)
MAX_LEVEL=(Maximum level any player can get to.
MAX_PARTY_MEMBERS=(Maximum members you can hold in your paty.)
MAX_SCRIPTSPELLS=(Maximum number of scripted spells you can have.)

ALSO, you can change the name of the stats by changing the name value of the stats just above the title '[MAX]',
where it sais: stat1=, stat2=, stat3=, etc.

  FOR CLASS:

In the folder 'Server', click on the folder 'Classes'.
Then, click on 'Class0'. Now, you can either keep this class as it is, or you can change the class.

-For keeping it as it is:
Don't open the file, just right click, then click copy. After that, then just right click anywhere in the folder and click paste!
But once you do that, then you have to rename it to 'Class1', then 'Class2', then 'Class3', and so on. MAKE SURE YOU DON'T SKIP ANY NUMBERS!!! What you don't want is something like this:

Class0
Class1
Class3
Class7
Class4

Also, make sure you have them in order, starting from least to greatest.

-For changine the class.
You have to do this for every class, so read this carefully.
Inside the file, it looks like this:

[CLASS]
Name=Test Class
MaleSprite=0
FemaleSprite=0
Desc=This is a test class.
STR=0
DEF=0
SPEED=0
MAGI=0
MAP=1
X=0

  Now, heres what each command means:

[CLASS]
Name=(Name of class.)
MaleSprite=(Value of the sprite your using.)
FemaleSprite=(Value of the sprite your using.)
Desc=(Viewed description.)
STR=(STR you start with.)
DEF=(DEF you start with.)
SPEED=(SPEED you start with.)
MAGI=(MAGIC you start with.)
MAP=(Value of the map you start in.)
X=(X location value for where you start out in in the map.
Y=(Y location value for where you start out in in the map.)
Locked=(I don't know, but don't fiddle with it.)

Well, thats pretty much it, unless you want new sprites :)
for a tutorial on that, you can read this:
http://www.touchofdeathforums.com/smf/index.php?topic=30247.0
Its not mine.
Thats it, you go and have fun editing :)

  EDIT:
A good way to find out sprite values is to do the following:
You must be an owner or an admin of the game.
Then, go into NPC maker.
There is a bar right below the viewed sprite.
Change the sprite size from 32x32 to 64x32(or maybe its 64x64, I don't remember).
Then, scroll through the bar untill you see a sprite you like.
The bar will have a value somewhere around it(again, i forget it its at the top, the bottom, the left, or the right.)
That value is the sprite value.
Link to comment
Share on other sites

Max Scripted Spells is the maximum amount of scripted spells you can have.

In detail, it's the amount of cases you can have under Sub ScriptedSpells. If you have 31 cases and only a max of 30 under data.ini the server will return a Subscript out of range error.
Link to comment
Share on other sites

  • 5 months later...
Nice tutorial, but one thing you missed.
At the classes you wrote: " Locked=(I don't know, but don't fiddle with it.) "
If you put 1 by Locked, that means noone can select that class when creating a new character.
Everything else is pretty much OK  ;)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...