GhettoTrucker
Member
So I have been away from the game for a while, and away from Mafia scripting as well. But in trying to get reacclimated with everything (it has mostly all changed completely in being gone for over a year) I noticed a common routine in a lot of threads here. People reporting bugs, but not giving enough of the session information. So I have a concept idea for a function for scripters to tag into their apps.
Basically it would work like the notify command (notify "xyz_123"). But rather than sending a generic "User ____ is using ______" message, it would send useful data.
The data could range from error logs (not mafia app errors, but errors in scripts) to session results (meat/items gained, items used, buffs in use, etc.). This type of data could be used for analysis of game mechanics (session results) as well as refining scripts.
I am not entirely sure if this type of functionality is currently available in kolMafia's current setup though. I don't think there are easy ways to get_script_error() or get_session_results() But like i said, I have been gone for a while, and the wiki seems somewhat incomplete.
The data would be sent via kmail to the designated author or debug account, whatever, and could be sent in some sort of CSV type format so data could easily be sorted and viewed in something like excel.
Thoughts, comments, ideas? This is a rather incomplete thought, but I wanted to get it out there to see if something already existed or if it is even possible currently. So here it is, do what you will with it.
Basically it would work like the notify command (notify "xyz_123"). But rather than sending a generic "User ____ is using ______" message, it would send useful data.
The data could range from error logs (not mafia app errors, but errors in scripts) to session results (meat/items gained, items used, buffs in use, etc.). This type of data could be used for analysis of game mechanics (session results) as well as refining scripts.
I am not entirely sure if this type of functionality is currently available in kolMafia's current setup though. I don't think there are easy ways to get_script_error() or get_session_results() But like i said, I have been gone for a while, and the wiki seems somewhat incomplete.
The data would be sent via kmail to the designated author or debug account, whatever, and could be sent in some sort of CSV type format so data could easily be sorted and viewed in something like excel.
Thoughts, comments, ideas? This is a rather incomplete thought, but I wanted to get it out there to see if something already existed or if it is even possible currently. So here it is, do what you will with it.