Search results

  1. C

    Ant compiling some classes to 1.7 despite -target 1.5?

    Has anyone who builds KoLmafia ever ran into the issue where ant decides to compile 1 or 2 classes as JDK7 classes despite being given the 1.5 target directive? I have had it happen before and the quick fix is simply to delete the "build" directory and try again, but I'd like to get to the...
  2. C

    Bug - Waiting for Info Mall sharing connection header being set twice

    Noted here but I figured I would post a bug report in case it gets buried. The "Connection" header is being set to "close" and then a 2nd header is trying to set it to "keep-alive".
  3. C

    CLI "goal" command

    > goal add +2000 electrical thingamabob Condition added: electrical thingamabob (2,000) > goal check Searching for "electrical thingamabob"... Search complete. Purchasing electrical thingamabob (111 @ 2,700)... KoLmafia declares world peace. You acquire electrical thingamabob (111) Conditions...
  4. C

    Feature Type Safety & Visibilty Mega-thread

    I'll post the attachments to some of the type safety and variable/class visibility changes here. I'm keeping the patches for each .java file separate, so whoever decides to review them please let me know which ones you have committed and I'll remove the associated attachments to help keep track...
  5. C

    KoLmafia Veterans: A Java 7 Proposal

    Most of you all know that Java 6 is the official recommended version of Java to be used with KoLmafia. Some of you may not know, however, that Java 6 officially goes EOL in February 2013, just 2 months away! What this means is Oracle will no longer be providing security fixes for Java 6 after...
  6. C

    New Content - Implemented November 2012 IoTM - Nanorhino

    Unknown item found: deactivated nanobots (5910, 842083746) -------------------- 5910 deactivated nanobots 842083746 nanobox.gif grow t 0 deactivated nanobots Free Pull -------------------- New familiar: "Nanorhino" (167) @ nanorhino.gif This is all I have so far.
  7. C

    Feature Copyable proxy record for monsters

    This patch adds a proxy record for monsters indicating if they're copyable or not. ie. > ash $monster[Chester].copyable Returned: false > ash $monster[warwelf].copyable Returned: true The spading data may be incomplete, by default we assume new monsters are copyable. Boss monsters are not...
  8. C

    Feature - Implemented Bare Bones Browser Launch

    In my quest for a better written browser launcher, I found some freely available browser launcher code for 1.5. Bare Bones Browser Launch I've looked over all 40 lines of the code and I think it's very well written. It will use the native getDesktop() method of Java to launch the default...
  9. C

    Feature Bag o' Tricks Charge Tracking

    It'd be great of KoLmafia could keep track of how many times the Bag o' Tricks has been charged in combat. Zarqon's BestBetweenBattle script is currently doing this manually with his own property, but it's calling run_combat() (twice) to do so. If you're using a complicated combat script, that...
  10. C

    Bug Code cleanup in Parser (fixes a memory leak)

    Some general code clean up in Parser.java. Fixes a memory leak with ostream as we were not closing the stream beforehand. Disambiguates the hashing method used in parseRecord for anonymous record type names. Generic type safety fixes.
  11. C

    Bug - Fixed hashCode general contract violations

    I noticed there's two places we're overriding equals() and not overriding the hashCode() method too. Equal objects must have equal hash codes, so I've implemented fairly basic hashing algorithms for the two classes that needed it (request.UseSkillRequest and textui.parsetree.Value) in order to...
  12. C

    Feature Dynamic "Go To" Menu

    Well, this was sort of proposed in this thread and the request had been partially addressed by an existing feature. What wasn't addressed was the removal of the, currently static, menu items which serve no real use (such as the guild link for a Zombie Slayer). Would people actually find this...
  13. C

    New Content - Implemented September 26 - character-pane-slimming toggles

    KoLmafia's charpane decorator (and possibly other things) do not currently fully support these new options.
  14. C

    Bug - Not A Bug Referencing a non-existent map key in ASH should produce an error

    > ash location [string] my_map; (my_map["Non-existent key"]); Returned: none nocombats => false zone => parent => parentdesc => bounty => none I would think this should produce an error because we're not referencing a key with any assigned values, but apparently it's still valid code. When I...
  15. C

    Feature User Scriptable Side Pane (Main Interface)

    Hi Guys, Not wanting to hijack this thread, I decided to create a new post. I'm just wanting feedback regarding the possibility of a user scriptable sidepane, that would be the area highlighted in red on this picture: Basically, what I envisage would be allowing people complete control over...
  16. C

    Feature - Implemented Incomplete monster data (for consistency)

    So apparently a bunch of the monsters introduced in the bugbear invasion haven't been added to the monsters database. I know a lot of the spading is incomplete, but I think it's better to have incomplete data than no data at all. I haven't looked at anything yet, but it appears if you encounter...
  17. C

    Feature - Implemented Add "discardable" and "questitem" attributes for Item Database

    After looking into how we could implement this, I came to the realization that KoLmafia currently has no properties for items which have "cannot be discarded" in their description or items which have "Quest Item" in their description. In order to implement a discard command properly, I think...
  18. C

    Feature Individual folders in "sessions" per character?

    Just wondering if people would find it useful. So in your KoLmafia folder instead of having: /sessions/character1_20120814.txt /sessions/character2_20120814.txt it would be: /sessions/character1/character1_20120814.txt /sessions/character2/character2_20120814.txt I realize that some people...
  19. C

    Type Safety / Generics

    Since the codebase has been officially moved to Java 1.5, I'm just wondering if there were plans to migrate existing definitions over to use generics? Should any submitted patches also use generics where appropriate?
  20. C

    Bug - Fixed visit_url POST requests send "pwd" to non-KoL servers

    This has been around for ages and I'm kinda surprised bumcheekcity/fewyn/zarqon haven't noticed these arriving on their servers, as they'd collectively be running the most popular servers externally visited by ASH scripts. I don't know why it has taken me until today to report this, because it's...
Top