Search results

  1. phreddrickk

    Bug Stat Experience Modifiers written oddly in certain tracking preferences

    The preferences nextStillsuitMods, currentStillsuitMods, _mummeryMods, and presumably certain other mods have a quirk about how they express certain numeric modifiers. Here's an example value of a nextStillsuitMods provided by @SSBBHax: Experience (Muscle): +11, Experience (Mysticality): +9...
  2. phreddrickk

    Bug Habitat (and presumably Gregarious) encounters in Gingerbread zones not incrementing _gingerbreadCityTurns

    > Now running Witchess Rook fight: Backup. Stay tuned for details. [695] Gingerbread Civic Center Preference lastEncounter changed from gingerbread convict to Witchess Rook Encounter: Witchess Rook Preference _monsterHabitatsFightsLeft changed from 1 to 0 Round 0: Tinsin wins initiative! Round...
  3. phreddrickk

    New Content - Implemented Mall Cap Raised, Meat Cap Raised, Certain Mall Items Repriced

    Looks like the repricing functions in mafia are now weird Some items that are currently sold at the old mall cap are also behaving weird in mafia's mall functionality There's probably more stuff afoot, but I figured just getting the conversation started would help.
  4. phreddrickk

    Bug NPE caused by JS script

    As an update for myself, not using a choiceAdventureScript does stop this error, it is causal.
  5. phreddrickk

    Bug NPE caused by JS script

    I wasn't running the darts, but that's what my choice adventure script was designed for. Croft, what exactly were you doing when you hit the debug? Was it in response to the chained choice after the combat? For what it's worth, a more full detailed explanation of my issue is: - I run a script...
  6. phreddrickk

    Bug NPE caused by JS script

    I've hit this error during the Tunnel of LOV recently, after I started using a choiceAdventureScript. It happens as I move from the LOV combats to the subsequent choice adventures (which are handled by prefs, and not by the choiceAdventureScript). Seem to have gotten it as early as the 19th, so...
  7. phreddrickk

    Bug toJson fails for nullish values

    > js toJson({ x: null }) Unexpected error, debug log printed. > js toJson({ x: undefined }) Unexpected error, debug log printed. Debug log attached
  8. phreddrickk

    Bug - Fixed familiar[].experience readout capped at 400 for your active familiar

    This has changed, and is now resolved. I hope it doesn't have weird downstream problems for mafia!
  9. phreddrickk

    Bug - Fixed familiar[].experience readout capped at 400 for your active familiar

    api.php is at fault for this; you can check it with a quick /goto. I filed an in-game bug report about it, because while I'm sure it was deliberate at some point, between the chest mimic and pocket prof it's a real thorn in my side now. If you're able to personally lobby CDM to update this...
  10. phreddrickk

    Bug _speakeasyFreeFights not incremented

    Unfortunately, this will be incorrect behavior for backups, CLEESHes, and possibly stuff like professor fights.
  11. phreddrickk

    Bug - Fixed Using a map to a candy-rich block and then adding the rest to the mall doesn't actually work

    Mafia also seems to not handle the redirect to the trick-or-treating NC here, I assume that's related to the inventory desync.
  12. phreddrickk

    Bug Turtle Taming encounters don't increment _gingerbreadCityCombats (but should)

    I assume this is also a bug with June Cleaver NCs--someone should double check this--but I know it's an issue for turtles. I originally filed a KoL bug report, because that feels like it's unintended behavior, but CDM has canonized it as intended, and so now it's a mafia bug report. EDIT: It...
  13. phreddrickk

    Feature - Implemented Book of Facts: Monster Items/Effects/Etc

    Sent debug html via other means
  14. phreddrickk

    Feature - Implemented Book of Facts: Monster Items/Effects/Etc

    I just had a sort of funny bug. I backed up a Knob Goblin Embezzler against a Bigface as a Pastamancer in aftercore, and at the end of combat: Embezzler is, as you can see, not a pocket wish monster. But bigface is! So backup is messing this up a little, it seems. It's worth mentioning that...
  15. phreddrickk

    Feature - Implemented Book of Facts: Monster Items/Effects/Etc

    I'm 80% sure there isn't a thread for this. Which is fine! The item is 90% implemented. But there is a missing 10%. When you have the Book of Facts (or, more accurately, the skill "Just the Facts"), fighting monsters gives various things: some monsters drop items, others give effects, and so...
  16. phreddrickk

    Bug - Fixed Javascript toJson leaves object keys in underscore_format rather than camelCase

    and Interesting that the keys are in a different order, but looks more or less correct
  17. phreddrickk

    Bug - Fixed Javascript toJson leaves object keys in underscore_format rather than camelCase

    Garbo (and one or two other scripts I maintain that have used toJson) doesn't actually care about this change, because we're never translating mafia constants to json, but rather relying on it to make objects that contain mafia constants legible: In general, I agree that this is somewhat...
  18. phreddrickk

    Feature Functions as first-class objects in ASH

    I don't actually have an intended use case here, admittedly, it was just an open question I had upon reading your post. It was mostly motivated by the fact that ash (to my knowledge) lacks union types and generic types, and so I think you'd need an overload to specify a single function that can...
  19. phreddrickk

    Feature Functions as first-class objects in ASH

    There are a few ash functions that currently accept strings that are the names of functions. There is special handling to let js pass functions as those arguments instead; e.g., in adv1, js users can input a combat filter function as an actual function. e.g., I can do function handleCombat(page...
Back
Top