netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

'End Turn' button is not responding

Open rubyfell opened this issue 10 years ago • 4 comments

Using Chrome. After a turn or two End Turn button doesn't respond as expected. Console eventually shows that the turn ended, but the button is still highlighted and opponent states that he cannot start his turn.

Here's the output from the game:

ruby_fell keeps their hand.

ruby_fell hiya

eisentefel glhf no bugs

eisentefel hi eisentefel keeps their hand. eisentefel started their turn 1 with 10 and 5 cards in HQ. eisentefel spends to play Beanstalk Royalties. eisentefel spends to install a card in HQ. eisentefel spends to draw a card. eisentefel is ending their turn 1 with 13 and 5 cards in HQ. ruby_fell started their turn 1 with 5 and 5 cards in their Grip. ruby_fell spends and 5 to install Professional Contacts. ruby_fell spends to use Professional Contacts to gain 1 and draw 1 card. ruby_fell spends to use Professional Contacts to gain 1 and draw 1 card. ruby_fell spends and 2 to play Dirty Laundry. eisentefel has no further action. ruby_fell accesses 1 card. ruby_fell uses Dirty Laundry to gain 5 . ruby_fell is ending their turn 1 with 5 and 5 cards in their Grip. eisentefel started their turn 2 with 13 and 5 cards in HQ. eisentefel spends and 10 to play Restructure. eisentefel spends to install a card in New remote. eisentefel rezzes Jackson Howard. eisentefel spends to use Jackson Howard to draw 2 cards. eisentefel trashes a card from their HQ. eisentefel is ending their turn 2 with 18 and 5 cards in HQ. ruby_fell started their turn 2 with 5 and 5 cards in their Grip. ruby_fell spends to use Professional Contacts to gain 1 and draw 1 card. ruby_fell spends to use Professional Contacts to gain 1 and draw 1 card. ruby_fell spends and 5 to play Sure Gamble. ruby_fell spends to install Paricia. ruby_fell is ending their turn 2 with 11 and 5 cards in their Grip.

ruby_fell bug

eisentefel k

eisentefel gg ruby_fell is ending their turn 2 with 11 and 5 cards in their Grip. eisentefel left the game.

rubyfell avatar Dec 08 '15 18:12 rubyfell

This seems to fire when ending the turn with Daily Casts (and Liberated Accounts):

  1. New game
  2. Blow through Corp turn
  3. Start Runner turn
  4. Credit, Credit, Credit, Daily Casts (or Liberated Accounts)
  5. Hit "End Turn"

At this point we see the error:

Error  do end-turn nil #<NullPointerException java.lang.NullPointerException> 
Stack trace: [java.util.regex.Matcher.getTextLength(Matcher.java:1283), java.util.regex.Matcher.reset(Matcher.java:309), java.util.regex.Matcher.<init>(Matcher.java:229), java.util.regex.Pattern.matcher(Pattern.java:1093), clojure.core$re_matcher.invoke(core.clj:4460), clojure.core$re_find.invoke(core.clj:4512), game.core$end_turn.invoke(core.clj:1468), game.main$run$fn__5834.invoke(main.clj:67), game.main$run.invoke(main.clj:63), game.main$dev.invoke(main.clj:90), clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1910), clojure.lang.AFn.call(AFn.java:18), java.util.concurrent.FutureTask.run(FutureTask.java:266), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:745)]

GordonsBeard avatar Dec 08 '15 18:12 GordonsBeard

It's happening on Firefox too. Though, it's seemingly intermittent. Got through a game and a good part of another before it happened.

rubyfell avatar Dec 08 '15 18:12 rubyfell

Any installed Runner card that lacks a subtype will generate this bug. We're working on it!

JoelCFC25 avatar Dec 08 '15 19:12 JoelCFC25

I am having this issue, both times it happened when I stole an agenda on my last click.

dustructinator avatar Dec 08 '15 20:12 dustructinator