[Pogamut-list] Paths through arbitrary locations

jacob.schrum pogamut-forum at diana.ms.mff.cuni.cz
Thu May 19 17:28:33 CEST 2011


Paths through arbitrary locations

Author: jacob.schrum

I'm trying to use the path executor to follow a path through a list of arbitrary Locations.
These Locations are not necessarily near navpoints, but the List it ordered in such a way that
sequential Locations are close enough to each other that they should be reachable.
These paths are based on data collected from human players, and I would like to replay
the Location sequence.

However, the path executor seems to be throwing a fit. Here's the error:

{CODE()}
FatalErrorEvent[
    Component:  UT2004SyncLockableWorldView
    Message:    Exception raising event InfoMessage[EndMessage] | Time = 6734.2 | 
    Cause:      class cz.cuni.amis.utils.exception.PogamutException: cz.cuni.amis.pogamut.ut2004.agent.navigation.loquenavigator.LoqueNavigator at 17892d5: Can't navigate as the current path element index is out of path range (index = -1, path.size() = 108. (at cz.cuni.amis.pogamut.ut2004.agent.navigation.AbstractUT2004PathNavigator.navigate(AbstractUT2004PathNavigator.java:54))
    Stacktrace:        cz.cuni.amis.pogamut.base.component.controller.ComponentController.fatalError(ComponentController.java:518)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.raiseEvent(EventDrivenWorldView.java:105)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.innerNotify(EventDrivenWorldView.java:127)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.notify(EventDrivenWorldView.java:224)
        cz.cuni.amis.pogamut.base3d.worldview.impl.BatchAwareWorldView.notify(BatchAwareWorldView.java:89)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.processBatch(UT2004SyncLockableWorldView.java:207)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.processBatches(UT2004SyncLockableWorldView.java:190)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.unlock(UT2004SyncLockableWorldView.java:167)
        cz.cuni.amis.pogamut.ut2004.agent.module.logic.SyncUT2004BotLogic.afterLogicException(SyncUT2004BotLogic.java:92)
        cz.cuni.amis.pogamut.base.agent.module.LogicModule$LogicRunner.run(LogicModule.java:420)
        java.lang.Thread.run(Thread.java:619)
    Caused by:         cz.cuni.amis.pogamut.ut2004.agent.navigation.AbstractUT2004PathNavigator.navigate(AbstractUT2004PathNavigator.java:54)
        cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutor.navigate(UT2004PathExecutor.java:172)
        cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutor.eventEndMessage(UT2004PathExecutor.java:155)
        cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutor$2.notify(UT2004PathExecutor.java:47)
        cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutor$2.notify(UT2004PathExecutor.java:44)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView$ListenerNotifier.notify(AbstractWorldView.java:99)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView$ListenerNotifier.notify(AbstractWorldView.java:78)
        cz.cuni.amis.utils.listener.Listeners.notify(Listeners.java:274)
        cz.cuni.amis.utils.listener.ListenersMap.notify(ListenersMap.java:76)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.notifyLevelAListeners(AbstractWorldView.java:639)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.innerRaiseEvent(AbstractWorldView.java:710)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.raiseEvent(AbstractWorldView.java:614)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.raiseEvent(EventDrivenWorldView.java:103)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.innerNotify(EventDrivenWorldView.java:127)
        cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.notify(EventDrivenWorldView.java:224)
        cz.cuni.amis.pogamut.base3d.worldview.impl.BatchAwareWorldView.notify(BatchAwareWorldView.java:89)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.processBatch(UT2004SyncLockableWorldView.java:207)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.processBatches(UT2004SyncLockableWorldView.java:190)
        cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.unlock(UT2004SyncLockableWorldView.java:167)
        cz.cuni.amis.pogamut.ut2004.agent.module.logic.SyncUT2004BotLogic.afterLogicException(SyncUT2004BotLogic.java:92)
        cz.cuni.amis.pogamut.base.agent.module.LogicModule$LogicRunner.run(LogicModule.java:420)
        java.lang.Thread.run(Thread.java:619)
]
{CODE}

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_parentId=766#form>





More information about the Pogamut-list mailing list