Loading...
 

PogamutUT2004


Installation problem

I am trying to install pogamut-3-install-small.jar and after confirming "packs I want to install" the following exception is thrown:
"could not create shortcut instance"
"java.lang.Exception: error loading library
java.lang.Exception: can't locate library
at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Unknown Source)
at com.izforge.izpack.util.Librarian.loadLibrary(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.initialize(Unknown Source)
.......................

"
I am using Win 7 64bit and JDK 1.6.0_19.
Thank you for any idea.

Lukas
Finally, I solved the problem by reinstalling JDK. But after starting server and connecting in NetBeans, the compilation of Empty Bot failed with following exception:

PogamutJMXException[UT2004BotEmptyBot1: Error seting up JMX name of the agent. (caused by: Error during JMX initialization.)]
at cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot.initCommandRequested(UT2004Bot.java:258)
.....
Exception in thread "main" ComponentCantStartException[UT2004BotEmptyBot1: Can't start Probably game server is not running, or bad address. (caused by: BusAwareCountDownLatch: Interrupted because bus was stopped (fatal error, or watched component stopped) while waiting on the latch.)]
ComponentCantStartException[UT2004BotEmptyBot1: Can't start Probably game server is not running, or bad address. (caused by: BusAwareCountDownLatch: Interrupted because bus was stopped (fatal error, or watched component stopped) while waiting on the latch.)]

But game server is running and NetBeans client seems to be connected properly.

Any idea would be very helpful.
How did you initialize the server ? Did you run a dedicated server by a console command, or a server through UT2004 GUI? Do you use a firewall? A firewall might be blocking Java to connect to localhost.
Also check the ports that are used for bot connections. The ports are pasted in a server console window when the server is completely initialized. Default prots are 3000 for bot connection and 3001 for control connection.

This is probably caused either by server not initialized properly or a firewall setting preventing the connection.

best,
michal
Thank you for your response. But I am sorry for not describing the problem properly. I am following the tutorial which means I run startGamebotsDMServer.bat in System directory which outputs: "...BotServerPort: 3000, ControlServerPort 3001... START MATCH...."

After connecting to ut://127.0.0.1:3001 in NetBeans, I started UT2004 GUI and typed "open 127.0.0.1" which succeeded and in the map in NetBeans the Player showed up. IMO this is the evidence of network communication between server and NetBeans client.

I am also able to "Connect Native Bot" but unable to connect "Pogamut bots" because of the run-time error mentioned above. Even though it seems that JRE and server are somehow communicating, I stopped the firewall but it didn't help. Maybe some internal Windows 7 application is causing the problem.

greetings, Lukas

Is there any way how to parametrize the server to be listening at different ports? This could help.
Oh, I just noticed the problem of setting different than default ports has been solved in this forum. However, this also did not help.
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.