Search results

  1. P

    Why does the following code creat an endless loop?

    I'm more than a little sleepy (but the construction outside prevents sleep), so I fully expect to get a "duh" feeling after someone else looks it over. That is why I'm not reporting it as a bug yet. print( count( ItemList[ "Closet"]) + " Closet", "red"); if( count( ItemList[ "Closet"]) > 0)...
  2. P

    Stat Item User

    Quick update: I noticed a little code error and fixed it. Since my last foray with Mafia a few years ago, some useful functions have been added. Most notably stat_bonus_today(). My previous attempt at a script that remembers to use your stat items is here. What it Does: If it is a stat...
  3. P

    Marble Collector

    Marble Collector (Updated) A simple script to handle "upgrading" marbles to work for a complete collection. What it Does: It checks for, and uses any tiny or small slimy cysts in your inventory (and optionally your closet, display case, and/or Hanghk's). It will then check and attempt to...
  4. P

    Re: "Don't be an asshat"

    Re: "Don't be an asshat" I have very little opinion to add... But I will add my thoughts. Spoilers: Mafia is inherently spoilerish. Scripting for mafia is at least as much so. Spoilers should not be a problem, as long as there was not spoiling simply for spoilings sake. Multi Abuse: This is a...
  5. P

    Re: Culture of the Forum....

    Re: Culture of the Forum.... I won't speak for anyone else, but I never wanted to make this a pay service. I do not mean I would be opposed to scripters getting meat... I just never had any plans to charge for my help. I would guess most of the community is like that. If any of us were...
  6. P

    AT Song Name Changes

    It appears that the names of the songs, and some of the effects have changed. That may make Mafia act a bit weird... Not to mention scripts that try to detect those things. I'll report anything I notice once rollover is finished.
  7. P

    MuseumStockUp v1.95

    Alright, I have completely rewritten this script to use Maps. The result is a faster, and more server friendly item manager. There are a handfull of user defined functions at the top. havemuseum() You will want to set this to true if you want the script to place items in your display case...
  8. P

    I need help with putting stuff in my store...

    I am taking efilnikufecin's lead, and trying to make my item handling script more server friendly. The problem is, there are 11 (yes, that is ridiculous. It isn't even funny.) items that it just doesn't want to put in the store. They are the same items too... So. For starters, if someone would...
  9. P

    Item Detection Problems

    Lately, there have been some item reworks on KoL. This causes Mafia to balk. It is not Mafia's fault directly... But it does cause hassles for the users. The simplest work around, is to move these troublesome items to your closet. It is by no means perfect... But it should help you continue...
  10. P

    KoLmafia Praise

    No matter how it may appear, I really enjoy Mafia. It has kept me in KoL for a long time after I would have just left the game. And because of that, I have been privileged to witness the new content. (Even that which I do not agree with. ;) ) Every one who works on Mafia has my respect, and...
  11. P

    Newest build (608) has a glitch in the import ability. [617 seams to fix it]

    Yes, I'll be passing this on to more appropriate persons... But I thought I would share for the benefit of those that might not notice otherwise. Mafia will error out if you have a main function defined in an imported script. I have attached the debug log for any who care to read it.
  12. P

    Keeping track of Integers with get_property().

    As I mentioned in my discussion thread I needed a way to keep track of numbers accross sessions ans scripts. Well, Veracity went the extra 9 yards to implement the functions I needed earlier today. :P But they are not live yet... Anyway, here is my workaround. Even if this hadn't gone...
  13. P

    What happened to the spellcheck?

    Maybe it was under used... But I thought that was a great part of this forum. Something that I wished was on every forum I visited. Is it coming back? Am I the only one who cares?
  14. P

    Any of you clever people...

    ...have any idea of how to convert a string to an integer? I am trying to use the set_property() and get_property() functions to help me automate my protesting. But in order to do that correctly, I need the results of get_property() to be an integer. From what I can determine, there is no...
  15. P

    Re: Puttin' on the PJ's revisited.

    Re: Puttin' on the PJ's revisited. I had written a script to outfit you with the best outfit available for rollover. But between several factors, including lack of time and the sheer size of the task of trying to take into account all possible items - I let the project lapse. Now that I have...
  16. P

    Quest Compilation (minor)

    I have put together my 2.5 quest scripts into one script. Tomorrow, I will be high enough level to test the Orc Chasm part of it. And, I need to retest the friars part to verify it's quality... But here is the script. It is designed to be stand alone, or you could import it if you want.
  17. P

    Set Castle Wheel to Minimum Stat

    As requested by Salculd (on the KoL Gameplay forums): stat minstat() { stat currentstat; currentstat = $stat[muscle]; if( my_basestat( currentstat) > my_basestat( $stat[mysticality])) { currentstat = $stat[mysticality]; } if( my_basestat( currentstat) > my_basestat( $stat[moxie])) {...
  18. P

    MuseumStockUp v1.0 (Updated)

    ::Removed due to being outdated::[hr]Okay. This script is ready to roll out. Now on with the show! WARNING: You must (still) open the display case manually first to get the script to function properly. Or else it will try to double up your display case amounts. There are 6 "user defined"...
  19. P

    BetweenFight Script.

    Well, I figured I would throw up (all puns intended) my in between fight script. Naturally it is still a work in progress... There are a couple more buffing skills I would like to add in there... And maybe a check to make sure that I have an MP restoring familiar... But feel free to...
  20. P

    Stat Booster User.

    I have a tendency to hoard sub stat boosters. I never check my inventory for them... So I thought I would write a simple script for it. Well, I can't write a simple script anymore... :P After a few mutations, the following code block is what I came up with. Problem is, it errors out. No...
Top