CanAdv -- check whether you can adventure at a given location

Code:
Checking resistance to stench...
The string "true" is not an integer; returning 0 (canadv.ash, line 649)
 
Uh, no clue what your canadv is, but line 649 is this:
Code:
   case $location[The Hidden Temple]: return get_property("lastTempleUnlock").to_int() == my_ascensions();
The only resist check is line 406. So... uh... maybe try reinstalling CanAdv?
 
Just deleted and reinstalled.

For some bizarre reason, I'm getting the same message. It's when I run SeRa.

I'm not sure what thing SeRa is doing when that second line occurs (I'm sure the first line is due to guano junction).
 
Spot checking, I got this:

Code:
> ash import <canadv.ash> can_adv($location[The Hidden Temple]);

The string "true" is not an integer; returning 0 (canadv.ash, line 649)
Returned: false
 
Hm. For some strange reason, my lastTempleUnlock is set to 'true'. No idea why that happened. I'm assuming it should be set to my current ascension, since I've already unlocked the temple.
 
Yep... might have had some old script set it wrong, but that would make sense as to why you're getting that error. :)
 
I've changed line 55 to the following:

if (my_inebriety() > inebriety_limit() && !$item[Drunkula's wineglass].have_equipped() && !($locations[Drunken Stupor, St. Sneaky Pete's Day Stupor] contains where))

It makes sense to tell me I can't adventure when I'm overdrunk, but if I have a wineglass equipped, it should let me.
 
Sounds good, but we'll use the equipcheck for that instead. Also assuming that the drunken stupor adventures are not available if we have the wineglass equipped.
 
Okay, then our 3 lines of change should have made things more accurate overall, as well as auto-equipping the Wineglass if you've set to prep for adventuring and you have it available.
 
Just trying to do what I'm told:

Code:
Unknown location: Gingerbread Civic Center (zone: Gingerbread City)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Gingerbread Industrial Zone (zone: Gingerbread City)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Gingerbread Train Station (zone: Gingerbread City)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Gingerbread Upscale Retail District (zone: Gingerbread City)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Gingerbread Sewers (zone: Gingerbread City)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
 
Last edited:
All need gingerbreadCityAvailable = true.
Gingerbread Sewers additionally needs gingerSewersUnlocked = true.
Gingerbread Upscale Retail District additionally needs gingerRetailUnlocked = true.
 
All need gingerbreadCityAvailable = true.
Gingerbread Sewers additionally needs gingerSewersUnlocked = true.
Gingerbread Upscale Retail District additionally needs gingerRetailUnlocked = true.

I have the first and the second. third is waiting on my getting enough sprinkles
 
Yeah, just included that for Theraze, who doesn't always get all the new IotM I believe so sometimes wants to know how to know it is available.
 
It's true. I think I have a total of... two... unique IotM so far. We're counting the VIP key as an IotM, joining Manuel, right?

I'll try to get these in. Zone itself gets the gingerbreadCityAvailable unlock. First 3 are always unlocked when zone is. Last two have unique values. Let me know how it goes, since I won't be able to tell.
 
It's missing the Crimbo 2016 chakra areas, which is relevant for the factroid script.

Log:
Code:
Unknown location: Your Bung Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Your Guts Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Your Liver Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Your Nipple Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Your Nose Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Your Hat Chakra (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Sack (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Boots (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Jelly (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Reindeer (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Beard (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
Unknown location: Crimbo's Hat (zone: Crimbo16)
Please report this missing location here: http://kolmafia.us/showthread.php?t=2027
 
Multiple matches for "Spookyraven library key"; using "[7302]Spookyraven library key". (canadv.ash, line 525) Clarify by using one of:
$item[[1764]Spookyraven library key]
$item[[7302]Spookyraven library key]
 
Back
Top