Scripts on SVN

Bale

Minion
Shore InfoBaleAdds useful info and protection to Shore, Incsvn checkout https://svn.code.sf.net/p/bale/relay/code/shore/

Removed because it has been useless since the shore revamp happened. If anyone installed it, you should remove it now.
 

Bale

Minion
This thread's information is now part of KoLmafia's script manager. :D

Scripts -> Script Manager

I only really intended for it to be a gateway to adding it to KoLmafia so I might stop updating this list soon. I will definitely stop updating once the feature is considered complete.

In the meantime, script authors who wish me to change their scripts description in the KoLmafia Script Manager, either short description or long description, should post that preference here along with their preferred wording. Thank you.
 

Bale

Minion
I've added full descriptions for every single script in the Script Manager.

I encourage scripters to look at what I've written about their scripts and tell me if it isn't good. You can post your answer in this thread.
 
Last edited:
Automatic SVN script update hung infinitely today - wouldn't update anything :S Being a Git user, I have no idea what went wrong - if someone can shed some light it would be most appreciated.
 

Bale

Minion
Dunno, but that has nothing to do with this thread which is basically just a place to make a list. Perhaps you could make a bug report?
 

Bale

Minion
Added Best PvP Gear by zekaonar


Code:
 {
  "repo": "https://svn.code.sf.net/p/zekaonar/code-0/PVPBestGear/", 
  "author": "zekaonar", 
  "name": "Best PvP Gear", 
  "forumThread": "http://kolmafia.us/showthread.php?15347-Best-PVP-Gear-optimizes-balances-for-8-mini-games", 
  "shortDesc": "Optimizes and balances gear for PvP mini-games", 
  "category": "action", 
  "longDesc": "This script will help you optimize your gear for the PvP mini-games: Laconic Dresser, Verbosity Demonstration, Showing Initiative, The Egg Hunt, Meat Lover, Broad Resistance Contest, Lightest Load and Letter of the Moment. The script will check which mini-games are active and will retrieve the letter of the moment on each run.<p>There are options to buy cheap mall gear (default is 1k or less) superior to what you possess and provide a comprehensive list of the best gear in-game with wiki links to research how you may acquire it."
 },
 

Fluxxdog

Active member
I'd like to add mine. I finally made the transition for my Superdrinks script. Been over a year since I had to make any changes, but the Warbear distillery showed me I needed a little tweak.

[URL="http://kolmafia.us/index.php?threads/4703/"]Superdrinks for Fun and Profit![/URL]
fluxxdog
Automates making Superdrinks if you have still access.
[noparse]svn checkout http://fluxxdog-coding.googlecode.com/svn/trunk/superdrinks/[/noparse]
 

Bale

Minion
I've added that to the SVN Script Manager as...

Code:
  {
  "repo": "http://fluxxdog-coding.googlecode.com/svn/trunk/superdrinks/", 
  "author": "fluxxdog", 
  "name": "Superdrinks for Fun and Profit", 
  "forumThread": "http://kolmafia.us/showthread.php?4703-Superhuman-Cocktailcrafting-script", 
  "shortDesc": "Automates making Superdrinks if you have still access", 
  "category": "action", 
  "longDesc": "This script is for whipping up Superhuman drinks. This is intended to be run as part of a beforeBattleScript. If you have your own, or use BestBetweenBattle, you can basically add this:<p style='border:1px solid red;padding:5px 10px 5px 10px;margin-left:40px;margin-right:40px;font-family:monospace;'>import \"superdrinks.ash\";<br />if(stills_available()>0) make_superdrinks();</p>"
 },

Is that okay?
 

Bale

Minion
I have just updated the first post of this thread with everything that a script author needs to know about getting their script listed in the Script Manger. If anything is unclear please discuss it so that I can provide better information.
 

Bale

Minion
Added ckb's suite of WTF Scripts.

