Page 1 of 15 1 2 3 11 ... LastLast
Results 1 to 10 of 142

Thread: WTF Relay script collection

  1. #1
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    741

    Default WTF Relay script collection

    I have (finally) migrated to SVN, so I am updtaing all my WTF relay scripts here.
    These WTF spoilerz scripts add helper descriptions to a variety of useful places.


    Skills WTF
    Code:
    svn checkout https://svn.code.sf.net/p/relaywtf/code/skillswtf/
    Creates a sorted, clickable, informative table of available skills
    Skills are color coded to help distinguish types. Active effects from skills are highlighted.

    The driver 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.

    Thanks to Bale and ChIT for inspiration.


    Familiars WTF
    Code:
    svn checkout https://svn.code.sf.net/p/relaywtf/code/famswtf/
    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.
    I could look this up on the wiki over and over. And I used to. Then I wrote this relay script to tell me.


    A note: I do not have every familiar, and I did not do 100% checking, so there may be a mistake or two. I will gladly take feedback or donations to my terrarium for debugging.


    VIP lounge WTF
    Code:
    svn checkout https://svn.code.sf.net/p/relaywtf/code/vipwtf/
    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 these do. clicking the dog will open up an info box, which has a link to the effect, which will give its description.
    Or shortcut that process, and use this script to tell you what each does.
    Now updated to also handle Speakeasy drinks!


    Shops WTF
    Code:
    svn checkout https://svn.code.sf.net/p/relaywtf/code/shopwtf/
    Shops will override all SHOPS and STORES:
    Anything that hits store.php or shop.php will be infused with WTF power!
    It adds current available quantity via available_amount() to the item as well pretty modifier descriptions. This includes coloring for quality for food/booze.
    If the item is a quest item, it will be highlighted yellow. If the item is a quest item AND you have more than 1, it will remove the MAKE or BUY button.


    Inventory WTF
    Code:
    svn checkout https://svn.code.sf.net/p/relaywtf/code/inventorywtf/
    Updates your inventory page with WTF-style descriptions for items and effects. This is a modified version of rlbond86's Enhanced Inventory Spoilers, which is a modified version on my original Inventory SPOILERZ relay override script. It will display information about the items in your inventory below their name.
    This script uses the same basic WTF code as the others, so you get standardized colors and fonts and look and feel.



    WTF WTF

    A note for scripters: the basic wtf.ash and wtf.css include a number of functions to pull modifiers from items and effects, look them all up, parse them, and decorate them with html/css to make them pretty, and return a nice string. Feel free to use this in your own script. Ask questions in this thread and I will try and include more details on the how-to.


    History
    now all on svn
    Last edited by ckb; 02-28-2015 at 02:31 AM.

  2. #2
    Senior Member
    Join Date
    Feb 2010
    Posts
    861

    Default

    These scripts are appreciated and very helpful but when I checked out Skills WTF and for some reason it put the skills.ash script in the scripts directory instead of the relay directory. Manually moved the file and it worked. Here's the gCLI output:

    Code:
    > svn checkout https://svn.code.sf.net/p/relaywtf/code/skillswtf/
    
    Starting Checkout...
    Validating repo...
    Repo validated.
    F:\software\Kol\svn\relaywtf-skillswtf
    A https://svn.code.sf.net/p/relaywtf/code/skillswtf/dependencies.txt
    A https://svn.code.sf.net/p/relaywtf/code/skillswtf/relay
    A https://svn.code.sf.net/p/relaywtf/code/skillswtf/relay/skills.ash
    https://svn.code.sf.net/p/relaywtf/code/skillswtf
    At revision 8
    
    Successfully checked out working copy.
    Pushing local updates...
    skills.ash => F:\software\Kol\scripts\skills.ash
    Done.
    Installing 1 new dependency.
    Starting Checkout...
    Validating repo...
    Repo validated.
    F:\software\Kol\svn\relaywtf-wtf
    A https://svn.code.sf.net/p/relaywtf/code/wtf/relay
    A https://svn.code.sf.net/p/relaywtf/code/wtf/relay/wtf.css
    A https://svn.code.sf.net/p/relaywtf/code/wtf/relay/wtf.ash
    https://svn.code.sf.net/p/relaywtf/code/wtf
    At revision 8
    
    Successfully checked out working copy.
    Pushing local updates...
    wtf.ash => F:\software\Kol\relay\wtf.ash
    wtf.css => F:\software\Kol\relay\wtf.css
    Done.
    Requests complete.
    Familiars WTF and VIP Hot Dogs WTF installed correctly.
    Last edited by Magus_Prime; 06-14-2014 at 10:23 AM.

  3. #3

    Default

    It looks like you already had skills.ash from some other script.

  4. #4
    Senior Member
    Join Date
    Dec 2008
    Posts
    505

    Default

    I checked out you familiars-script, it is awesome - thanks a ton, now I might actually start to use some of my lesser used familiars

  5. #5
    Senior Member
    Join Date
    Feb 2010
    Posts
    861

    Default

    It looks like you already had skills.ash from some other script.
    Originally Posted by lostcalpolydude View Post
    There was a skills.ash in the script directory but there was also a skills.ash in the relay directory, from the non-svn version of the WTF Skills script. I removed the copy from the relay directory before installing the SVN version but had forgotten about the other skills.ash in the script directory.

    Does this qualify as a bug in the SVN handling or is it a case of "don't do that"?

  6. #6

    Default

    There was a skills.ash in the script directory but there was also a skills.ash in the relay directory, from the non-svn version of the WTF Skills script. I removed the copy from the relay directory before installing the SVN version but had forgotten about the other skills.ash in the script directory.

    Does this qualify as a bug in the SVN handling or is it a case of "don't do that"?
    Originally Posted by Magus_Prime View Post
    It's intentional behavior that allows you to pick which folder those files go in, different from what the script writer decided. So "don't do that" is the case here.

  7. #7
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,268

    Default

    Curiously, if you had left script.ash in the /relay directory it would have overwritten that copy and you'd never have noticed a problem.

  8. #8
    Junior Member
    Join Date
    Sep 2009
    Posts
    20

    Default

    I have installed and been using and enjoying your scripts for a while now, especially the Familiars WTF before the familiar filters became a thing.
    However, the Skills WTF didn't work the first time I was installing your scripts, and not knowing how awesome it really is, I didn't make an extra effort to make it to work. Now, having seen a screen shot in the Iconic skill menu thread in the KoL forums, I definitely know I want it.
    But I'm failing miserably in getting to work.
    I deleted all instances of skills.ash in my Mafia folder and did the svn checkout. That puts the skill.ash into \svn\relaywtf-skillswtf\relay. Reloaded the relay browser. Doesn't work. Cut/Paste skills.ash and put it into \relay, reload, nothing. Cut/paste into \scripts, reload, nothing.

    At this point I'm thinking some other relay script is interfering with skills.ash, so I cut and paste the relay folder to a different drive. Delete all instances of skills.ash. Start mafia again, it creates the relay folder with the basis. I do the svn checkout. Again, skills.ash is put only in the \svn\relaywtf-skillswtf\relay. Reload, nothing. Cut/Paste skills.ash to \relay, reload, and I finally get an error message in the CLI. Whee! ''wtf.ash could not be found (skills.ash, line 16)'' Do a search for wtf.ash, i have it in \svn\relaywtf-wtf. Hm, copy/paste along with wtf.css to \relay, reload, nothing. Absolutely nothing. Copy/paste wtf.ash, wtf.css and skills.ash back to \svn\relaywtf-skillswtf\relay, reload, I get the same error again ''wtf.ash could not be found (skills.ash, line 16)''. But at this point I have wtf.ash at three locations: \relay, \svn\relaywtf-skillswtf\relay and \svn\relaywtf-wtf. And skills.ash at two of those locations.

    At this point I'm all WTF!?
    I'm stubborn, so I decide to create vanilla mafia (if that expression makes sense). I create a new folder on a different drive, copy the kolmafia jar file into it., start it. Do the svn checkout only for Skills WTF, and lo and behold it is working! And it is glorious!

    But, but, but, what could possibly be interfering with a relay skill, that wouldn't be in the relay folder? How do I make this awesome script work in my mafia folder, where all my settings and other scripts are? Or alternatively, how do I migrate all my settings?

    It is maybe worth noting that svn checkout in this vanilla mafia put skills.ash and wtf.ash into the \relay folder of its own accord, while it wasn't doing that while mafia was in my original folder. Which doesn't make any sense , since it is the same .jar file in both folders.
    I'm not a coder, so I'm at a complete and utter loss here. Any help would be appreciated.

    I have the wrap thingy, so my Mafia is always updated to the latest daily build, since that is always worth mentioning.

    I'm really sorry this ended up being a wall of text.
    And thank you, for making and sharing all these nice scripts

  9. #9
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,268

    Default

    The problem is probably that you have skills.ash in your /scripts menu. If it is there it will cause trouble. It is not supposed to be there.

    Make sure that there is no file called skills.ash in /scripts or any subfolder of /scripts. Make sure that there is no file by that name in your base KoL directory either.

    Then copy/paste the following two lines into the CLI. One line at a time.

    Code:
    svn delete skillswtf
    
    svn checkout https://svn.code.sf.net/p/relaywtf/code/skillswtf/
    If this still doesn't work, then copy skills.ash, wtf.css and wtf.ash into the /relay directory.
    Last edited by Bale; 06-28-2014 at 07:34 AM.

  10. #10
    Junior Member
    Join Date
    Sep 2009
    Posts
    20

    Default

    Bale, thank you kindly for the answer.

    I did a search for skills.ash in my mafia folder, and after that went manually from subfolder to subforlder and I have verified that an instance of skills.ash doesn't exist in my /scripts folder.
    I copy/pasted both those line, one at a time, and the checkout did put skills.ash into the /relay folder, which is good.
    However, the script is still not working.

    Since you indicated that something in the /scripts folder could be interfering, I moved it to a different drive, moved the /relay folder as well, and did the uninstall and checkout comands again. Nothing.
    Finall thing I did is to copy both the /scripts and the /relay folders as they are to the vanilla mafia folder I made. Oddly enough, skills.ash works when i fire up mafia from there.
    So, it is not something from the /scripts folder that is causing the problem, but something else in my mafia folder.

    Sigh. I guess the only thing left to do is to go and move one thing at a time from my original mafia folder and to the vanilla mafia folder untill I find the culprit.

    I'm sorry to have bothered you with someting that seems to not be a logical coding problem, but is apparently coused by the clutter acumulated in my mafia folder after years of playing.

Similar Threads

  1. 'toledo's tiny tweaks' script collection
    By toledo in forum Relay Override Scripts
    Replies: 8
    Last Post: 09-22-2013, 04:03 PM
  2. Replies: 0
    Last Post: 11-27-2010, 02:30 PM
  3. Display Collection Management script?
    By brennydoogles in forum Item Handling Scripts
    Replies: 11
    Last Post: 05-25-2009, 10:57 PM
  4. Tiny Plastic Series 1 collection script
    By lordbaum in forum Informational Scripts
    Replies: 2
    Last Post: 12-03-2007, 10:14 AM
  5. Script collection (quests and a functionlib), comments!
    By hippymon in forum Scripting Discussion
    Replies: 0
    Last Post: 11-18-2007, 05:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •