External Services and Tools/API Documentation
< External Services and Tools
Jump to navigation
Jump to search
Revision as of 14:24, 25 March 2009 by Tom (talk | contribs) (New page: All scripts are located at ''<nowiki>http://battlemaster.org/data/</nowiki>''. So, for example, to get the region data of Akesh Temple, you would access the URL http://battlemaster.org...)
All scripts are located at http://battlemaster.org/data/. So, for example, to get the region data of Akesh Temple, you would access the URL http://battlemaster.org/data/region.php?World=1&ID=1.
region.php
Parameters:
- World
- Game world ID you access, see #World IDs
- ID
- ID number of the region in question. You can find this for example by examining the URL of the "Details" link on the Region List page, or (if the page is already set up correctly) on the region's page here in the wiki.
Output:
<regiondata> <continent>East Continent</continent> <name>Akesh Temple</name> <type>Stronghold</type> <area>South Highlands</area> <population>3900</population> <economy>Stoneworks, Administration</economy> <realm>Caligus</realm> <duchy>Akesh Temple</duchy> <lord>Arak</lord> </regiondata>
Additional Information
World IDs
The various game worlds of BattleMaster are internally accessed through ID numbers. Here is the mapping:
- 1
- East Island
- 2
- Atamara
- 4
- Beluaterra
- 6
- Colonies
- 7
- Far East
- 8
- Dwilight
Yes, 3 and 5 are missing. They used to be the IDs of South-West and South-East Island.