Theraze
Active member
Not sure quite how long this has been going on, but combats called with visit_url/run_combat are only running one line of the CCS currently. My line 1 is Smart Stasis, and once it stops trying to do stasis, combat aborts. Aborting and doing a run_combat manually will solve the issue, doing a 5 second wait with the run_combat works as well. My current workaround was putting my spam attack macro into the end of Smart Stasis, and now my client works as it did before this change happened.
Not sure exactly when it changed... think it was a month or two though. Here are two combats from my tavern script:
The tavern cellar between adventures is it checking for which squares are unlocked... the issue is that when this part of the script hits:
it starts combat, but doesn't finish it. Using my newer one-line consult (where Smart Stasis runs its attack with weapon spam automatically instead of letting mafia run it as another line), I get this as, using the same visit_url/run_combat:
I'm reporting this now because Xenthes had the same issue with using a different consult script and it reminded me that, instead of just helping people to run workarounds, I should really make a bug report.
Not sure exactly when it changed... think it was a month or two though. Here are two combats from my tavern script:
[483] Tavern Cellar (row 3, col 5)
Encounter: drunken rat
Round 0: Theraze wins initiative!
> Monster value: 290
> HP/round from Mosquito: 3.75
> Profit per round: 13.33
[483] Tavern Cellar
[483] Tavern Cellar (row 3, col 5)
Round 3: Theraze executes a macro!
Round 3: Theraze attacks!
Round 4: drunken rat takes 49 damage.
You gain 12 Meat
You acquire an item: rat whisker
You gain 1 Strengthliness
You gain 2 Mysteriousness
You gain 1 Smarm
[484] Tavern Cellar
Encounter: The Tavern Cellar
[484] Tavern Cellar (row 4, col 5)
Encounter: drunken rat
Round 0: Theraze wins initiative!
> Monster value: 290
> HP/round from Mosquito: 3.75
> Profit per round: 0
[484] Tavern Cellar
[484] Tavern Cellar (row 4, col 5)
Round 3: Theraze executes a macro!
Round 3: Theraze attacks!
Round 4: drunken rat takes 54 damage.
You gain 11 Meat
You acquire an item: rat whisker
You acquire an item: rat appendix
You gain 2 Beefiness
You gain 3 Magicalness
The tavern cellar between adventures is it checking for which squares are unlocked... the issue is that when this part of the script hits:
PHP:
if (contains_text(page, "Combat"))
{
run_combat();
}
You can still see the SS display bits above, but combat runs properly...[341] Tavern Cellar (row 4, col 4)
Encounter: drunken rat
Round 0: Theraze wins initiative!
> Monster value: 290
> HP/round from Mosquito: 2.25
> Profit per round: 6.67
Round 1: Theraze executes a macro!
Round 1: Theraze attacks!
Round 2: drunken rat takes 29 damage.
You gain 10 Meat
You acquire an item: rat whisker
You gain 1 Enchantedness
You gain 3 Cheek
[342] Tavern Cellar
Encounter: The Tavern Cellar
[342] Tavern Cellar (row 3, col 4)
Encounter: drunken rat
Round 0: Theraze wins initiative!
> Monster value: 290
> HP/round from Mosquito: 2.25
> Profit per round: 6.67
Round 1: Theraze executes a macro!
Round 1: Theraze attacks!
Round 2: drunken rat takes 28 damage.
You gain 10 Meat
You acquire an item: rat whisker
You acquire an item: rat appendix
You gain 4 Cheek
I'm reporting this now because Xenthes had the same issue with using a different consult script and it reminded me that, instead of just helping people to run workarounds, I should really make a bug report.