I'm getting this error when the script tries to run:
I'm using the latest version of KoLmafia from the daily builds (r19901 as of this writing) and the script manager didn't find any updates for the other scripts, such as zlib.Code:Function 'string_to_int( string )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. (auto_mushroom.ash, line 482)
It ribond86 still around? Nobody with that name in KoL.
There are 3 lines in planting/auto_mushroom.ash that need to be changed to have "to_int()" rather than "string_to_int()".
Just to make it super easy, I attach that file with the appropriate edits.
Hopefully ribond86 will update the script in his/her repository so that svn update will update it for people.
Edit: That would be "rlbond86", not "ribond86". There is a user with that name on KoL. He last logged in two years ago - March 17, 2018.
Edit 2: I updated the file in svn, so just "svn update" to get it.
Last edited by Veracity; 03-24-2020 at 05:29 AM.
I sent him a message on sourceforge, pointing out the issue.
I also offered to fix it myself, if he gave me commit access to the repository.
This looks like a cool script, for people who are in aftercore for a long time.
It's worth keeping.
He gave me commit access, so I updated the script.
Just use "svn update" to get the latest version.
I confirmed that the update has fixed the issue. Thanks!