Understanding the MonsterSetBase.txt and Monster.txt

Page 1 of 2 12 LastLast
Results 1 to 25 of 30
  1. #1
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Understanding the MonsterSetBase.txt and Monster.txt

    I know this has been posted before, but I thought I'd make it a little more detailed.
    _____________________________________________________________________________

    So, you want to know how to add spawns to your server and edit the monster's attributes? All the information you need is in this thread.

    Understanding the Monster Set Base

    Well first off, lets break down the code of a spawn thats in every server, the Lorencia Wizard Shop spawn.

    Code:
    254    0    0    118    113    3 // Wizard Pasi => Lorencia

    254
    - This number represents the monster ID number in the monster.txt. If you open the monster.txt, you'll find Pasi indexed as number 254.
    Code:
    253    1    "PotionGirl"            2    50        0    15    30    70    20    10    30    0    0    0    5    400    1500    10    0    200    10    0    0    0    0    0    0
    254    1    "WizardPasi"            2    50        0    15    30    70    20    10    30    0    0    0    5    400    1500    10    0    200    10    0    0    0    0    0    0
    255    1    "BarmaidLiaman"            2    50        0    15    30    70    20    10    30    0    0    0    5    400    1500    10    0    200    10    0    0    0    0    0    0
    This is how you find out which number you should put here.

    ---

    The next number, 0, tells us which map we are going to spawn the monster in. Since we're spawning Wizard Pasi in Lorencia, we should use the number "0". Here is a list of all the map numbers (excluding the newer maps).
    Code:
    0 = lorencia
     1 = dungeon
     2 = devias
     3 = noria
     4 = losttower 
     6 = Arena
     7 = Atlans
     8 = Tarkan
     9 = Devil Square 
     10 = Icarus
     11 = Blood Castle I
     12 = Blood Castle II
     13 = Blood Castle III
     14 = Blood Castle IV
     15 = Blood Castle V
     16 = Blood Castle VI
    So, if we wanted to spawn our little Pasi in Devias, we would use the number 2 instead of 0.

    ---

    The third number, 0, tells us how the monster is going to move. Since we don't want Pasi to move, we put 0 here. If we wanted him to move around, we would put a 20 or 30 here.

    --

    The fourth number, 118, tells us the X coordinate of where on the map he is going to spawn. To find out this number, look in the bottom left part of the screen while in-game. The first number is the X, and the second number is the Y.

    --

    The fifth number, 113, tells us the Y coordinate of where on the map Pasi is going to spawn. Again, to find out this number, look in the bottom left part of the screen. The second number is the Y coordinate.

    --

    The sixth and last number, 3, tells us which direction the monster is going to face. Here is a diagram of which numbers make the monsters face which direction.
    Code:
        7  6  5            NW  N  NE
        8     4            W         E
        9  2  3            SW  S  SE
    So if we wanted to make Pasi face North instead of south, we would put a 6 instead of a 2.

    --

    Adding even more spawns.

    Now when adding spawns, what happens when we add a lot of lines to the monster set base? Oops! We get a 4200 (255) error. It means that there are too many lines in the monster set base for the GameServer to load. How do we fix this? Well we do it like this;

    Code:
      125  6  20  21   116   23  110   -1   20
    What does this line mean exactly? Well once again lets break it down!

    125 - This is the index number for the Blood Castle 6 Orc Warrior. If you look in the monster.txt, you'll find this;
    Code:
    124    1    "SpiritSorcerer5"        90    32000    0    400    460    450    0    720    260    4    150    4    6    400    1800    10    2    150    50    4    0    8    8    8    8
    125    1    "OrcWarrior6"            76    17000    0    260    290    210    0    460    150    3    0    1    3    400    2000    10    2    300    200    3    0    6    6    6    6
    126    1    "OrcArcher6"            81    20000    0    320    350    270    0    520    160    3    0    5    7    400    1600    10    2    300    200    3    0    6    6    6    6
    --

    6 - This is the map number we're spawning the orcs on. Since we spawning the orcs in the stadium, we use the number 6.

    --

    20 - This is how the orcs are going to move. Since they are monsters and we want them to move around, we put a 20 here.

    --

    21 - This is the first X coordinate. What do I mean by the first X coordinate? We'll get to that in a second.

    --

    116 - This is the first Y coordinate.

    --


    23 - This is the second X coordinate. Now heres where the trick comes in. We use two sets of coordinates because we're going to spawn the orcs in a set range of coordinates. This spreads the orcs out and allows us to add more in one area so they won't stack on top of each other and be unable to move.

    --

    110 - This is the second Y coordinate.

    --

    -1 - Heres a new number type, a negative. What does this mean? It means when the monster spawns, it will be facing in a random direction instead of a set direction.

    --

    20 - Heres the last new value on the line. This number tells us how many orcs are going to spawn in the area. We are spawning 20 orcs, so we put 20 here. If we wanted to spawn 50 orcs, we would put a 50 here.

    Line Types

    See that number before all of the spawns in the monster set base? Well that tells us how the line types are going to be handled. Heres a list.
    Code:
    0 - type mapnumber distance x y dir
    2 - type mapnumber distance x y dir (Better used for single spots)
    3 - type mapnumber distance x y dir total (can handle 2 x and 2 y coords - used to spawn all the way between those coords)
       - type mapnumber distance x1 y1 x2 y2 dir total
    4 - type mapnumber distance x y dir (Better used for NPC only)
    Example;
    Code:
    1
    3    0    30    180    90    226    244    -1    45 // Spider => Lorencia
    2    0    30    180    90    226    244    -1    40 // Budge Dragon => Lorencia
    2    0    30    135    20    240    88    -1    20 // Budge Dragon => Lorencia
    0    0    30    135    20    240    88    -1    45 // Bull Fighter => Lorencia
    6    0    30    95    168    175    244    -1    20 // Lich => Lorencia
    14    0    30    95    168    175    244    -1    15 // Skeleton Warrior => Lorencia
    14    0    30    134    212    144    224    -1    30// Skeleton Warrior => Lorencia
    1    0    30    8    11    94    244    -1    45 // Hound => Lorencia
    4    0    30    8    11    94    244    -1    45 // Elite Bull Fighter => Lorencia
    7    0    30    8    11    60    80    -1    15 // Giant => Lorencia
    end
    The number at the top tells the GameServer how the line is going to be handled, and the END statement at the end of the list tells the GameServer that the line is over and gets the GameServer ready to load the next line.
    _______________________________________

    Understanding the Monster.txt

    So you open up the monster.txt and all you see is a bunch of numbers. What do these mean? Lets break it down! I'll only be telling you what the first few numbers are.

    Code:
    1    1    "Hound"   9    140
    1 - The first number, as we went over earlier, tells us the ID number of the monster. This is the number we need to use when adding the spawns to the monster set base.

    --

    1 - This next number I have no clue what it means. Every line in the monster.txt has a one here, so theres nothing much to edit here.

    --

    "Hound" - This is the name of the monster on the line.

    --

    9 - This is the monster's level. The reason you would want to edit this is to edit how much experience the monster will give. The higher level the monster, the more experience you'll get. The level doesn't affect the other stats in any way.

    --

    140 - This is how much hit points the monster will have.
    ______________________________________________________________

    Credits

    ppsito80 - Information on adding more than one monster on one line.
    enXio - Map ID number list.
    iod - The direction numbers.
    Ron - Compiling the guide.
    Last edited by Ron; 13-02-07 at 04:35 AM.


  2. #2
    Ytys Vynsan is offline
    MemberRank
    Aug 2006 Join Date
    EnglandLocation
    842Posts
    ..... you dont understand the monster.txt ;)

  3. #3
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts
    Quote Originally Posted by Ytys Vynsan View Post
    ..... you dont understand the monster.txt ;)
    Just thought I'd throw something extra in there. I was pretty bored so..

  4. #4
    RZ's most loyal knight Dios is offline
    ModeratorRank
    Apr 2005 Join Date
    ArgentinaLocation
    5,241Posts
    Added to rz guide center

  5. #5
    Ytys Vynsan is offline
    MemberRank
    Aug 2006 Join Date
    EnglandLocation
    842Posts
    ^^, the guide is good ;)

  6. #6
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts
    Quote Originally Posted by Ytys Vynsan View Post
    ^^, the guide is good ;)
    Thanks. Planning on remaking a bunch of the guides to make them easier to understand.

  7. #7
    Alpha Member .YourName is offline
    MemberRank
    Jul 2005 Join Date
    magic mushroom landLocation
    1,970Posts
    Quote Originally Posted by Ron View Post
    Thanks. Planning on remaking a bunch of the guides to make them easier to understand.
    good idea?

    i can help you with this if you need it

    btw, awesome guide, its really easy to understand ;)

  8. #8
    Valued Member scudz69 is offline
    MemberRank
    Apr 2006 Join Date
    P-I-L-I-P-I-N-A-SLocation
    106Posts
    Ron, can u upload here the monster.txt in english version like what u have in the upper part..thanks!

  9. #9
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts
    Quote Originally Posted by scudz69 View Post
    Ron, can u upload here the monster.txt in english version like what u have in the upper part..thanks!
    Sure, here you go!
    Attached Files Attached Files

  10. #10
    Account Upgraded | Title Enabled! ca_ale_16 is offline
    MemberRank
    May 2006 Join Date
    MONTEVIDEO URUGUAYLocation
    835Posts
    this is so old.... here i let u a tool MonsterFacil (easy monster)

  11. #11
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts
    Quote Originally Posted by ca_ale_16 View Post
    this is so old.... here i let u a tool MonsterFacil (easy monster)
    This isn't a guide on how to add spawns, this is a guide that helps you understand the monster set base. You should read a guide on understanding topic titles before posting.

  12. #12
    Account Upgraded | Title Enabled! ca_ale_16 is offline
    MemberRank
    May 2006 Join Date
    MONTEVIDEO URUGUAYLocation
    835Posts
    this guide is old man... that info comes with the monster.txt and monstersetbase.txt

  13. #13
    hmmm :D JaneX is offline
    MemberRank
    Jan 2005 Join Date
    918Posts
    good guide!! now i can put all the mobs in LORENCIA wahhehe! Maraming Salamat poh!! (THANK YOU VERY MUCH!!)

  14. #14
    Valued Member scudz69 is offline
    MemberRank
    Apr 2006 Join Date
    P-I-L-I-P-I-N-A-SLocation
    106Posts
    Quote Originally Posted by janex23 View Post
    good guide!! now i can put all the mobs in LORENCIA wahhehe! Maraming Salamat poh!! (THANK YOU VERY MUCH!!)
    youre a filipina, im a filipino too...im from mindanao...

    thanks RON!

  15. #15
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts
    Quote Originally Posted by ca_ale_16 View Post
    this guide is old man... that info comes with the monster.txt and monstersetbase.txt
    Once again, this isn't a guide on telling you how to add spawns. This is a guide that goes to helping you understand the server files better, finding out what exactly everything means. This can be used as a guide on how to add spawns yes, but it was meant to help you understand what the lines in the monster set base mean.

  16. #16
    Valued Member scudz69 is offline
    MemberRank
    Apr 2006 Join Date
    P-I-L-I-P-I-N-A-SLocation
    106Posts
    Quote Originally Posted by Ron View Post
    Once again, this isn't a guide on telling you how to add spawns. This is a guide that goes to helping you understand the server files better, finding out what exactly everything means. This can be used as a guide on how to add spawns yes, but it was meant to help you understand what the lines in the monster set base mean.
    i agree! and i rate this thread 100/10! this guide helped me a lot.. thank u ron! anyways, i hope u can give us guide in understanding item.txt and eventbag.txt..Ron, thanks for the english monster.txt..can u add item.txt in english translation? thanks!

  17. #17
    hmmm :D JaneX is offline
    MemberRank
    Jan 2005 Join Date
    918Posts
    me in mindanao also (cagayan de oro city)

    anyways i would like to thank again for a great great great guide!!!!

    it helps me a lot!!

    please make more guides...!!!

    more power!!!

    Salamat poh!!!

  18. #18
    Novice yakov123 is offline
    MemberRank
    Mar 2007 Join Date
    1Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    man i need your help,
    i have a MonsterSetBase and Monster files not at english i have at chnies or something
    how i can change it please answer fast

    sorry about the noob english Jackov:sweatdrop

  19. #19
    Real pro graywolf is offline
    MemberRank
    Mar 2004 Join Date
    Latvia // RigaLocation
    697Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    1 1 Hound . may be the second "1" means phisical boddies under 1 mob id? for example if it's 10 then when you'll put to spawn 1 hound, 10 will appear, but i'm not sure ^^. Just 1 of many ideas ^^

  20. #20
    Member ottdan is offline
    MemberRank
    Jun 2006 Join Date
    53Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    WOW, this is the best guid i never saw befor. Verry easy to understand for noobs or for begginers like me xD

    Thanks again bro and keep your great job!

  21. #21
    Enthusiast NoSnipeLimit is offline
    MemberRank
    Jul 2006 Join Date
    South AfricaLocation
    34Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    Lets try working the monster.txt file a bit ;)
    Index - The Monsters Number
    Rate - ?
    Name - Monsters Name
    Level - The Monsters Level
    HP - The Monsters Health Points
    MP - The Monsters Mana Points?
    DamMin - The Monsters Minimum Damage
    DamMax - The Monsters Maximum Damage
    Defence - The Monsters Defence Reage
    Magic - The Monsters Magical Skill?
    Attack - The Monsters Type of Attack?
    Success - The Monsters Success Rate of hitting yoU?
    MoveRg - The Monsters Regenerate amount while moving
    A.Type - ?
    A.Range - ?
    V.Range - ?
    MoveSP - The Monsters Move Speed
    A.Speed - ?
    RegTime - The Time The Monster will Regenerate
    Attrib - ?
    ItemRat - ?
    M.Rate - ?
    MaxItem - ?
    Skill - ?
    ? - ?
    ? - ?
    ? - ?

    We can use example poison bull...:

    Code:
    8	1	"Poison	Bull"	46	2500	0	145	150	75	0	230	61	3	0	1	5	400	1400	10	2	190	14	3	0	6	0	0	0
    If i have things incorrect sorry it's not my work, it's just a base to work from to make an understandable monster.txt

  22. #22
    Proficient Member mathiasdk is offline
    MemberRank
    Mar 2007 Join Date
    178Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    Nice guide here ;) its good.. Thx Ron

  23. #23
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,735Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    dam.. cant see where is that daaaaaaamnit thanks button

  24. #24
    Proficient Member harry428 is offline
    MemberRank
    Nov 2005 Join Date
    160Posts

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    nice guide helped me :) any one tell me how to change the points per levels im using seasons 4 Version 1.05T+ thanks

  25. #25

    Re: [Guide] Understanding the MonsterSetBase.txt and Monster.txt

    Quote Originally Posted by mauka View Post
    dam.. cant see where is that daaaaaaamnit thanks button

    its heart image
    on your right >> of the button xD



Page 1 of 2 12 LastLast

Advertisement