bumcheekcity
Active member
This could be a bug or a scripting error with a couple of scripts, but I can't work out what it is. When using BCA to fight through the Hidden City, it does so correctly until it gets to the final fight. It cleared the liana fine, then on the fight with the spirit I get:
And then the last line repeats ad infinitum. The thing that I don't get is that the line that generates it in BCA is very simple:
As is clear, bumAdv() manages to get all the way through the massive function that it is to hit the adventure() function. My CCS is set to, simply:
It could be a BCA problem, could be a WHAM problem, could be a Mafia problem, could be any one of the three - but I just can't work it out. I turned debugging on for the script and attach the debug log, although it's all a bit greek to me. If it's a mafia bug, here's the report. If it's an ASH bug, could someone tell me what tells me that in the below debug log?
View attachment DEBUG_20131212.txt
Code:
BCC: levelMe(85, true) called.
Level 10 Starting
BCC: We have completed the stage [airship].
BCC: We have completed the stage [castle].
BCC: levelMe(104, true) called.
Level 11 Starting
BCC: We have completed the stage [macguffinprelim].
BCC: We have completed the stage [macguffinpalin].
BCC: We have completed the stage [hits].
BCC: We have completed the stage [macguffinspooky].
BCC: We have completed the stage [macguffinpyramid].
BCC: We have not completed the stage [macguffinhiddencity].
BCC: Maximizing '-weapon, '
Maximizing...
4 combinations checked, best score 5,149.75
BCC: Switching Familiar for General Use
BCC: Going to try to use some spleen items if you have them.
BCC: Going to try to use some spleen items if you have them.
Spleen: 4 Agua: 0 Stick: 0 Token: 0 Grease: 0 Dream Jar: 0
Total Spleen: 4
BCC: Nothing to fax according to whatShouldIFax
Resetting mind control device...
Mind control device reset.
Cleared mood.
Cleared mood.
Set mood trigger: When I get Just the Best Anapests, uneffect just the best anapests
Set mood trigger: When I run low on Power Ballad of the Arrowsmith, cast 1 The Power Ballad of the Arrowsmith
Set mood trigger: When I run low on Rage of the Reindeer, cast 1 Rage of the Reindeer
Mood swing complete.
Mood swing complete.
BCC: Defeating the last Protector Spectre.
Conditions list cleared.
BCC: Setting goals of '1 choiceadv'...
Condition added: Choices Left: 1
BCC: We should set the MCD if we can.
BCC: We CAN set the MCD.
Resetting mind control device...
Mind control device reset.
Request 1 of 171 (HiddenCity: A Massive Ziggurat) in progress...
[782] A Massive Ziggurat
Encounter: Legend of the Temple in the Hidden City
Legend of the Temple in the Hidden City
Encounter: Protector Spectre
Strategy: C:\Users\Admin\Desktop\Dropbox\KoLMafia\ccs\WHAM.ccs [default]
Round 0: bumcheekcity wins initiative!
You're on your own, partner.
You're on your own, partner.
You're on your own, partner.
You're on your own, partner.
You're on your own, partner.
And then the last line repeats ad infinitum. The thing that I don't get is that the line that generates it in BCA is very simple:
Code:
//10 - Fight boss.
if (item_amount($item[stone triangle]) == 4) {
set_property("choiceAdventure791", "1");
equip($slot[weapon], $item[antique machete]);
bumAdv($location[A Massive Ziggurat], "-weapon, ", "", "1 choiceadv", "Defeating the last Protector Spectre.");
}
As is clear, bumAdv() manages to get all the way through the massive function that it is to hit the adventure() function. My CCS is set to, simply:
Code:
[ default ]
consult WHAM.ash
It could be a BCA problem, could be a WHAM problem, could be a Mafia problem, could be any one of the three - but I just can't work it out. I turned debugging on for the script and attach the debug log, although it's all a bit greek to me. If it's a mafia bug, here's the report. If it's an ASH bug, could someone tell me what tells me that in the below debug log?
View attachment DEBUG_20131212.txt