Revision 20151 creates AscensionPath.Path object which is used internally in a bunch of places.
I considered also modifying AscensionSnapshot and AscensionHistoryRequest, which are two other places that need to change when a new path comes, but punted, for now.
New ASH functions:
int path_name_to_id( string )
string path_id_to_name( int )
Lets hope I didn't break anything; all of my characters are in aftercore.
seems like path_name_to_id( string ) has an error
> ash return path_name_to_id("oxy")
Unexpected error, debug log printed.
Script execution aborted (java.lang.NullPointerException): ()
(the others work)
"oxy" is not the name of a path; we don't do fuzzy matching.Code:> ash path_id_to_name( 3 ) Returned: Oxygenarian > ash path_id_to_name( 3 ).path_name_to_id() Returned: 3
I'll fix the NPE, but I think you'll get a -1 or something.
Not a bug report, per se, at least not for KoLmafia, but the following scripts have a function of the same name and will now fail until someone modifies the scripts:
Ezandora's - Bastille, Guide, Asdon Martin, and Pocket Familiar (Helix Fossil).
Thank you Veracity. You even caught those I didn't have installed and didn't think to look for.
Last edited by Magus_Prime; 06-08-2020 at 09:01 PM.