#5316 [Stendhal] ArrayIndexOutOfBounds in getKilledCreaturesNumber

open
yoriy
Code (550)
5
2011-10-25
2011-10-24
No

2011-10-24 14:11:38 ERROR [verManager] StendhalRPRuleProcessor ( 293) - error in beginTurn
java.lang.ArrayIndexOutOfBoundsException: 58
at java.util.Arrays$ArrayList.get(Arrays.java:3381)
at games.stendhal.server.maps.quests.KillEnemyArmy.getKilledCreaturesNumber(KillEnemyArmy.java:263)
at games.stendhal.server.maps.quests.KillEnemyArmy.access$000(KillEnemyArmy.java:76)
at games.stendhal.server.maps.quests.KillEnemyArmy$ExplainAction.fire(KillEnemyArmy.java:356)
at games.stendhal.server.entity.npc.fsm.Engine.executeTransition(Engine.java:475)
at games.stendhal.server.entity.npc.fsm.Engine.matchTransition(Engine.java:440)
at games.stendhal.server.entity.npc.fsm.Engine.step(Engine.java:314)
at games.stendhal.server.entity.npc.fsm.Engine.step(Engine.java:296)
at games.stendhal.server.entity.npc.SpeakerNPC.tell(SpeakerNPC.java:641)
at games.stendhal.server.entity.npc.SpeakerNPC.preLogic(SpeakerNPC.java:404)
at games.stendhal.server.core.engine.StendhalRPRuleProcessor.executeNPCsPreLogic(StendhalRPRuleProcessor.java:334)
at games.stendhal.server.core.engine.StendhalRPRuleProcessor.beginTurn(StendhalRPRuleProcessor.java:291)
at marauroa.server.game.rp.RPServerManager.run(RPServerManager.java:582)

2011-10-24 14:12:00 ERROR [verManager] CommandCenter ( 152) Player [kaniii, -1138685327] Attributes of Class(): [zoneid=int_mithrilbourgh_throne_room][item=Kill Enemy Army][sourceid=60][progress_type=Open Quests][type=progressstatus]- Cannot execute action Attributes of Class(): [zoneid=int_mithrilbourgh_throne_room][item=Kill Enemy Army][sourceid=60][progress_type=Open Quests][type=progressstatus] send by Player [kaniii, -1138685327]
java.lang.ArrayIndexOutOfBoundsException: 58
at java.util.Arrays$ArrayList.get(Arrays.java:3381)
at games.stendhal.server.maps.quests.KillEnemyArmy.getKilledCreaturesNumber(KillEnemyArmy.java:263)
at games.stendhal.server.maps.quests.KillEnemyArmy.getHistory(KillEnemyArmy.java:508)
at games.stendhal.server.core.rp.StendhalQuestSystem.getQuestProgressDetails(StendhalQuestSystem.java:386)
at games.stendhal.server.actions.query.ProgressStatusQueryAction.sendDetails(ProgressStatusQueryAction.java:100)
at games.stendhal.server.actions.query.ProgressStatusQueryAction.onAction(ProgressStatusQueryAction.java:55)
at games.stendhal.server.actions.CommandCenter.execute(CommandCenter.java:143)
at games.stendhal.server.core.engine.StendhalRPRuleProcessor.execute(StendhalRPRuleProcessor.java:255)
at marauroa.server.game.rp.RPScheduler.visit(RPScheduler.java:118)
at marauroa.server.game.rp.RPServerManager.run(RPServerManager.java:557)

kill_enemy_army: start;madaram;madaram healer,0,0,3,0,madaram buster blader,0,0,0,0,madaram stalker,0,0,0,0,madaram queen,0,0,8,0,madaram axeman,0,0,4,0,madaram trooper,0,0,0,0,madaram peasant,0,0,0,0,madaram soldier,0,0,0,0,madaram cavalry,0,0,0,0,kasarkutominubat,0,0,4,0,madaram hero,0,0,5,0

Discussion

  • Katie Russell

    Katie Russell - 2011-10-25

    1:33 < kymara> I remember madaram archer got added to the list of creatures
    to kill, in the last release
    11:33 < kymara> perhaps that cause sa problem for this player, who had
    started the quest before that release, and so he hadn't been
    asked to kill the archers?
    11:33 < kymara> maybe it will still be looking for how many archers that
    player killed

     
  • yoriy

    yoriy - 2011-10-25
    • labels: --> Code
    • assigned_to: nobody --> yoriy
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks