Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

GravBomber !skip crashes module #107

Open
connermcd opened this issue Feb 6, 2016 · 0 comments
Open

GravBomber !skip crashes module #107

connermcd opened this issue Feb 6, 2016 · 0 comments

Comments

@connermcd
Copy link

Trac Ticket #1215 new defect

Reported by: Shadowmere
Owned by:
Component: Bots - Multibot
Priority: normal
Severity: minor

Description:

There's two ways that it crashes the module:

  1. If game hasn't !started
  2. If game has been !stopped
    and you use !skip

With 1) it just gives a string of:

4:RoboBot> Error in module: GravBomber when handling a twcore.core.events.Message event:null
4:RoboBot> Stack Trace:
4:RoboBot> twcore.bots.multibot.gravbomber.gravbomber.handleCommand(Unknown Source)
4:RoboBot> twcore.bots.multibot.gravbomber.gravbomber.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.MultiModule.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.multibot.multibot.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.multibot.multibot.handleEvent(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.handleChatMessage(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateNormalPacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateGamePacket(Unknown Source)
4:RoboBot> twcore.core.net.ReliablePacketHandler.handleReliableMessage(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateSpecialPacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateGamePacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateSpecialPacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateGamePacket(Unknown Source)
4:RoboBot> twcore.core.Session.run(Unknown Source)
4:RoboBot> Event Module unloaded due to exception. See log for details.

With 2) it will say

"YoMama!!!'s turn has ended. Points awarded for damage this turn: 0"

4:RoboBot> Error in module: GravBomber when handling a twcore.core.events.Message event:null
4:RoboBot> Stack Trace:
4:RoboBot> twcore.bots.multibot.gravbomber.gravbomber.endTurn(Unknown Source)
4:RoboBot> twcore.bots.multibot.gravbomber.gravbomber.handleCommand(Unknown Source)
4:RoboBot> twcore.bots.multibot.gravbomber.gravbomber.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.MultiModule.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.multibot.multibot.handleEvent(Unknown Source)
4:RoboBot> twcore.bots.multibot.multibot.handleEvent(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.handleChatMessage(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateNormalPacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateGamePacket(Unknown Source)
4:RoboBot> twcore.core.net.ReliablePacketHandler.handleReliableMessage(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateSpecialPacket(Unknown Source)
4:RoboBot> twcore.core.net.GamePacketInterpreter.translateGamePacket(Unknown Source)
4:RoboBot> twcore.core.Session.run(Unknown Source)
4:RoboBot> Event Module unloaded due to exception. See log for details.

If a game is !started and !skip used, it works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant