Package marauroa.server.game.db

Examples of marauroa.server.game.db.DatabaseFactory


 
  @BeforeClass
  public static void beforeClass() {
    Log4J.init();
    MockStendlRPWorld.get();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here


    MockStendlRPWorld.get();
    PlayerTestHelper.generateNPCRPClasses();
    PlayerTestHelper.generatePlayerRPClasses();
    CreatureTestHelper.generateRPClasses();
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

public class PlayerModifierTest {

  @BeforeClass
  public static void setUp() throws Exception {
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

  private static StendhalRPZone zone;
 
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    MockStendlRPWorld.get();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

   *            ignored
   * @throws Exception
   *             in case of an unexpected item
   */
  public static void main(final String[] args) throws Exception {
    new DatabaseFactory().initializeDatabase()
    SingletonRepository.getRPWorld();
    Configuration.setConfigurationFile("marauroa-prod.ini");
    final AgeDumper itemDumper = new AgeDumper();
    itemDumper.dump();
  }
View Full Code Here

   *            ignored
   * @throws Exception
   *             in case of an unexpected item
   */
  public static void main(final String[] args) throws Exception {
    new DatabaseFactory().initializeDatabase()
    SingletonRepository.getRPWorld();
    //Configuration.setConfigurationFile("marauroa-prod.ini");
    final ItemDumper itemDumper = new ItemDumper();
    itemDumper.dump();
  }
View Full Code Here

   *
   * @param args
   */
  public static void main(final String[] args) {
    Log4J.init();
    new DatabaseFactory().initializeDatabase()
    String timedate = "1900-01-01";
    if (args.length > 0) {
      timedate = args[0];
    }
    final Analyser analyser = new Analyser();
View Full Code Here

  private final List<String> creatures=quest.creatures;
 
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    PlayerTestHelper.generateNPCRPClasses();
    new DatabaseFactory().initializeDatabase();
    npc = new SpeakerNPC("maerion");
    npcEngine = npc.getEngine();
    SingletonRepository.getNPCList().add(npc);
    final StendhalRPZone zone = new StendhalRPZone("int_semos_guard_house");
    final StendhalRPWorld world = MockStendlRPWorld.get();
View Full Code Here

  private static final String ZONE_NAME = "testzone";

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
    MockStendhalRPRuleProcessor.get();

    MockStendlRPWorld.get();

    setupZone(ZONE_NAME, new HousewifeNPC());
View Full Code Here

  /**
   * creates a new MarboardRuleProcessor
   */
  private MarboardRuleProcessor() {
    new DatabaseFactory().initializeDatabase();
    transactionPool = TransactionPool.get();
    world = MarboardWorld.get();
    users = new LinkedList<RPObject>();
    actionFactory = new ActionFactory();
    actionFactory.register();
View Full Code Here

TOP

Related Classes of marauroa.server.game.db.DatabaseFactory

Copyright © 2018 www.massapicom. 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.