Category: Maps
Map Wizardry: Map Validation
Map validation is a simple process of using a piece of software to check your map(s) for (to the software) obvious problems.
These problems range from relatively minor -- such as suspicious attribute values like a mob with
dam 0 -- to ones which will definitely cause your map to not work as expected -- such as connected object in container -- to ones which will potentially cause the server to crash -- such as squares with no floor.
Gridarta has over 20 validators which can be individually toggled to highlight problems on the map you are currently editing.
The
Map Checker can check entire folders of maps for various problems.
Map validation is set in the map validation tab of the options window (File > Options).
Here you can turn on/off indivdual validators as well as the auto validator. The image below shows this window with the suggested settings. Click on a setting to go to the section which explains what that setting does an why it is suggested to turn it on or off.
Automatically run validation after each change
TODO
TODO
TODO
TODO
Completely blocked square
TODO
Connected object inside container
TODO
Pickable connected object
TODO
TODO
Suspicious attribute value
TODO
TODO
Two arches of the same type on the same square
TODO
Two objects within the same layer on the same square
TODO
TODO
TODO
TODO
TODO
TODO
Critical slaying characters
TODO
System object not on layer zero
TODO
TODO
TODO
TODO
TODO
Map Checker is a stand-alone Java program for batch checking mapfiles for errors. It is found in the Map Maker package (or SVN) under project_tools/mapchecker.
Using the program is simple. At the command line type:
java -jar jarfile/MapChecker.jar
(or in a GUI double-click on the file). Now simply enter the path to the directory you want to start the check at and a filename for the log (output) and click
Check Maps. I suggest you do not select 'Ignore missing floors' as this is a genuine (and very common) error.
Be aware that the program misses some errors entirely and can produce quite a lot of false positives too. But notwithstanding this it is quite useful.
There are no notes on this page. [Add note]