New Content - Implemented r15180 - Star Chart - use link not working

Magus_Prime

Well-known member
It seems that something changed. In the relay browser, after defeating The Astronomer, I clicked on the "use" link next to the item on the post-combat results page. That took me to my inventory and the message "This item is not implemented yet. Try again later.".

Clicking on the "use" link from my inventory page gave the expected results and I was able to create the Richard's star key.
 
This appears to be the new paradigm: the topiary nugglet is supposedly "usable", but the "use" link KoL supplies on the inventory says "sculpt" and it takes you directly to shop.php.

Used to be, "use" on a star chart - inv_use.php - would redirect you to shop.php. Now, inv_use says "this is not implemented".

My "solution" for the topiary nugglet was to simply not generate a "use" link when you find one. That would be the easy solution for the star chart, as well - and presumably other items that that used to use inv_use.php and redirect to a shop.

Or, I guess, generate special cases, like KoL has. "sculpt" for the topiary nugglet.

Huh. we have several Coinmasters which are invoked via inv_use but end up in shop.php:

FDKOL - inv_use 5707 -> shop=fdkol
fish bones - inv_use 7651 -> shop=fishbones

How about BURTs? Those are inv_use but are not - yet a shop, last I've heard.
AWOL Commendations? Ditto.
And the fudge wand is inv_use that redirects to choice.php.

KoL has used a lot of different mechanisms to accomplish the same thing. They've been cleaning up some of the active usages...
 
OK, looking at inventory:

AWOL Commendation has a "use" link to inv_use.php?pwd&which=3&whichitem=5116
FDKOL COmmendation has a "use" link to inv_use.php?pwd&which=3&whichitem=5707
wand of fudge control has a uselink to inv_use.php?pwd&which=3&whichitem=5441

freshwater fish bone has an "assemble" link to shop.php?whichshop=fishbones
star chart has a "use" link to shop.php?whichshop=starchart
topiary nugglet has a "sculpt" link to shop.php?whichshop=topiary.

I have no way to test BURTs, but I'd guess they did not retrofit the new mechanism.

I'll see about generating "assemble", "use", and "sculpt" links that go straight to shop.php.
 
Back
Top