Code:
 {
  "repo": "https://svn.code.sf.net/p/relaywtf/code/famswtf/", 
  "author": "ckb", 
  "name": "WTF Familiars", 
  "forumThread": "http://kolmafia.us/showthread.php?15696-WTF-Relay-script-collection", 
  "shortDesc": "Display familiar information from terrarium", 
  "category": "relay", 
  "longDesc": "I have a lot of familiars. And the list is growing. And I can't keep track of what they all do. WTF? How am I supposed to remember exactly how 100+ vaguely named creatures perform? I cannot. I know the hipster does lots of stuff and gives free fights... and so does the goth kid. But the goth kid is really a fairy right? No, its a volleyball. Or a leprechaun... I don't remember.<p>I could look this up on the wiki over and over. And I used to. Then I wrote this relay script to tell me."
 }, 
 {
  "repo": "https://svn.code.sf.net/p/relaywtf/code/shopwtf/", 
  "author": "ckb", 
  "name": "WTF Shops", 
  "forumThread": "http://kolmafia.us/showthread.php?15696-WTF-Relay-script-collection", 
  "shortDesc": "Help with the Dungeon Vending Machine", 
  "category": "relay", 
  "longDesc": "For the Daily Dungeon Vending Machine, this will show you which keys you have and which keys you do not have. It will take away the link to buy keys you already have. It will also check if you have a key lime pie in your inventory, and show that you DO have the key IF you have the pie.<p>This is because I am forgetful and will pull a pie AND buy the key at the same time, and that sucks."
 }, 
 {
  "repo": "https://svn.code.sf.net/p/relaywtf/code/skillswtf/", 
  "author": "ckb", 
  "name": "WTF Skills", 
  "forumThread": "http://kolmafia.us/showthread.php?15696-WTF-Relay-script-collection", 
  "shortDesc": "Skill list is sorted, clickable and informative", 
  "category": "relay", 
  "longDesc": "When casting skills and buffs from the relay browser, they are color coded to help distinguish types. Active effects from skills are highlighted.<p>The incentive here is that I found myself going to the skills page to buff up and forgetting what each skill does and which skills I had already cast and which ones were single effect only (songs and expressions).  This should make that more clear and more easy."
 }, 
 {
  "repo": "https://svn.code.sf.net/p/relaywtf/code/vipwtf/", 
  "author": "ckb", 
  "name": "WTF VIP Hot Dogs", 
  "forumThread": "http://kolmafia.us/showthread.php?15696-WTF-Relay-script-collection", 
  "shortDesc": "Help with the VIP Hot Dog Stand menu", 
  "category": "relay", 
  "longDesc": "Hot dogs from the VIP lounge are totally sweet -- awesome food, great in HC, and they give some totally sweet effects, and I don't remember what any of them do. To find out, clicking the dog will open up an info box, which has a link to the effect, which will give its description.<p>Or shortcut that process and use this script to tell you what each does."
 },
 

Bale

Minion
Added guyy's Slimecalc:

Code:
 {
  "repo": "https://svn.code.sf.net/p/guyymafia/code/slimecalc/", 
  "author": "guyy", 
  "name": "Slimecalc", 
  "forumThread": "http://kolmafia.us/showthread.php?3113-autoBasement-ash-Better-basement-automation", 
  "shortDesc": "The slime calculator, for efficient Slimetubing", 
  "category": "information", 
  "longDesc": "This is a tool for finding the best (i.e. cheapest) way to boost Slimetube ML for a specific turncount.<p>The basic CLI command is <span style='font-weight:bold;font-family:monospace;color:blue'>slimecalc [number of turns]</span> to aim for a certain turncount. Default is 229, for a slimeling, but this may be impossible if you don't have enough Slime Hates It gear.<p>Additional functionality is explained in the forum thread."
 },
 
Last edited:

guyy

Member
Dang, I didn't even get a chance to get around to doing that for you. :p

Now that I have SVN working again, Space Tripper is on it, so here's something you can hopefully just paste in:

Code:
{
  "repo": "https://svn.code.sf.net/p/guyymafia/code/spacetripper/", 
  "author": "guyy", 
  "name": "Space Tripper", 
  "forumThread": "http://kolmafia.us/showthread.php?10020-Space-Tripper-automatic-Space-Trip", 
  "shortDesc": "Automates the Space Trip minigame", 
  "category": "adventure", 
  "longDesc": "Beats Space Trip for you, aiming for a high score for maximum tickets... and more importantly, unlocks the Space Trip Safety Headphones (-100 ML and -combat accessory). Get a token, run the script, and it will play the entire game on its own, opening the relay browser to the final screen when it's finished. May lose or get stuck occasionally due to RNG screw."
 },


Come to think of it, if it's not too much fiddly-work, I have a slight change for the longDesc of Slimecalc (the "run" part is important, you need that to have it set up all the buffs instead of just suggesting them):

