TibiCAM
Advanced OT User
- Joined
- Feb 3, 2020
- Messages
- 139
- Reaction score
- 198
Hello,
Since I'm not good at programming and wanted to practice some, I made a tool that will extract all the spawns from CipSoft's "monster.db" file and output it as XML.
Few of those spawns for some reason just wouldn't get parsed so need to just manually edit their offsets.
Any monster with error has the X and Y offsets "99". So just search: x = "99" and y = "99" to find those.
If the tile contains a blocked item ID it will try to place the monster on the next tile.
All monsters are added counter-clockwise. Maybe it's accurate, maybe not. This project was just to practice my programming.
It also include function to see how many monsters should be added to the output file.
Use however you wish.
Files needed in same directory:
Source: joekaizen/tibia-monster-db-extract (https://github.com/joekaizen/tibia-monster-db-extract)
Compiled: attached below and here: joekaizen/tibia-monster-db-extract (https://github.com/joekaizen/tibia-monster-db-extract/releases/tag/1.0)
You can customize it however you want, for example in line 101 you can maybe do a check if the "spawn.Monster" is a 7.4 monster specifically or something, to exclude 7.72 monsters.
Since I'm not good at programming and wanted to practice some, I made a tool that will extract all the spawns from CipSoft's "monster.db" file and output it as XML.
Few of those spawns for some reason just wouldn't get parsed so need to just manually edit their offsets.
Any monster with error has the X and Y offsets "99". So just search: x = "99" and y = "99" to find those.
If the tile contains a blocked item ID it will try to place the monster on the next tile.
All monsters are added counter-clockwise. Maybe it's accurate, maybe not. This project was just to practice my programming.
It also include function to see how many monsters should be added to the output file.
Use however you wish.
Files needed in same directory:
- monster.db
- the entire "origmap" directory (with sector map files)
Source: joekaizen/tibia-monster-db-extract (https://github.com/joekaizen/tibia-monster-db-extract)
Compiled: attached below and here: joekaizen/tibia-monster-db-extract (https://github.com/joekaizen/tibia-monster-db-extract/releases/tag/1.0)
You can customize it however you want, for example in line 101 you can maybe do a check if the "spawn.Monster" is a 7.4 monster specifically or something, to exclude 7.72 monsters.
Attachments
-
tibia-monsterdb-extract.zip92.8 KB · Views: 78 · VirusTotal