zarqon
Well-known member
Mysterious. vars[] isn't even a static variable -- it's loaded from your file every time you import ZLib -- so I have no idea where Barf Mountain could have come from if you had no such file. Check your mafia folder for any instances of zlib.ash and vars_CrankyOne.txt that may not be in the usual locations. That can sometimes cause confusion like this.
Are all the instances of the problem only experienced by people using Harvest.ash? I've never used it but possibly Harvest is attempting to do something with ZLib settings that I hadn't accounted for. In that thread someone had a settings file with the space in the name not replaced by underscores -- how in the blue blazes would that happen?? ZLib has always replaced spaces with underscores. That makes me suspicious that it's something to do with that script. I should probably go have a look at it.
@Veracity: Haha! NIH syndrome sounds about right! If we can do it exactly the way we want, why accept someone else's version? Or something like that. Most of my scripting energy is going to relay scripts these days and I will spend hours writing simple jQuery code that does what I want rather than add in some (already-fully-developed) plugin that already does what I want -- and 20 other things that I don't need.
Also, I treasure every instance of "Zargon" on these forums.
What I do not treasure is that someone gave ZLib a 1-star rating on SourceForge. This person says: "This is not zlib, this is a js library that couldn't find a proper name." A chronological snob! Now, anyone who Googles "kolmafia zlib" will see that it is rated 1 star in the search results.
Are all the instances of the problem only experienced by people using Harvest.ash? I've never used it but possibly Harvest is attempting to do something with ZLib settings that I hadn't accounted for. In that thread someone had a settings file with the space in the name not replaced by underscores -- how in the blue blazes would that happen?? ZLib has always replaced spaces with underscores. That makes me suspicious that it's something to do with that script. I should probably go have a look at it.
@Veracity: Haha! NIH syndrome sounds about right! If we can do it exactly the way we want, why accept someone else's version? Or something like that. Most of my scripting energy is going to relay scripts these days and I will spend hours writing simple jQuery code that does what I want rather than add in some (already-fully-developed) plugin that already does what I want -- and 20 other things that I don't need.
Also, I treasure every instance of "Zargon" on these forums.
What I do not treasure is that someone gave ZLib a 1-star rating on SourceForge. This person says: "This is not zlib, this is a js library that couldn't find a proper name." A chronological snob! Now, anyone who Googles "kolmafia zlib" will see that it is rated 1 star in the search results.