Search results

  1. raorn

    A bit of self-adverizing and explainations

    As you can see from my latest posts I've created several scripts for KoLmafia, mostly relay-overrides. Most of these scripts tied to each other and I don't think it's very comfortable for most users to jump from topic to topic downloading files one by one and putting this all to KoLmafia...
  2. raorn

    Personal script settings (no need to edit scripts)

    Account page looks more reasonable, since relay scripts can have it's own configuration page. I'll do it.
  3. raorn

    Mad Hatrack equip helper (relay override)

    It is possible with latest KoLmafia changes. I mean get_inventory() and item_type() functions. How would you like to see it?
  4. raorn

    fight.php override - action buttons and a little fight-related library

    New options for fight_buttons: maxSkills - maximum number of configurable skills, not counting always-present buttons (like Attack, Steal, Run Away). 1 to 11, default is 11. autoLearnMode - "work like KoLmafia" mode. Add skills to buttons list when using a skill. Default is off...
  5. raorn

    Mad Hatrack equip helper (relay override)

    Not sure if it should belong to Relay-overrides section. This script adds hat effects to familiar.php page. relay/familiar.ash - simple wrapper script for merging multiple scripts in one. relay/familiar_hatrack.ash - script itself. This may mess up your familiar name if it matches with some...
  6. raorn

    Discussion: Standards in relay over-ride scripts

    In this case I would like to know current page. Like, "fight.php", "choiceadv.php", "sewer.php", etc... In short, I would need something like RelayRequest.getPath() in ASH library.
  7. raorn

    fight.php override - punchcard helper

    Simple disco combos-alike punchcard helper. relay/fight_el_vibrato.ash - script itself. data/el_vibrato.txt - construct data. relay/fight.ash and lib/fight_helper.ash - wrapper script and helper library (don't forget to enable fight_el_vibrato.ash in fight.ash!). lib/html.ash - HTML helper library.
  8. raorn

    fight.php override - Disco Combos

    My rewrite of Disco Combos script by holatuwol. relay/fight_disco_combos.ash - the script itself. relay/fight.ash - wrapper script. lib/html.ash - HTML helper library.
  9. raorn

    fight.php override - simple rounds-to-survive data.

    It adds combat-rounds-until-death count below monster name. Not very accurate, however. relay/fight_info.ash - script itself. lib/scriptproperty.ash and relay/script_settings.ash - custom script settings framework. relay/fight.ash and lib/fight_helper.ash - wrapper script and helper library...
  10. raorn

    fight.php override - action buttons and a little fight-related library

    Read first post for more info. Have fun ;-)
  11. raorn

    Simple HTML library

    Simple HTML library inspired by Ruby on Rails' ActionSupport::Helpers class. Nothing complicated, just a simple way to create forms. (should be put in lib/ subdirectory)
  12. raorn

    Personal script settings (no need to edit scripts)

    This is fun, but it only allows simple string options to be edited. On the other hand, in relay "helpers" main() function is never used, so i decided to make simple HTML generation library (maybe something like Ruby on Rails' ActionView::Helpers class) and put script settings into script...
  13. raorn

    Personal script settings (no need to edit scripts)

    OMG! PONIES! I just wrote ASH web application that runs on KoLmafia Relay Server. I feel weird... Download scripts from first post, put scriptproperty.ash to lib/ and script_settings.ash to relay/ folders. Then paste ``javascript:void(mainpane.location="script_settings.php");'' to your...
  14. raorn

    Discussion: Standards in relay over-ride scripts

    ASH implementation. Main disadvantage is that I need to edit script to add something and check for namespace intersections. Things could be much easier if KoLmafia can do this job automatically. import </relay/fight_buttons.ash>; import </relay/fight_info.ash>; //import...
  15. raorn

    fight.php override - action buttons and a little fight-related library

    Preview of my figth-relay megapack ;-) I haven't tested it yet, so I'm not posting it to first message. fight_lib.ash - DB's Epic gives bonus damage to DB skills, better damage (and defense damage) estimates for unknown monsters, fixed DA calculations, added special monsters (Ratsworth, FoB...
  16. raorn

    fight.php override - action buttons and a little fight-related library

    Damn. I double checked KoLmafia sources (RuntimeLibrary and BasementRequest classes) and was 100% sure that damage_absorption_percent() returns 0..1 range. Both formulas looks the same, except in one case it was divided by 10 and in other case it was multiplied by 10 ;-) Thanks.
  17. raorn

    fight.php override - action buttons and a little fight-related library

    Weapon damage is zeroed, then TT combo damage (if any) is added. Only TT skills/combos adds damage to melee attacks. will_surely_miss (need to rename it back to "unknown_base_damage") is set to true, damage displayed as "?+range" if range is greater than zero, 0 otherwise. Monster defence...
  18. raorn

    Discussion: Standards in relay over-ride scripts

    In this case only autoloading of "wrapper" scripts makes sense. Can you check mtime of a script and reload it if it's changed?
  19. raorn

    Discussion: Standards in relay over-ride scripts

    When talking about "several scripts on one page", don't forget about visit_url() function. If I understand correctly, KoLmafia calls relay script before executing request to KoL server. This is what visit_url() does. However, URL parameters still accessible to script. Look at "disco combos"...
  20. raorn

    fight.php override - action buttons and a little fight-related library

    I was planning this script as a general purpose fight library. Feel free to use it. Doesn't Mafia handles them itself? No problem. Attach your changes (unified diff is great if you know what I mean) and I'll import your modifications.
Back
Top