Examples of ZoneGroupsXMLLoader


Examples of games.stendhal.server.core.config.ZoneGroupsXMLLoader

        // initialise TransactionPool
      new DatabaseFactory().initializeDatabase();

      try {
        // load zone configurations to register creature names
        new ZoneGroupsXMLLoader(new URI("/data/conf/zones.xml")).load();
      } catch (Exception e) {
        logger.warn("unable to load zones", e);
      }

      // Initialise quests
View Full Code Here

Examples of games.stendhal.server.core.config.ZoneGroupsXMLLoader

import org.xml.sax.SAXException;

public class GenerateMonsterUsage {
  public static void main(final String[] args) throws URISyntaxException,
      SAXException, IOException {
    final ZoneGroupsXMLLoader loader = new ZoneGroupsXMLLoader(new URI(
        "/data/conf/zones.xml"));
    loader.load();

    final Map<String, Integer> count = new HashMap<String, Integer>();

    final CreatureGroupsXMLLoader creatureLoader = new CreatureGroupsXMLLoader("/data/conf/creatures.xml");
    final List<DefaultCreature> creatures = creatureLoader.load();
View Full Code Here

Examples of games.stendhal.server.core.config.ZoneGroupsXMLLoader

      // create the pathfinder thread and start it
      // pathfinderThread = new PathfinderThread(this);
      // pathfinderThread.start();

      final ZoneGroupsXMLLoader loader = new ZoneGroupsXMLLoader(new URI(
          "/data/conf/zones.xml"));

      loader.load();

      validatePortals();
      SingletonRepository.getAchievementNotifier().initialize();
      SingletonRepository.getGagManager();
      SingletonRepository.getJail();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.