netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Can't stop surfing

Open cwoac opened this issue 11 years ago • 17 comments

Attempted to use surfer (on a 4 deep remote), had the following issues:

  • After swapping two pieces of ice (one ressed, one not), it didn't deduct cash
  • the 'done' button did nothing - couldn't stop surfing!
  • I was (for a while) unable to surf deeper - all I could do was swap the two pieces back and forth. After a while, I figured that click ice, click done click ice allowed me to surf one deeper (problems above remained), but when I tried to go deeper, it swapped me back with the outside (an illegal swap)

Further details of game state: the ice was unrezzed as I approached it, it was hive. Opponent was blue sun, I was kit, had yog+corroder installed and plenty of cash.

cwoac avatar Oct 05 '15 07:10 cwoac

So far I can't reproduce this in my dev environment. Were there any other extenuating circumstances you can think of, such as any of the ice over that server hosting something?

JoelCFC25 avatar Oct 05 '15 13:10 JoelCFC25

i got the same problem, encounter 2 times. after thinkering or paintbrush an ice, i surf (my credit was deducted), i can swap with the next unrezzed ice, but button done didn't work (clic on it but never disapear), and i can't do anything (can't use breaker), only swap the 2 ice again and again...

my browser is chrome v45

albatar21 avatar Oct 06 '15 09:10 albatar21

None of the ice was hosting anything. It was my first run of the turn as kit (I don't know if kit's typing is enforced or not). I'm also running chrome - version 45.0.2454.101 m

cwoac avatar Oct 06 '15 09:10 cwoac

The enforcing of ice types is a new feature. This seems to be a problem with surfer

queueseven avatar Oct 07 '15 07:10 queueseven

Happened to me too.

gandrasch avatar Oct 07 '15 09:10 gandrasch

I've had several people report it and in some cases supply me with a screenshot--to this point I simply cannot reproduce it in dev at all, so I'm still a little mystified as to the root cause. A key piece of information will be if Paintbrush usage is involved in all the cases where this is happening.

JoelCFC25 avatar Oct 07 '15 13:10 JoelCFC25

I had paintbrush installed, but I had not used it. I was modifying the ice's type with Kit's ability though.

cwoac avatar Oct 07 '15 14:10 cwoac

Yep, that is definitely useful information.

JoelCFC25 avatar Oct 07 '15 14:10 JoelCFC25

Even though I can't yet reproduce it, I wonder if changing Surfer's subtype check in the :req to (has? (get-card state current-ice) :subtype "Barrier") would do the trick.

JoelCFC25 avatar Oct 07 '15 15:10 JoelCFC25

I can get it to happen pretty consistently

Make a game as NEH vs Kit, get the NEH side to make a server that's an asset, Tollbooth as the inside ice and wraparound as the outside ice

on kits turn have her install surfer and run the server, have NEH rez the Wraparound and have kit use surfer on it to push it back, and then try to hit the done button

eedok avatar Oct 07 '15 16:10 eedok

Yeah, I tried this precise scenario as you've laid it out and it works perfectly in my dev environment--hence the frustration with pinning down the cause.

JoelCFC25 avatar Oct 07 '15 17:10 JoelCFC25

i try under firefox, and it work perfectly, the bug is under chrome, it bug 100% under chrome (3 times with 3 different set up) and not under firefox for me.

albatar21 avatar Oct 10 '15 12:10 albatar21

Well that is very strange

queueseven avatar Oct 10 '15 18:10 queueseven

Happened to me as well. With Kit, first round swapping for an unrezzed piece of ice.

tarmann avatar Oct 10 '15 19:10 tarmann

maybe it's not a bug with surfer, because the last time, corpo have swap manually the ice (i haven't use surfer), and the bug was the same, i click on my menu "continue" but nothing happend, and all menu are disabled (credit, click etc..). So the bug is maybe link to the manipulation of ice under chrome browser during run.

albatar21 avatar Oct 11 '15 10:10 albatar21

I think the issue is a simple copy and paste bug.

cards-programs.clj:506 (update-ice-strength state side (cons :corp (:zone cice))) should be (update-ice-strength state side cice)

This change will fix the problem.

dlrowb avatar Oct 13 '15 05:10 dlrowb

Well spotted! This should probably just change to update-all-ice state side so that both the ice being surfed and the one you swap with get strengths updated (if necessary).

JoelCFC25 avatar Oct 13 '15 13:10 JoelCFC25