Bug - Cannot Reproduce Custom Combat Script autorepeat

Turtle

New member
The following CCS macro:
Code:
[ zombie waltzers ]
try to steal an item
skill entangling noodles
skill static shock
skill stealth mistletoe
skill disco eye-poke
skill disco dance of doom
skill disco dance ii: electric boogaloo
skill suckerpunch
[etcetcetc]
skill suckerpunch
abort
fails to abort, as seen here:
Code:
[268] Haunted Ballroom
Encounter: zombie waltzers
Round 0: Turtle Poey Poey Poey Poey wins initiative!
Round 1: Turtle Poey Poey Poey Poey executes a macro!
Round 1: Turtle Poey Poey Poey Poey casts ENTANGLING NOODLES!
Round 2: Turtle Poey Poey Poey Poey casts STATIC SHOCK!
You gain 5 Mojo Points
Round 3: Turtle Poey Poey Poey Poey casts STEALTH MISTLETOE!
Round 4: Turtle Poey Poey Poey Poey casts DISCO EYE-POKE!
Round 5: Turtle Poey Poey Poey Poey casts DISCO DANCE OF DOOM!
Round 6: Turtle Poey Poey Poey Poey casts DISCO DANCE II: ELECTRIC BOOGALOO!
You acquire an effect: Disco Concentration (duration: 1 Adventure)
Round 7: Turtle Poey Poey Poey Poey casts SUCKERPUNCH!
[etcetcetc]
Round 23: Turtle Poey Poey Poey Poey casts SUCKERPUNCH!
[COLOR="#FF0000"]You're on your own, partner.[/COLOR]
[COLOR="#FF0000"]Round 24: Turtle Poey Poey Poey Poey executes a macro![/COLOR]
Round 24: Turtle Poey Poey Poey Poey casts STEALTH MISTLETOE!
KoLmafia thinks it is round 25 but KoL thinks it is round 24
Round 25: Turtle Poey Poey Poey Poey casts DISCO EYE-POKE!
Round 26: Turtle Poey Poey Poey Poey casts DISCO DANCE OF DOOM!
Round 27: Turtle Poey Poey Poey Poey casts DISCO DANCE II: ELECTRIC BOOGALOO!
Round 28: Turtle Poey Poey Poey Poey casts SUCKERPUNCH!
[etcetc]
Round 32: Turtle Poey Poey Poey Poey casts SUCKERPUNCH!
I hit the CCS button in the relay browser once, it automatically decided to loop the macro for fuck knows what reason. Naturally, I hit the round limit and now am very very upset and would like to yell at someone.
 

Theraze

Active member
Isn't this just that the last line of a CCS gets repeated until it kills the enemy, which in your case was the zombie waltzer suckerpunch?

In other words, no bug, just misunderstanding how CCS work.
 

Veracity

Developer
Staff member
Theraze, look at his output. It did the actions in his CCS: the noodles, shock, mistletoe, DB combo, and a bunch of suckerpunches. Then we see:

You're on your own, partner.
which is to say, the "abort" that his CCS called for - and then it started again at the top.
 

Theraze

Active member
Looked like it was selected again, but maybe I'm missing that.

Possible then this is similar to that, the last few times I've hit the AT nemesis in the relay browser and I hit the Sing for earworms, it just keeps singing over and over again. That being said, it stops when I hit abort, but it still burns a bunch of rounds that didn't need be minimal damage. :) I just keep forgetting to get a proper debug log so I can do anything on it.

Turtle, best thing is, if you can replicate this (does it loop improperly again when you fight another zombie waltzer?) at will, a debug log would help the awesome devs to actually figure out what's going on in the code. :)
 

holatuwol

Developer
Every relay request clears continuation state. To pin it down, it's probably some wonky interaction between that reset of continuation state, what happens when you push the CCS button, and what browser you did things in.
 

Veracity

Developer
Staff member
Well... I tried this:

Code:
[ default ]
try to steal an item
skill sing
skill sing
abort

I went to the Relay Browser, found a monster, and hit the "script" button. I got the following:

[338797] Giant's Castle
Encounter: Procrastination Giant
Round 0: Brianna wins initiative!
Round 1: Brianna executes a macro!
Round 1: Brianna tries to steal an item!
You acquire an item: procrastination potion
Round 2: Brianna casts SING!
Round 3: procrastination giant takes 2 damage.
Round 3: Brianna casts SING!
Round 4: procrastination giant takes 3 damage.
You're on your own, partner.
I am using Safari.
I am using KoLmafia's stationary buttons.

What browser do you use?
Do you use the CAB?
Can you reproduce this with a DEBUG log?
 

Turtle

New member
It happened once, I assumed it was a mistake on my end, I repeated the action and it happened a second time. I was not willing to reproduce it further as I am doing a speed run and it isn't exactly beneficial. I will attempt to reproduce it after I break prism. Losing 2 combats and 2 potential dance cards hurt enough as it was.

I have my sessions logs, I do not have debug logs. I will note that it may or may not be related, but in the same day I used a dance card, got Matilda, prepared a clover, then when I hit "Adventure Again" discovered that I had was in a fight. Not because the clover failed, but because it had adventured twice. So it's possible there's some double input or lag going on.

Specs:
Firefox 10.0.2
Ubuntu 11.10 64bit
I do use Combat Action Bar
 

Veracity

Developer
Staff member
Get me a debug log after you break prism. I can't do anything without it, but there's no hurry. In my opinion. ;)
 

Turtle

New member
Can't get it to reproduce. If it happens again in the future I'll try again then, otherwise it's probably a lag thing or a double input error where for some reason it thinks I hit the script button twice.
 
Top