battlecode.common.GameActionException: This robot has weapon delay and cannot attack. 1.0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kazimuth
, 10 months ago
This robot has weapon delay and cannot attack. 1.0
battlecode.common.GameActionException: This robot has weapon delay and cannot attack. 1.0
at battlecode.world.RobotControllerImpl.assertIsWeaponReady(RobotControllerImpl.java:363)
at battlecode.world.RobotControllerImpl.attackLocation(RobotControllerImpl.java:387)
at ZombiePlayer.ZombiePlayer.run(ZombiePlayer.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at battlecode.engine.RobotRunnable.run(RobotRunnable.java:66)
at battlecode.engine.scheduler.ScheduledRunnable.run(ScheduledRunnable.java:34)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.