no doubt it took me forever to find this last time. Then I had the brilliant idea of just watching the script in the graphical CLI to see what it was doing and it turns out it tells you the names of the variables when it runs. So for instance, if it says:
> BCC: We have not completed the stage [Manorbathroom].
then your variable name has that "Manorbathroom" in it. You can find the whole variable name under kolfoldername/settings/username_prefs.txt but all you do is add the prefix bcasc_stage_ to what the CLI shows
bcasc_stage_manorbathroom=xx
then you can do
set bcasc_stage_manorbathroom
to find the number, which I guess is set to the ascension number when you finish it, so you just add 1 to whatever it shows
set bcasc_stage_manorbathroom=xx
I remember it took me ages to find this number the first time. Of course once you realize that the CLI is telling you what the variable name is, then it's not too hard to figure out.
Agree with Ferdawoon would be nice to have this somewhere easy to find, no way I was able to grep through all the 500 comments here and find it.
Ahhh, I found all those "you have completed X and we need to set it as such. set_bcasc_[stage]=XYZ" but did not realize it was the number of my ascension it was doing! I thought it was some kind of internal script-based counter to just keep track of at which stage a character was. And since me downloading and deleting settings that the number had not properly been saved and that there would be no way for me, except going through all the script and understand each part of it, to find which number I was ment to use =/
It would seem that doing set_bcasc_[event]= #of completed ascensions as seen on character pane, will be how to set it as finished. Which seem to work with the memory I have where it was to be set along with something that was equal to ascension or something similar.
First I always exit KoLmafia and edit the character prefs file because I cannot remember the variable names, the gCLI option to set or clear something and whether the data is string or an ascension count or what. All of these things are easily answered but for me it is much simpler to infer the answers by looking at the file. IMO. YMMV.
Second, rather than improve a first post that no one is likely to read perhaps a better option would be to use the wiki for BCCA "How To?". I can see a page that reminds you that "set X = Y" (or similar) will set preference X to the value Y, has a table with the names for X and a brief description of the data type for Y. Eventually a description of what the preference controls could be added. It is certainly a reasonable idea given that there is even a zLib page.
Specifically, however, BCCA has (had) several issues with the Lady Spookyraven quests. It is checking for log entries that do not exist and thus failing to detect completion. This may have been addressed but since it is only a problem for me when I fail to start and complete all the portions in one session I'm not sure.
I'm no hardcore coder and I absolutly need babysitting when it comes to scripts not working properly /Hence why I tend to pester poor Winterbay on facebook whenever I dont understand something). However, I have spent time enough time on forums, and trying to find solutions to scripts here on this one, so I always go check the first post of a thread. Not to mention, that is the place where the svn code to install a script tend to be and I can copy+paste it from there. I guess I am part of the generation who don't read the manual before plunging head first into working with new tech, but still keep the manual close enough in case something goes horribly broken and I want to see if it is in the FAQ =D
Last edited: