Bug - Waiting for Info Getting Grand/Glorious Turtle Blessing causes Use Links to be in the wrong place.

MCroft

Developer
Staff member
When the Turtle Blessing reaches the set turns to switch to Grand Blessing/Glorious Blessing, it shows up in the combat results. I am seeing the link applied to the Blessing, and not to the item that it should be attached to.

I don't *think* this is related to the whatif stuff fredg1 was working on and I was testing, but I could be wrong.

"Read" is a link that makes sense for the Map. The map has no link, and the two items below the Map have correct links.
decorated_grand_blessing.png
"Equip" is a link that makes sense for the eyepatch, which has no link. Whatif shown for eyepatch.
whatif_glorious_blessing.png
This is the result of clicking "equip"
after_equip_glorious_blessing.png

This is the code for the Glorious link
web_inspector_glorious_blessing.png
 

Veracity

Developer
Staff member
Ha. We sort acquisitions into two lists - Items and Effects. Looks like we are not handling Intrinsics correctly.

Could you get me a DEBUG log, please?

Thanks.
 

MCroft

Developer
Staff member
Good news is it happened again. I used a slightly different blessing, which was not purposeful, but had the same effect. It did not happen on Grand Blessing, because I didn't get any other items to add links to.


I trimmed most of 12.7 MB out of the debug log, but I have the original if I didn't capture the right things for you.

SessionLog
View attachment Darwinlet_20200928.txt
Debug Log
View attachment DEBUG_20200928_trimmed.txt
fight.php (as txt)
View attachment glorious.txt
Image of the error
Screen Shot 2020-09-28 at 12.23.44 AM.png
 

Veracity

Developer
Staff member
Bump, since you gave me what I asked for a week ago and I haven't looked at it yet.
 

Veracity

Developer
Staff member
Interesting. When I process that response to just look at the results, I get

You acquire an intrinsic: Glorious Blessing of the Storm Tortoise

but when I process the response as a fight, I get:

You acquire an effect: Glorious Blessing of the Storm Tortoise (1)

Obviously, I need to look at FightRequest.

Code:
[color=green]> test load intrinsic.html[/color]

Read 25,263 bytes into a 25,263 character string

[color=green]> test result[/color]

You acquire an intrinsic: Glorious Blessing of the Storm Tortoise
You gain 306 Meat
You acquire an item: handful of sand
You acquire an item: Knob Goblin firecracker
You gain 24 Fortitude
You gain 16 Mysteriousness
You gain 12 Chutzpah
returned true

[color=green]> test load intrinsic.html[/color]

Read 25,263 bytes into a 25,263 character string

[color=green]> test fight 1[/color]

Round 1: attacks!
Round 2: rock scorpion takes 356 damage.
Round 2: wins the fight!
You acquire an effect: Glorious Blessing of the Storm Tortoise (1)
You gain 306 Meat
After Battle: Cubert glorps around, slurping up some random trash and debris.
You acquire an item: handful of sand
After Battle: Cubert shudders and disgorges an item with a wet squelch.
You acquire an item: Knob Goblin firecracker
After Battle: You gain 24 Fortitude
After Battle: You gain 16 Mysteriousness
After Battle: You gain 12 Chutzpah
 

Veracity

Developer
Staff member
Try revision 20440.

Let's hope I didn't harm getting effects in combat. I tested with a hookah-equipped familiar and it looks like it worked fine.
I did not actually test gaining an intirinsic in the relay browser, but Use Links didn't used to know about such and would treat them like items - which is what you saw.
 

MCroft

Developer
Staff member
And if it treats them as items, it applies the effect of the next item on the stack?

I'm in a non-TT run right now, but I can probably at least get apathy or something. After this I'll do a quick TT run and see if it works. Possibly a few days before that happens, but I will let you know how it works in that case.

I was wondering if this might be related to the Army of Toddlers issue that got raised.
 
Top