Loading...
 

PogamutUT2004


You are viewing a reply to Weapons in pogamut3  

Re: Weapons in pogamut3

I have another promblem now. When I change weapon ( weaponry.changeWeapon(ItemType.FLAK_CANNON); ), it change weapon to flak cannon, but it fails with error:

(GoalBot1) SEVERE 12:54:52.685 Fatal error in WorldView113: Exception raising event InfoMessageWeaponUpdate | Id = DM-Trainingday.AssaultRifle | PrimaryAmmo = 100 | SecondaryAmmo = 4 |
(GoalBot1) SEVERE 12:54:52.687 Fatal error happenned - component bus is stopping.
FatalErrorEvent[
Component=UT2004SyncLockableWorldView
Message=Exception raising event InfoMessageWeaponUpdate | Id = DM-Trainingday.AssaultRifle | PrimaryAmmo = 100 | SecondaryAmmo = 4 |
Cause=java.lang.NullPointerException
Cause stacktrace:
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry$WeaponUpdateListener.notify(Weaponry.java:839)
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry$WeaponUpdateListener.notify(Weaponry.java:834)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView$ListenerNotifier.notify(AbstractWorldView.java:98)
...


Thanks a lot for helping me.
Tomas
Hi Martin!

Unfortunately even EmptyBot example now using modules that are preinstantiated in UT2004BotModuleController (hope you don't reinstantiate them :-)).

Anyway that bug should not appear in 3.0.8 that is true. Have you tried to change the map?

Best,
Jimmy
 

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.