As I work on my 2017 Standard Ascension script I found it useful to get a summary of how the run went down, and where adventures were spent. This little function will spit out a data file of where each adventure was spent for later review or analysis.
I put this in my kingLiberatedScript
As a side note, this started because I wanted some run analysis other than the more human-readable but less machine-analysis capable AscensionLogVisualizer
Adding more detail to this RunSummary(), possibly to replicate some of the additional metrics from the AscensionLogVisualizer might be a thing.
I put this in my kingLiberatedScript
PHP:
void RunSummary() {
string [int] qlc;
string runlog = "";
for ii from my_daycount() downto 1 {
runlog += session_logs(my_daycount())[ii-1];
}
runlog = substring(runlog,index_of(runlog,"Beginning New Ascension"));
matcher mrl = create_matcher("\\[(\\d+?)\\] (.+?)\n",runlog);
while (find(mrl)) {
qlc[group(mrl,1).to_int()] = group(mrl,2);
}
string out = my_name()+"-std_"+today_to_string()+".txt";
print("run summary saved to "+out,"blue");
map_to_file(qlc,out);
}
As a side note, this started because I wanted some run analysis other than the more human-readable but less machine-analysis capable AscensionLogVisualizer
Adding more detail to this RunSummary(), possibly to replicate some of the additional metrics from the AscensionLogVisualizer might be a thing.
Last edited: