Bug - Waiting for Info r10923 - Using item from relay chat misfires aAS

Fluxxdog

Active member
Code:
> fax get

Receiving a fax.
You acquire an item: photocopied monster
You receive a photocopied Bad ASCII Art from the fax machine.
[COLOR="#0000FF"]==typed "/use d mon" in relay chat==[/COLOR]
Maximizing... [COLOR="#0000FF"]<=bBS starting[/COLOR]
60 combinations checked, best score 2.0
none does not have choice information
Checkpoints cleared.
Ready for battle!

[394] photocopied monster
Maximizing... [COLOR="#0000FF"]<=aAS starting[/COLOR]
60 combinations checked, best score 2.0
757 Mysticality (706263 SubMysticality) needed to get to level 30
16 Mysticality (3054 SubMysticality) needed to get to level 11
159 SubMysticality needed to reach 89 Mysticality
Now turn your head and cough...
Raiding the fridge...
looking for rainbows...
Maximizing -mana cost,-tie,-familiar,equip Juju Mojo Mask...
Maximizing...
60 combinations checked, best score 2.0
Putting on stainless steel solitaire...
Equipment changed.
Casting Summon Resolutions 1 times...
[COLOR="#FF0000"]campground.php: redirected to a fight page.[/COLOR]
Encounter: Bad ASCII Art
I'm not sure if it's related to this bug here but using an item from the relay chat seems to have misfired the afterAdventureScript. It would be expected to be executed after the fight was over.
 
Last edited:

Darzil

Developer
This seems strange, as it should only be firing from automation, I think?

I created a simple after adventure script, which just prints "After adventure script".

It is run when I fight using automation:
Code:
> play phylum elf

You gain 75 Mana Points
Soul Food was successfully cast.

[2669] Deck of Every Card
Preference _deckCardsDrawn changed from 0 to 4
play Christmas Card (28)
Preference _deckCardsSeen changed from to Christmas Card
Preference lastEncounter changed from Black Crayon Crimbo Elf to Christmas Card
Encounter: Christmas Card
Preference _deckCardsDrawn changed from 4 to 5
Preference lastEncounter changed from Christmas Card to Striking Middle-Management Elf
Encounter: Striking Middle-Management Elf
Preference _lastCombatStarted changed from 20180824095331 to 20180824095419
Preference _pantsgivingCount changed from 6 to 7
Round 0: darzil wins initiative!
Round 1: darzil executes a macro!
Round 1: darzil uses the Rain-Doh indigo cup and uses the Rain-Doh blue balls!
Round 2: You gain 179 hit points
Round 2: Striking Middle-Management Elf takes 15 damage.
Round 2: darzil uses the Time-Spinner!
Round 3: Striking Middle-Management Elf drops 1 attack power.
Round 3: Striking Middle-Management Elf drops 1 defense.
Round 3: darzil casts SUMMON LOVE MOSQUITO!
Round 4: Striking Middle-Management Elf takes 8 damage.
Round 4: You gain 8 hit points
Round 4: darzil casts POCKET CRUMBS!
Round 5: Striking Middle-Management Elf drops 3 attack power.
Round 5: Striking Middle-Management Elf drops 3 defense.
Round 5: darzil casts SING ALONG!
Round 6: darzil casts SUMMER SIESTA!
Round 7: Striking Middle-Management Elf takes 830 damage.
You gain 22 Meat.
Round 7: Striking Middle-Management Elf drops 9 attack power.
Round 7: Striking Middle-Management Elf drops 5 defense.
Round 7: darzil wins the fight!
After Battle: Hofferson pops the carrot nose off of the snow suit and hands it to you, then replaces it with another carrot that's a slightly different shape. Snowman plastic surgery is pretty simple.
You acquire an item: carrot nose
Preference _carrotNoseDrops changed from 0 to 1
After Battle: Hofferson rolls around in the snow suit, giving you any extra items that stick to it.
After Battle: Obvious Paricia surveys the scene from your back, and gains 1 Experience.
After Battle: Hofferson berates your fallen adversary for not tipping, and checks their pockets.
You gain 192 Meat
You acquire an item: toy wheel
After Battle: You gain 3 Strengthliness
After Battle: You gain 7 Wizardliness
After Battle: You gain 3 Chutzpah
You gain 1 Soulsauce
Preference testudinalTeachings changed from 267:5|203:4|171:2|209:4|59:2|214:2|213:5|150:1|211:2|266:4|82:3|-1:3|206:1|58:1 to 267:5|203:4|171:2|209:4|59:2|214:2|213:5|150:1|211:3|266:4|82:3|-1:3|206:1|58:1
Preference _snowSuitCount changed from 6 to 7
After adventure Script

