Overview:
I made this mainly to make tourguide runs easier. This script will append percentages after each familiar in your terrarium - the first percentage is for your current run, and the second is for your lifetime. Anything at 0.0% will not be displayed.
In addition, it will find the familiar you've used most during the current run, and will show the percentage in color - red for <90%, orange for <91%, dark green for >91%, and bright green for 100%.
In order for the relay script to work properly, you must run Tourguide.ash when you ascend (it should be easily importable into any pre- or post-ascension script). Without this, it will never display in-run statistics, but will still show lifetime percentages.
In case you're wondering, it calculates based on number of kills alone (correct me if I'm mistaken, but that is the only accurate way to measure percentages). Basically, Tourguide.ash will write number of kills to a file, and the relay script will subtract current number of kills from what's found in the file to find the number of combats any given familiar has been in during the current run.
Instructions:
Put Tourguide.ash into your scripts folder, and familiar.ash into your relay folder. Run Tourguide.ash at the beginning of any ascension (or the end of the previous one). To account for free runaways, also run Tourguide.ash every time you log out during the run. Enjoy!
Screenshot:
http://i52.tinypic.com/allq2a.jpg
If you have any suggestions or problems, let me know, and I'll see what I can do.
Update: I just finished a run using my script (unfortunately, I didn't use it upon logout everyday, because I tend to leave mafia running all day long and into rollover - however, I didn't use many runaways, either, so it shouldn't have mattered much). The run clocked in as 91.9% on KoL, and 91.22% from my script.
Disclaimer: The code is ugly. Very ugly and inefficient. I'm not a programmer at all, so I write mostly by trial and error, and once something's working, I hate to go back and modify it, so I tend to add more lines rather than reorganizing old ones. My apologies if this irks you.
I made this mainly to make tourguide runs easier. This script will append percentages after each familiar in your terrarium - the first percentage is for your current run, and the second is for your lifetime. Anything at 0.0% will not be displayed.
In addition, it will find the familiar you've used most during the current run, and will show the percentage in color - red for <90%, orange for <91%, dark green for >91%, and bright green for 100%.
In order for the relay script to work properly, you must run Tourguide.ash when you ascend (it should be easily importable into any pre- or post-ascension script). Without this, it will never display in-run statistics, but will still show lifetime percentages.
In case you're wondering, it calculates based on number of kills alone (correct me if I'm mistaken, but that is the only accurate way to measure percentages). Basically, Tourguide.ash will write number of kills to a file, and the relay script will subtract current number of kills from what's found in the file to find the number of combats any given familiar has been in during the current run.
Instructions:
Put Tourguide.ash into your scripts folder, and familiar.ash into your relay folder. Run Tourguide.ash at the beginning of any ascension (or the end of the previous one). To account for free runaways, also run Tourguide.ash every time you log out during the run. Enjoy!
Screenshot:
http://i52.tinypic.com/allq2a.jpg
If you have any suggestions or problems, let me know, and I'll see what I can do.
Update: I just finished a run using my script (unfortunately, I didn't use it upon logout everyday, because I tend to leave mafia running all day long and into rollover - however, I didn't use many runaways, either, so it shouldn't have mattered much). The run clocked in as 91.9% on KoL, and 91.22% from my script.
Disclaimer: The code is ugly. Very ugly and inefficient. I'm not a programmer at all, so I write mostly by trial and error, and once something's working, I hate to go back and modify it, so I tend to add more lines rather than reorganizing old ones. My apologies if this irks you.
Attachments
Last edited: