From: Hendrik B. <nh...@us...> - 2009-11-01 15:36:31
|
Update of /cvsroot/arianne/jmapacman/games/mapacman/server In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12979/games/mapacman/server Modified Files: MaPacmancreateaccount.java Log Message: printout the result of the account and character creation Index: MaPacmancreateaccount.java =================================================================== RCS file: /cvsroot/arianne/jmapacman/games/mapacman/server/MaPacmancreateaccount.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MaPacmancreateaccount.java 1 Nov 2009 15:34:35 -0000 1.6 --- MaPacmancreateaccount.java 1 Nov 2009 15:36:23 -0000 1.7 *************** *** 1,4 **** --- 1,5 ---- package games.mapacman.server; + import marauroa.common.Log4J; import marauroa.common.game.RPObject; import marauroa.server.game.db.DatabaseFactory; *************** *** 7,16 **** public class MaPacmancreateaccount { public static void main(String[] args) { ! new DatabaseFactory().initializeDatabase(); IRPRuleProcessor rule = MaPacmanRPRuleProcessor.get(); ! rule.createAccount("test1", "test1", "te...@ma..."); ! rule.createCharacter("test1", "char1", new RPObject()); } } \ No newline at end of file --- 8,17 ---- public class MaPacmancreateaccount { public static void main(String[] args) { ! Log4J.init(); new DatabaseFactory().initializeDatabase(); IRPRuleProcessor rule = MaPacmanRPRuleProcessor.get(); ! System.out.println(rule.createAccount("test1", "test1", "te...@ma...")); ! System.out.println(rule.createCharacter("test1", "char1", new RPObject())); } } \ No newline at end of file |