but not from chat:
Code:
Using 1 photocopied monster.

Preference photocopyMonster changed from Black Crayon Crimbo Elf to
Preference _photocopyUsed changed from false to true

[2669] photocopied monster
Encounter: Black Crayon Crimbo Elf
Preference _lastCombatStarted changed from 20180824094704 to 20180824095331
Preference _pantsgivingCount changed from 5 to 6
Round 0: darzil wins initiative!
Round 1: darzil executes a macro!
Round 1: darzil uses the Rain-Doh indigo cup and uses the Rain-Doh blue balls!
Round 2: You gain 179 hit points
Round 2: Black Crayon Crimbo Elf takes 11 damage.
Round 2: darzil casts SUMMON LOVE GNATS!
Round 3: darzil uses the Time-Spinner!
Round 4: Black Crayon Crimbo Elf drops 31 attack power.
Round 4: Black Crayon Crimbo Elf drops 30 defense.
Round 4: darzil casts SUMMON LOVE MOSQUITO!
Round 5: Black Crayon Crimbo Elf takes 41 damage.
Round 5: You gain 41 hit points
Round 5: darzil casts POCKET CRUMBS!
Round 6: Black Crayon Crimbo Elf drops 78 attack power.
Round 6: Black Crayon Crimbo Elf drops 82 defense.
You acquire an item: dented spoon
Preference _pantsgivingCrumbs changed from 0 to 1
Round 6: darzil casts CURSE OF WEAKSAUCE!
Round 7: Black Crayon Crimbo Elf drops 20 attack power.
Round 7: Black Crayon Crimbo Elf drops 20 defense.
Round 7: darzil casts SUMMER SIESTA!
Round 8: Black Crayon Crimbo Elf takes 227 damage.
Round 8: Black Crayon Crimbo Elf drops 19 attack power.
Round 8: Black Crayon Crimbo Elf drops 22 defense.
Round 8: darzil attacks!
Round 9: Black Crayon Crimbo Elf takes 241 damage.
Round 9: Black Crayon Crimbo Elf drops 23 attack power.
Round 9: Black Crayon Crimbo Elf drops 22 defense.
Round 9: darzil wins the fight!
After Battle: Hofferson rolls around in the snow suit, giving you any extra items that stick to it.
After Battle: Obvious Paricia surveys the scene from your back, and gains 1 Experience.
You acquire an item: crayon shavings
After Battle: You gain 60 Beefiness
After Battle: You gain 130 Wizardliness
After Battle: You gain 87 Sarcasm
You gain 7 Soulsauce
Preference testudinalTeachings changed from 267:5|203:4|171:2|209:4|59:2|214:2|213:5|150:1|211:1|266:4|82:3|-1:3|206:1|58:1 to 267:5|203:4|171:2|209:4|59:2|214:2|213:5|150:1|211:2|266:4|82:3|-1:3|206:1|58:1
Preference _snowSuitCount changed from 5 to 6

Which is what I would expect, as it is referenced in two places. once after adventure automation, once in a check for fights caused by UseItemRequest, ChateauRequest, DeckOfEveryCardRequest or UseSkillRequest automation.

I should add GenieRequest to that.

So I guess not so much not a bug, as a what is really going on? (Unless the code changed from that time)
 
Top