Search results

  1. S

    Mafia stopped working, and I'm out of ideas.

    >.< ...January 9, 2002! Fixed the date and everything works fine. Thanks so much for the help! You guys are the best.
  2. S

    Mafia stopped working, and I'm out of ideas.

    This is the error: >java -jar kolmafia-7960.jar Exception in thread "main" java.lang.ExceptionInInitializerError at net.sourceforge.kolmafia.AdventureResult.<init>(AdventureResult.java:208) at net.sourceforge.kolmafia.KoLmafia.main(KoLmmafia.java:330) Caused by...
  3. S

    Mafia stopped working, and I'm out of ideas.

    So... I went on vacation over christmas, and before I left, I cut the power to everything in the apt to save energy. I changed NOTHING ELSE. When I got home, I switched on the power, tried to run Mafia, and... nothing. Tried the .jar file... and nothing. Didn't run, didn't give an error...
  4. S

    Choice adventure data?

    Hi all, I was wondering if anyone could tell me how/where Mafia stores info on choice adventures? For example, where are the 'spoilers' for each choice kept? Similarly, is there a listing of what choice adventures occur in each zone (I mean like a data table - where does Mafia pull the info...
  5. S

    visit_url() caching issues?

    This is just sample code, actually. What the actual script does is go through Mafia's effect list and parse the wiki pages for those effects to get all the items that generate them and their corresponding turn counts. Most effect names can be tacked directly onto the main wiki url to get the...
  6. S

    visit_url() caching issues?

    So here's a funny problem. The following code retrieves and compares the lengths of two wiki pages: void main(){ string SS = "http://kol.coldfront.net/thekolwiki/index.php/The_Sonata_of_Sneakiness"; string SSE =...
  7. S

    Recursion issue with maps

    Awesome! That's much easier than working around it. Thanks!
  8. S

    Recursion issue with maps

    There was a forum topic here a while back regarding frame issues when doing recursion. I appear to be having the same problem, but with maps rather than variables. The following code: void recur(int[int] passed_map, int iteration); void main(){ int[int] map; map[1] = 1; recur(map, 0); }...
  9. S

    item_type() for spleen items?

    Hi all! So, I can call item_type() for a food item and it returns "food", likewise it returns "booze" for any drinks. Is there a reason it returns nothing for spleen items? Is there a way to test whether an arbitrary item is a spleen item? I'm doing some work on a basement -diving script and...
Top