Search results

  1. Ulti

    farm-barf-mountain.ash

    This script pre-dates the others you mentioned. My experience with other such scripts at the time would be they wouldn't do what you expect them to do if assumptions weren't met. There were too many times a script would run rogue on me and over-drink with 300 adventures left, an infinite loop...
  2. Ulti

    farm-barf-mountain.ash

    Getting back into scripting and planning on working on a new release within the next week or two. If you use this script, let me know if you have any change requests for it and I can probably code it in along the way.
  3. Ulti

    Bug - Fixed get_player_id() doesn't work for specific player

    I ran into this issue with the player "I am I " due to his tailing space, so I wrote a workaround fix like so: ash string safe_get_player_id(string playerName){string p = get_player_id(playerName);return (p == playerName)?get_player_id(playerName+" "):p;};safe_get_player_id("i am i") It will...
  4. Ulti

    MultiCAB - Show an extra Combat Action Bar

    Oh wow, wish this existed when I was doing leaderboard runs.
  5. Ulti

    EXE Builds

    I like exe builds just for the custom icon. But, as per this thread, I use a shortcut to a bat so I can set a custom shortcut icon. Then my bat is coded to run the latest jar file stored in my kolmafia directory. Finally, so the shortcut doesn't clutter my desktop, I place it in my windows start...
  6. Ulti

    Multiline strings in ASH (potential feature?)

    What I don't understand is why can't the code which interprets Ash, and runs it as Java, handle function overloading in more of a C++ fashion. In C++ the overload resolution sequence is in the following order: 1) Exact signature and argument type match 2) pointer or reference to constant...
  7. Ulti

    Multiline strings in ASH (potential feature?)

    With no functional gain other than readability, I'm in support of the idea since I feel Ash is lacking in its readability. With downward compatability in mind, I'm in support of the Perl/PHP multiline syntax used in your first snippet: print("yay world");//No downward compatability issues The...
  8. Ulti

    Weird name highlighting issue

    Ah, no wonder I couldn't find it in ultibot_prefs.txt, it's a global preference and saves it in GLOBAL_prefs.txt. I forgot about that file. Thanks!
  9. Ulti

    Weird name highlighting issue

    For some reason whenever my username appears in mafia's chat or gcli, it highlights the "ulti" part of it. For example if I execute: ashq print('ultibot'); It appears in the gcli like so: Notice the ulti part of my name is colored #735557 while the bot part is colored #373938 like so: ultibot...
  10. Ulti

    Thought I'd share a .bat file I wrote for executing the latest KoLmafia-*.jar build

    I kind of like that one. Does anyone, which is good with graphics, wanna try drawing KolMafia a new login banner? I'd advise brainstorming first regarding what should go on it. Work on some sketchings, then when you know what to do, make some final adjustments to the sketching, color it in...
  11. Ulti

    Thought I'd share a .bat file I wrote for executing the latest KoLmafia-*.jar build

    That's right Bale, anything in the /src/images directory can be used with loginWindowLogo. No fronobulax, it doesn't use a jar, but it does hard-code the directory it uses: LoginFrame.java public JPanel constructLoginPanel() { String logoName = Preferences.getString( "loginWindowLogo" )...
  12. Ulti

    The kolmafia wiki fast again

    Should be rather easy in vBulletin to select two posts from here and move them to there. If I remember correctly, a moderator just needs to click the checkbox on the posts to move, then press "Move Posts" followed by specifying the thread. The posts will be moved to the specified thread and...
  13. Ulti

    The kolmafia wiki fast again

    Speedy fast for me now. 1 second per page load. The highest lagging page after a series of clicks was about 2 seconds for me.
  14. Ulti

    Thought I'd share a .bat file I wrote for executing the latest KoLmafia-*.jar build

    My setup looks something like: kolmafia/scripts/ kolmafia/relay/ kolmafia/KoLmafia-16261.jar kolmafia/KoLmafia-16396.jar Eventually, I got sick of navigating to my kolmafia directory and finding the latest jar file to open, so I wrote a .bat file to open the latest jar file. @echo off...
  15. Ulti

    The kolmafia wiki fast again

    It's always been slow or non-responsive. If you try to make a high quality contribution to the wiki, and thus have to click back and forth a lot, that contribution can take an hour simply for all the pages to load collectively. When I said "fast again" in the thread title, I meant back to the...
  16. Ulti

    Conditional Compilation?

    Mafia can handle multiple imports of the same redundant file such as import <zlib.ash>; and mafia will treat the second import as redundant since it knows it was imported already. But Mafia can't handle the issue of circular inclusion, as you've noticed. Let's say you had a setup like so...
  17. Ulti

    Feature cronjob-like setting

    Just wanted to bump this request because I thought of another use for it, auto-equipping your rollover gear near rollover without getting sworded or staphed, based on a cronjob-like setting, maybe 5 mins to rollover.
  18. Ulti

    The kolmafia wiki fast again

    Thanks for fixing the kolmafia wiki. (Not sure who to thank) I look forward to contributing again to make it a better resource now that the pages are loading faster.
  19. Ulti

    farm-barf-mountain.ash

    Version 1.3 is here. Added Deck of Every Card usage, "knife", "Ancestral Recall", and "island", in that order. Also added a check for "QWOPped up" due to how EatDrink.ash is written and can gain you such a negative effect, and shrugs it if detected since it can be lethal to the script, getting...
  20. Ulti

    EatDrink.ash: Optimize your daily diet (and see how your old diet stacks up).

    Is there a way to test in KoLMafia if a specific effect is a negative effect? Then I could add logic for any negative effects gained from eatdrink(...) to have them shrugged.
Top