Code:
{
  "repo": "https://svn.code.sf.net/p/guyymafia/code/slimecalc/", 
  "author": "guyy", 
  "name": "Slimecalc", 
  "forumThread": "http://kolmafia.us/showthread.php?3113-autoBasement-ash-Better-basement-automation", 
  "shortDesc": "The slime calculator, for efficient Slimetubing", 
  "category": "information", 
  "longDesc": "This is a tool for finding the best (i.e. cheapest) way to boost Slimetube ML for a specific turncount.<p>The CLI command <span style='font-weight:bold;font-family:monospace;color:blue'>slimecalc [number of turns]</span> will display a shopping list of items to produce that turncount. Use <span style='font-weight:bold;font-family:monospace;color:blue'>slimecalc run [turns]</span> to have the script buy and use those items for you.<p>Additional functionality is explained in the forum thread."
 },
 
Last edited:

digitrev

Member
I hope this is useful enough to consider adding.

Code:
  {
  "repo": "http://extraction-afteradv-ccs.googlecode.com/svn/trunk/", 
  "author": "digitrev", 
  "name": "extraction.ash - Automated Gene Extraction ", 
  "forumThread": "http://kolmafia.us/showthread.php?15383-extraction-ash-Automated-Gene-Extraction", 
  "shortDesc": "Automates use of the Little Geneticist DNA-Splicing Lab",
  "category": "combat, action",
  "longDesc": "This is a two-part script for using the DNA syringe. The first part is a custom combat script that will automatically extract the DNA you want. Simply add the following to your custom combat script: <p style='border:1px solid red;padding:5px 10px 5px 10px;margin-left:40px;margin-right:40px;font-family:monospace;'>consult extractionCCS.ash</p> The second part is an afteradventure script, to automate creation of gene tonics or hybridization. If you have your own, you can basically add this:<p style='border:1px solid red;padding:5px 10px 5px 10px;margin-left:40px;margin-right:40px;font-family:monospace;'>import \"extraction.ash\";<br />extraction();</p> Otherwise, use <p style='border:1px solid red;padding:5px 10px 5px 10px;margin-left:40px;margin-right:40px;font-family:monospace;'>set afterAdventureScript=extraction.ash</p>"
 },

I hope that works for you, Bale.
 
Last edited:

Bale

Minion
You put a lot of work into that. Usually I have to add information, but you may have added too much. It's a bit hard for me to remove stuff without being insulting to your work so I'll ask you for suggestions.

Have you taken a look at how that appears in the Script Manger when you copy/paste it into /data/svnrepo.json?
  • "name" field is so long that the entire thing does not easily appear in the Script Manger's "Script Name" column.
  • You can only have one choice of "category". This is a combat script since (I believe) it does not automate any actions outside of combat.
  • "shortDesc" is also so long that it runs off the end of the "Description" column.
  • The very bottom of the "longDesc" is cut off unless the user enlarges the panel at the bottom. He will need to do this every single time he opens the Script Manager.
fUuOwpO.png

If you fix these issues it will look a lot better. I've put a lot of work into ensuring that everything fits into the various fields in the limited space of the Script Manager. (Except for Author. I have allowed Author to run long. There's just not anything I can do about that.) It is true that all these fields can be made larger by the user so that they can see the entirety of what you wrote, but it would be better if the user did not need to do so. I know it is possible since I made all the others fit.
 
Last edited:

digitrev

Member
Code:
  {
  "repo": "http://extraction-afteradv-ccs.googlecode.com/svn/trunk/", 
  "author": "digitrev", 
  "name": "extraction", 
  "forumThread": "http://kolmafia.us/showthread.php?15383-extraction-ash-Automated-Gene-Extraction", 
  "shortDesc": "Automates use of the DNA Lab",
  "category": "action",
  "longDesc": "This is a two-part script for using the DNA syringe. The first part is a custom combat script that will automatically extract the DNA you want. The second part is an afteradventure script, to automate creation of gene tonics or hybridization. See the forum post for details on setup."
 },

It's a combo script, in that it both uses the syringe in combat, and it makes potions / hybridizes outside of combat. I'll call it a combat script (since, in my opinion, that's the easier step to forget when using the kit). I hope that my trimming it down helps. Thanks for the advice.
 

ckb

Minion
Staff member
For my topmenu relay:

Code:
{
  "repo": "https://svn.code.sf.net/p/ckbiconmenu/code/", 
  "author": "ckb", 
  "name": "ckb's Iconic topmenu", 
  "forumThread": "http://kolmafia.us/showthread.php?16445-ckb-s-Iconic-topmenu", 
  "shortDesc": "Alternate topmenu relay overide, with fun icons!", 
  "category": "relay", 
  "longDesc": "Like KoL's iconic top menu, but my own creation. Icons are smaller than KoLs menu, and so this is more compact, and it does not have the large description popup (alt text only), and I added some color highlighting to more easily find what you want. The basic structure is utility on line 1, locations on line 2."
 }
 
Top