Search results

  1. ckb

    Feature - Implemented Persistent command history / control history size

    There is some advantage to having this as a Global pref, in that if you are testing a command or debugging something, it is nice to be able to log out of Mafia, switch characters, and test some more. A Global pref preserves this.
  2. ckb

    Feature - Implemented Allow monster EA: none

    Some monsters that are elementally aligned also do physical damage for some attacks. We currently allow for monsters to have multiple attack_elements. These are listed in monster.txt as EA: element, parsed in MonsterData.java. @Veracity added some parsing for This Monster Data Feature...
  3. ckb

    Bug You are too drunk to continue

    Another thing I noticed is that I get Familiar weight mismatches, with Mafia reporting: Familiar weight: KoL = 98 KoLmafia = 97 When this happens, I sometimes see the inebriety_limit change in the sidepane in the GUI, so maybe Mafia is doing some recalculation of things then as well?
  4. ckb

    Bug You are too drunk to continue

    I believe this is happening during my SetState(), which is this: record ckbstate { location loc; //location familiar fam; //familiar int[slot] qip; //equipment string[int] mod; //mood boolean ode; //Ode to Booze string ste; //source terminal educate string hos...
  5. ckb

    Bug You are too drunk to continue

    After my last run, I tried to replicate this issue. While I did not have Mafia abort with the "You are too drunk to continue" error, I did see the sidepane lash from 15/15 to 15/14 then back to 15/15 as the script ran. I had debug on, and trimmed the log and the debug to when it happened...
  6. ckb

    Bug incorrect free rest count

    charsheet.php contains: <a onClick='javascript:poop("desc_skill.php?whichskill=197&self=true","skill", 350, 300)'>Long Winter's Nap</a> (<b>HP</b>) standard.php contains: <span class="i">Long Winter's Nap, </span>
  7. ckb

    Bug incorrect free rest count

    Mafia was burning 5 adventures resting when I expected to use only free rests (In a SMOL run): > ash my_path() Returned: A Shrunken Adventurer am I > ash total_free_rests( ) Returned: 11 > modtrace free rests...
  8. ckb

    Bug You are too drunk to continue

    I had this happen again today, and verified that a modtrace will fix the problem. > ash my_inebriety() Returned: 20 > ash inebriety_limit() Returned: 14 > modtrace liver type source...
  9. ckb

    Bug You are too drunk to continue

    Looking back over the rest of the log, I fight a photocopied monster [Knob Goblin Embezzler] with professor staring at [608], and run through a LECTURE ON RELATIVITY loop until fighting the final KGE on turn [621]. My afterAdventureScript runs, which includes: string aat =...
  10. ckb

    Bug You are too drunk to continue

    My afteradventure script contains: if (my_inebriety()>inebriety_limit()) { print("drunk check","olive"); } I was looking at the sidepane in the GUI, though my recollection was that I would get the error whenever that was incorrect. Mafia definitely knew I had the correct skills - I did a...
  11. ckb

    Bug _speakeasyFreeFights not incremented

    If you run a free fight at the Barroom Brawl via non standard means (like visiting during Teleportitis), property "_speakeasyFreeFights" is not incremented. This happened in my last run. [316] The Enormous Greater-Than Sign Preference lastEncounter changed from Typographical Clutter to...
  12. ckb

    Bug You are too drunk to continue

    OK, this happened again. I got the 'You are too drunk to continue.' after I use a photocopied Embezzler then went through a relativity loop, then fought a sausage goblin. I do not have a debug log, but here is the session info. Strangely, it was tricky to get Mafia to recognize my current...
  13. ckb

    Bug You are too drunk to continue

    I encountered this again, but after days of running my aftercore script with no problems. It seems to happen if I have drunk to capacity, then something happens in the script that causes an abort, then I restart and I get the "too drunk" error. A 'refresh all' fixes this. Sorry I do not have...
  14. ckb

    Bug You are too drunk to continue

    This is not quite completely fixed in r27647. I logged in, then was away for a few hours. My login timed out, and when I tried to do something in Mafia, it auto-logged in again. I tried to run some adventures but was given the 'You are too drunk to continue' error, with inebriety 20/14. I am...
  15. ckb

    Exactly how do counters work/where is information stored?

    Hope this helps: > counters Unexpired counters: Digitize Monster (82) > ash get_property("relayCounters") Returned: 1140:Digitize Monster loc=* type=wander:watch.gif > ash get_counters("digitize",0,950); Returned: Digitize Monster > ash get_counter("Digitize Monster") Returned: 82
  16. ckb

    Bug You are too drunk to continue

    As a hacky fix, I added this to my afterAdventureScript if (my_inebriety()>inebriety_limit()) { visit_url("charpane.php"); } That will reset Mafia's inebriety_limit
  17. ckb

    Bug You are too drunk to continue

    I logged out and logged back in again after adventuring and overdrinking. Mafia now reports inebriety_limit() = 14, still with +6 Liver Capacity. Opening and refreshing the Relay browser (and the charpane) correct this to inebriety_limit() = 20
  18. ckb

    Bug You are too drunk to continue

    Some other things I noticed: This problem does not happen with older builds (r27596) In my adventures today, I did not have the relay browser running. Loading the relay browser fixed the problem (I assume because it loaded and parsed the charpane)
  19. ckb

    Bug You are too drunk to continue

    Dev note: if you encounter this issue, then just typing "modtrace liver" in the graphical CLI should be an effective workaround. If not, then it should outline what Mafia thinks contributes to your liver capacity (and either is missing something or has the wrong value for one of these sources --...
  20. ckb

    BeachComber - fast and efficient beach combing

    Unknown variable 'int_array' (BeachComberData.ash, line 100, char 5 to char 14) Expected ;, found array (BeachComberData.ash, line 100, char 15 to char 20) Unknown variable 'array' (BeachComberData.ash, line 100, char 15 to char 20) Function 'parse_json_int_array( buffer )' undefined. This...
Back
Top