10.9 bugs

vorpallemur

New member
Using the relay browser, I clicked the arrow to increase turns of pet-buffing. Mafia did so, putting on the Knob Guard outfit, buying the stuff, and using it. It didn't, however, put my original gear back on.

type a command in the relay browser's cli, and it doens't always echo the command. It may, or may not, actually do something, but you don't get to see it do it.

Conditions don't get updated after every round. I'm tyring to reach a level, so I've got the conition 173 mys set. The substats left doesn't decrement after every adventure, only when change windows.
Another one:

The cli script that I use to stock up before ascending has stopped working: I get the error "[bitchin meatcar] has too many matches." Presumably it's when I'm trying to untinker the thing, as that's the only mention of bitchin meatcar in the whole script. Fixing that results in simliar "too many matches" errors for the sneak pete key, richard star key and boris key. (Using quotes is a pain, given the way I create the scripts. They have to be quoted and it's something I get wrong, so I don't.) All this used to work, for months.

[modbreak=Double post]Please don't double-post. :) -Daychilde[/modbreak]
 

holatuwol

Developer
The members of HCO asked for the disambiguation 'bug'. You'll have to type the exact names instead of omitting things like apostrophes.
 
[quote author=holatuwol link=topic=842.msg4086#msg4086 date=1175984088]
The members of HCO asked for the disambiguation 'bug'. You'll have to type the exact names instead of omitting things like apostrophes.
[/quote]

That's not a bug, that's a feature!
 

vorpallemur

New member
[quote author=holatuwol link=topic=842.msg4086#msg4086 date=1175984088]
The members of HCO asked for the disambiguation 'bug'. You'll have to type the exact names instead of omitting things like apostrophes.
[/quote]

Does this mean that there's no matching at all? That would be very annoying.
 

Metraxis

Member
It seems that the use of absolute filenames did not slay the bug I posted about last week.

Using 10.9-3520:
Code:
> advisor.ash  
does not exist in the adventure database.  
> scripts/Advisor.ash  
Starting 
Considering Immediate Goals 
Goal Selected 
In: Dark Elbow of the Woods 
Goal2 TestType: IA 
1 eldritch butterknife

Though the change to the import requirements did work. I had to make every script in my scripts directory validate under the new rules before I could run any of them.
 

holatuwol

Developer
Start a debug log and attempt to run the script. Post the debug log generated from running the script. That'll give me something to compare at least.
 

Metraxis

Member
Fortunately, this should come in under the cap for attachments.

Just after login, breakfast complete:
Code:
{Help->Start Debug Log}
 > Advisor.ash  
does not exist in the adventure database.  
> advisor.ash  
does not exist in the adventure database.  
> scripts/advisor.ash  
UNEXPECTED ERROR. Debug log printed.  
> scripts/Advisor.ash  
Starting 
Considering Immediate Goals 
You acquire an item: strange leaflet 
Determining current leaflet progress... 
Retrieving mail... 
Looking for treasure... 
You acquire an item: Frobozz Real-Estate Company Instant House (TM) 
Using 1 Frobozz Real-Estate Company Instant House (TM)... 
Finished using 1 Frobozz Real-Estate Company Instant House (TM). 
Hunting eggs... 
You acquire an item: grue egg 
Looking for knick-knacks... 
You gain 300 Strengthliness 
You gain some Muscle points! 
You gain 200 Enchantedness 
You gain a Mysticality point! 
You gain 200 Cheek 
You gain some Moxie points! 
Navigating the forest... 
Finding the giant... 
You acquire an item: giant pinky ring 
Strange leaflet completed (magic invoked). 
Council of Loathing  
The Baron Rof L'm Fao still needs your help, Adventurer! You can find his valley beyond the Orc Chasm, in the Big Mountains.  
If you're having trouble getting past the Chasm, the pirates on the Mysterious Island of Mystery might have something that will help you.  
You must face your nemesis in the Dark and Dank and Sinister Cave. Return to us when you have done so. 
Putting on Swashbuckling Getup... 
Equipment changed. 
Goal Selected 
In: Pirate Cove 
Goal2 TestType: IT 
Total: 1 
abridged dictionary 
dictionary 
facsimile dictionary
{Help->Stop Debug Log}
{Look at DEBUG.txt}
{Realize that the last script run was not logged.}
{Help->Start Debug Log}
> scripts/Advisor.ash  
Starting 
Considering Immediate Goals 
Goal Selected 
In: Pirate Cove 
Goal2 TestType: IT 
Total: 1 
abridged dictionary 
dictionary 
facsimile dictionary
Some highlights from the DEBUG.txt:
Line 15: "Advisor.ash" fails
Line 21: "advisor.ash" fails
Line 25: "scripts/advisor.ash" begins to attempt to load every file in my scripts directory and validate each one.
Line 15,187: The attempt to load every script into memory at once fails when Lib.Goal.ash defines an anonymous record type also defined in Lib.Goal2.ash. There is no script which imports both of these, as Goal2 is a non-compatable upversion of Goal.
Line 15,207: A new Debug header starts. results of first "scripts/Advisor.ash" are conspicuously absent.
Line 15,220: Third Debug Header.
Line 15,234: "scripts/Advisor.ash" begins running.
Line 20,810: EOF

EDIT: Also, 10.9 seems to have a problem stopping when all conditions are fulfilled. I input (through the gCLI) "conditions add S.O.C.K." followed by "adv * airship", and went to get a sandwich. When I returned, I'd burned al 75 of my remaining adventures, and had acquired a S.O.C.K. at least 15 turns earlier (as I now had a S.O.C.K. in inventory, but the message about getting it had scrolled off the top of the buffer.)
 

Attachments

  • DEBUG.txt
    829.3 KB · Views: 67

holatuwol

Developer
That doesn't explain why the first set didn't execute, so let's try something different.

Start a debug log.
Type in "validate advisor.ash".
Show me THAT debug log?

We know that it at least validated.  Why it has no output from the validation process escapes me, so I'd like to see it specifically.
 

Metraxis

Member
Again, right after breakfast:

Code:
{Help->Start Debug Log)
> validate Advisor.ash  
Script verification complete.  

> validate advisor.ash  
UNEXPECTED ERROR. Debug log printed.
{Help->Stop Debug Log)

24,000ish lines this time.
 

Attachments

  • DEBUG.txt
    938.6 KB · Views: 45

ePeterso2

New member
Here's a copy of a post I just made in the main KoL forums about a bug I found/fixed:

--

I didn't see any discussion of this since 10.9 was released, but I may have just missed it in the last few pages. Forgive me if this is already known.

Okay, so I've got a ton of experience with C/C++, and I'm just starting to learn Java and Eclipse and what-not. So, as a test of the IDE, I load up the Mafia source.

About the same time, Hojo says that he thinks that the "Use guild manual" option introduced in 10.9 doesn't actually do anything, based upon observations on one of his multis. So, as a learning exercise, I start digging into the code a bit.

It is, in fact, busted, as far as I can tell. The "readManual" option seems to be missing from KoLSettings.isGlobalProperty(), and "readManualHardcore" and "readManualSoftcore" are missing from KoLSettings.initializeMaps(), both in KoLmafia.java. Adding support that parallels "visitRumpus" makes it all better.

-eP
 

Metraxis

Member
Here's a bit of strangeness, I don't understand:

While adventuring in the Pirate Cove (with the three outfit pieces as conditions, I got the adventure "Barrie Me at Sea", and received a stuffed shoulder parrot. Glancing at the Conditions Left list on the Player Status display showed the parrot still in my unfulfilled conditions list, so I aborted and did "conditions check". As it should, it informed me that only the swashbuckling pants were needed, and a look at the Player Status pane confirmed that yes, the parrot was now gone. Here's what happened next:

Code:
You need 1 more swashbuckling pants to continue. 
Conditions list validated against available items.  
> adv * pirate cove  
Using 1 magical mystery juice... 
You gain 16 Mana Points 
Finished using 1 magical mystery juice.  
Request 1 of 98 (Island: Pirate Cove) in progress... 
Encounter: swarthy pirate 
Noodle 
Stream 
Stream 
You gain 69 Meat 
You gain 9 Muscleboundness 
You gain 19 Wizardliness 
You gain 7 Roguishness  

Request 2 of 98 (Island: Pirate Cove) in progress... 
Encounter: shifty pirate 
Noodle 
Stream 
Stream 
You gain 141 Meat 
You acquire an item: snakehead charrrm 
You gain 11 Strengthliness 
You gain 14 Mysteriousness 
You gain 10 Chutzpah 
You gain a Moxie point!  

Request 3 of 98 (Island: Pirate Cove) in progress...
 Encounter: smarmy pirate 
Noodle 
Stream 
You gain 105 Meat 
You acquire an item: charrrm 
You acquire an item: bottle of rum 
You gain 8 Muscleboundness 
You gain 20 Wizardliness 
You gain 8 Smarm  

Purchasing magical mystery juice (1 @ 100)... 
You acquire an item: magical mystery 
 complete. 
Using 1 magical mystery 
 gain 16 Mana Points 
Finished using 1 magical mystery juice.  

Request 4 of 98 (Island: Pirate Cove) in progress... 
Encounter: shifty pirate 
Noodle 
Stream 
Stream 
You gain 158 Meat 
You acquire an item: snakehead charrrm 
You acquire an item: flaregun 
You gain 8 Beefiness 
You gain a Muscle point! 
You gain 14 Wizardliness 
You gain 14 Cheek  
Request 5 of 98 (Island: Pirate Cove) in progress... 
Encounter: Amatearrr Night 
You gain 100 Meat  
Purchasing magical mystery juice (4 @ 100)... 
You acquire 4 magical mystery juices 
Purchases complete. 
Using 1 magical mystery juice... 
You gain 17 Mana Points 
Finished using 1 magical mystery juice. 
Casting Aloysius' Antiphon of Aptitude on yourself 1 times... 
You acquire an effect: Aloysius' Antiphon of Aptitude (duration: 15 Adventures) 
Aloysius' Antiphon of Aptitude was successfully cast on yourself. 
Casting Empathy of the Newt on yourself 1 times... 
You acquire an effect: Empathy (duration: 10 
 of the Newt was successfully cast on yourself. 
Using 1 magical mystery juice... 
You gain 18 Mana Points Finished using 1 magical mystery juice.
 Using 1 magical mystery juice... 
You gain 17 Mana Points Finished using 1 magical mystery juice. 
Casting Fat Leon's Phat Loot Lyric on yourself 1 times... 
You acquire an effect: Fat Leon's Phat Loot Lyric (duration: 15 Adventures) 
Fat Leon's Phat Loot Lyric was successfully cast on yourself. 
Casting Leash of Linguini 1 times... 
You acquire an effect: Leash of Linguini (duration: 10 Adventures) 
Leash of Linguini was successfully cast. Using 1 magical mystery juice... 
You gain 18 Mana Points 
Finished using 1 magical mystery juice. 
Casting Ur-Kel's Aria of Annoyance on yourself 1 times... 
You acquire an effect: Ur-Kel's Aria of Annoyance (duration: 15 Adventures) 
Ur-Kel's Aria of Annoyance was successfully cast on yourself. 
Purchasing magical mystery juice (1 @ 100)... 
You acquire an item: magical mystery juice 
Purchases complete. 
Using 1 magical mystery juice... 
You gain 17 Mana Points 
Finished using 1 magical mystery juice. 
Purchasing magical mystery juice (1 @ 100)... 
You acquire an item: magical mystery juice 
Purchases complete. Using 1 magical mystery juice... 
You gain 16 Mana Points 
Finished using 1 magical mystery juice.  
Request 6 of 98 (Island: Pirate Cove) in progress... 
Encounter: A Dreadful Curse 
You gain 15 Wizardliness 
You gain a Mysticality point!  
Conditions satisfied after 6 requests.  

> conditions check  
Conditions list validated against available items.

A visual inspection of my inventory reveals no swashbuckling pants. Any thoughts?
 

holatuwol

Developer
None. I get the feeling there's something wrong with lists, but I don't have time to track it down right now ... I'd also need a better idea of how this can be reproduced.
 

Metraxis

Member
I had a similar thing happen to me on the immediately previous ascension, so you might try:

1.Eliminate Pirate Outfit from inventory (Pulverize, sell, display case, whatever)
2. Set all three Cove choice options to "Complete the outfit"
3. "conditions add pirate cove outfit"
4. "adv * pirate cove"
5. Look for non-recognition of the acquisition of the stuffed shoulder parrot.
6. Look for erroneous recognition of the swashbuckling pants.

When I get to the end of my current ascension, I'll give it a try.
 
Top