Scripts on SVN

Lxndr

Member
with google code giving up the ghost, Almighty Sapling's script doesn't have a home. Since I've been updating his data files I'm hosting the script here:

Code:
svn checkout http://svn.code.sf.net/p/mafia-cs-planner/svn/

also it looks like he has another script (which I don't have installed, so I have no copy) on your list, too.
 
Last edited:

Bale

Minion
Please tell me what script you're talking about. I suppose I could figure it out, but I'd be happier if you'd just tell me.
 

Theraze

Active member
The script which Lxndr has been updating, and which is now being rehosted due to it being somewhat difficult to access old google code pages, is the one which badly copy/pastes off the list as:
Code:
Skill Planner/CS Tracker	Almighty Sapling	Relay script detailing the characters skills and CS	svn checkout https://almighty-saplings-ash.googlecode.com/svn/trunk/planner/
The one which is not rehosted is the Clan Raidlog Parser, though the link I gave would allow Lxndr to rehost it if so desired.
 

Lxndr

Member
Ugh, my bad. Sorry, Bale.

Yes, remove this:

Code:
[TR][TD][URL="http://kolmafia.us/showthread.php?8052-raidlog-override-a-la-Dr-Evi1"]Clan Raidlog Parser[/URL][/TD][TD]bordemstirs[/TD]
[TD]Parse your clan dungeon Raidlogs[/TD][TD][PLAIN]svn checkout https://almighty-saplings-ash.googlecode.com/svn/trunk/raidlogs/[/PLAIN][/TD][/TR]

(I've never used that script and I don't often go into clan dungeons so it wouldn't make sense for me to host and maintain it; unless someone else decides to take that over, I think it'll be abandonware)

And update this:

Code:
[TR][TD][URL="http://kolmafia.us/showthread.php?5657-Skill-CS-planner"]Skill Planner/CS Tracker[/URL][/TD][TD]Almighty Sapling[/TD]
[TD]Relay script detailing the characters skills and CS[/TD][TD][PLAIN]svn checkout https://almighty-saplings-ash.googlecode.com/svn/trunk/planner/[/PLAIN][/TD][/TR]

to this:

Code:
[TR][TD][URL="http://kolmafia.us/showthread.php?5657-Skill-CS-planner"]Skill Planner/CS Tracker[/URL][/TD][TD]Almighty Sapling, Lxndr[/TD]
[TD]Relay script detailing the character's skills and CS[/TD][TD][PLAIN]svn checkout http://svn.code.sf.net/p/mafia-cs-planner/svn/[/PLAIN][/TD][/TR]

Here's my attempt to create an updated JSON (with a slightly better longDesc):

Code:
{
  "repo": "http://svn.code.sf.net/p/mafia-cs-planner/svn/", 
  "author": "Almighty Sapling, Lxndr", 
  "name": "Skill Planner/CS Tracker", 
  "forumThread": "http://kolmafia.us/showthread.php?5657-Skill-CS-planner", 
  "shortDesc": "Relay script detailing the character's skills and Collection Score", 
  "category": "information", 
  "longDesc": "This is an informational script very similar to the profile snapshot, but with some critical differences. All the information is stored locally, rather than online. The layout is a little different, and semi-customizable to your liking. It shows familiars, trophies, tattoos and skills. The skills come with a nice little queue so that you can drag and drop them into place and sort them based on priority."
 },
 
Last edited:

Bale

Minion
Thanks I don't use the Skill Planner and have not been following that discussion so I was clueless about it. Since the old repository is no longer available, I'll sort that one out as you suggest once I have some time for it.

As for the raidlog parser, I use that so I'll consider taking it on if nobody else desires responsibility for it.
 

Bale

Minion
Changes have been made to Skill Planner as Lxndr requested. That's now the official repository URL. Unfortunately nobody will be prompted to update to the new URL by mafia. Hopefully they'll eventually read about the changeover in the forum thread.

It might be nice if KoLmafia had a feature to smoothly switchover one specific repository to another, but I suspect it wouldn't be easy to program.
 

heeheehee

Developer
Staff member
Changes have been made to Skill Planner as Lxndr requested. That's now the official repository URL. Unfortunately nobody will be prompted to update to the new URL by mafia. Hopefully they'll eventually read about the changeover in the forum thread.

It might be nice if KoLmafia had a feature to smoothly switchover one specific repository to another, but I suspect it wouldn't be easy to program.

SvnRelocate.java seems relevant. Maybe something of the form "svn relocate <name> <url>"? Still thinking about it.
 

heeheehee

Developer
Staff member
Although, in this case, relocate is not appropriate, as there is no common history. Some further digging suggests "svn switch --ignore-ancestry <url>" might be relevant.
 

heeheehee

Developer
Staff member
However, I'm not sure it'll actually be useful in this situation. You're best off just telling people to delete and reinstall in one command.
 

Lxndr

Member
In this particular case what with google code dying a swift death, anyone who runs 'svn update' will find that it's gone and will likely check the post, I guess?
 

Bale

Minion
SvnRelocate.java seems relevant. Maybe something of the form "svn relocate <name> <url>"? Still thinking about it.

I was thinking of something that could be added to svnrepo.json that says, "if the repo is installed from the old URL address, update to the current URL address listed." That way it would happen during svn update without the user needing to do anything at all.
 

Ezandora

Member
I wrote a solver for the eleventh precinct. Can it be added?

JSON:
Code:
{
  "repo": "https://github.com/Ezandora/Detective-Solver/branches/Release/", 
  "author": "Ezandora", 
  "name": "Detective Solver", 
  "forumThread": "http://kolmafia.us/showthread.php?20406-Detective-Solver", 
  "shortDesc": "Automates the 11th Precinct mysteries", 
  "category": "action", 
  "longDesc": "Detective Solver will complete all three daily egg murders for the 11th Precinct/Detective School Application IOTM, earning cop dollars."
 },
 

guyy

Member
Guess I should request this one, now that it's mostly functional. Not really sure if "action" is the right category, so feel free to change that:

Code:
{
  "repo": "https://svn.code.sf.net/p/guyymafia/code/taleprank/", 
  "author": "guyy", 
  "name": "Tale Prank", 
  "forumThread": "http://kolmafia.us/showthread.php?21303", 
  "shortDesc": "Generates zany prank text", 
  "category": "action", 
  "longDesc": "Makes randomized remixes of Crimbo Tale, Monster Manuel, and other in-game sources. Sends the ridiculous results to unsuspecting players in time-spinner pranks or brick messages."
 },
 

Bale

Minion
Action is any script that takes action outside of combat and does not adventure. So yep. It belongs in that category.

Added to the script repository.
 

Pazleysox

Member
I wrote a script for Dreadsylvania

JSON:
Code:
Code:
{
  "repo": "svn checkout svn://svn.code.sf.net/p/unlock-dread2/code/", 
  "author": "PazSox", 
  "name": "Unlock Dreasylvania", 
  "forumThread": "http://kolmafia.us/showthread.php?21545-Automatically-unlock-areas-of-Dreadsylvania", 
  "shortDesc": "Unlocks Dread, Banishes Monsters, Offers help", 
  "category": "adventure", 
  "longDesc": "Unlocks Dreadsylvania zones one at a time, or multiple at once, Banishes Monsters, Offers help on how to setup bosses, and explains roughly how kisses work."
 },
 

Pazleysox

Member
I wrote a rollover checking script

Code:
{
  "repo": "svn checkout svn://svn.code.sf.net/p/standard-rollover-bonus/code/", 
  "author": "PazSox", 
  "name": "Standard Rollover Bonus", 
  "forumThread": "http://kolmafia.us/showthread.php?21993-Standard-Rollover-Bonus", 
  "shortDesc": "Helps figure out what gear you have for rollover (in storage too!)", 
  "category": "information", 
  "longDesc": "Checks all items you have that will give you bonus adventures for rollover.  Checks on-hand AND storage items.  Tells you how many of each item you have, and the adventure bonus you will receive for it.  Will tell you how many pulls you have available.  Checks all gear, familiar, chateau, & campground items.  Made for SOFTCORE players mostly.  Works in STANDARD, and NON-STANDARD ascensions."
 },
 

Bale

Minion
Added.

Next time you offer a script for the Script Manager, please don't put "svn checkout" in the "repo" field. Each time you've done that I had to figure out why mafia wasn't accepting the json.
 
Top