Bug Finishing a CS run doesn't trigger "King Freed" script

bsander

Member
I've noticed that performing the final CS service doesn't trigger mafia's registered "King Freed" script. For other ascensions (at least standard and unrestricted) it triggers like expected. c2t on the ASS discord found in their log that this behavior was working fine until the KoL change that limited the number of daily ascensions.
 

c2t

Member
In case this might help, the attached is a debug log of doing the final service for CS, which is essentially just:
Code:
visit_url('council.php');
visit_url('choice.php?pwd&whichchoice=1089&option=30',true,true);
And then everything else except the Checking test 30... lines and the 2 visit_url()s in the debug log is mafia doing its own thing.

Also, a snippet of log from before ascensions were only once per day:
Code:
> Checking test 30...
Took choice 1089/30: Perform Service
choice.php?pwd&whichchoice=1089&option=30

ascend.php?alttext=communityservice
You acquire an item: Thwaitgold termite statuette
Preference kingLiberated changed from false to true
Preference _c2t_notnow changed from  to true
> Checking test 30...
Where the setting of _c2t_notnow pref is the entirety of my kingfreed script, which happens right after the the final service is done and before the CS script continues and exits.

And a snippet of log after ascensions changed to being once per day:
Code:
> Checking test 30...
Took choice 1089/30: Perform Service
choice.php?pwd&whichchoice=1089&option=30

ascend.php?alttext=communityservice
main.php?nope=asc
Preference kingLiberated changed from false to true
> Checking test 30...
Preference _c2t_notnow changed from  to true
Where the setting of _c2t_notnow pref is the start of a script (not kingfreed) ran after the CS script exits. If kingfreed would have fired, the pref would have been set before the last Checking test 30..., as in the first example.
 

Attachments

  • DEBUG_20240609_final_service.txt
    27.7 KB · Views: 0
Top