Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: Tattoos.ash - Updated

  1. #11
    Senior Member
    Join Date
    Mar 2009
    Posts
    650

    Default

    I seem to have a small criticism about each of these various tattoo scripts lol.

    Batrachomyomachia''s functionality I like in that it will only put on outfits to get a tattoo if you don't have the tattoo and have the outfit, and it will backup the equipment you're wearing to start with so you end up wearing what you started with, not some random outfit. The downside of this script is that it keeps telling me that my hobo boss outfits are incomplete, due to the fact they are in my DC. I KNOW I have the tattoos for them, but this script doesn't care that I have the tattoo since it can't find the equipment. If I have the equipment in my inventory, it realizes I have the tattoo and doesn't mention the outfit as being needed.

    Xanth's script is wonderful in that it shows all possible tattoos, be it outfit, consumption, ascension related or whatever. The downside is that it does not do what Batra's script does and retrieve missing outfit tattoos. It is also not completely up to date and has some missing outfits. I had the Knight's Armor outfit, but never got the tattoo, for example.

    Sally's version covered new outfits that the previous two scripts didn't know about. However, it goes thru and puts on EVERY outfit to visit the artist with and never looks to see if I have the tattoo first. Also, it doesn't backup my current outfit before doing all the gear swapping.

    So, in a perfect world, I want the thoroughness of Xanth's script (updated with new outfits/tattoos), Batra's script functionality in terms of acquiring tattoos automagically, but with the intelligence to know whether or not I have the tattoo before telling me I don't have a given outfit. Don't need the outfit to get a tattoo I already have after all

    Maybe one of these days I'll get around to updating this the way I'd like... maybe.

    Edit: Hrmm, Batra's script is no longer complaining that I need hobo outfits, perhaps I'm not remembering something correctly from my prior runthru of this script.

    I think the reason Sally's script equips every outfit to check for tattoos is because the tattoo names have capital letters in the script which doesn't match with the case sensitivity of the tattoo image names on the actual tattoo page. Perhaps this is just a linux issue, but Batra's script was behaving the same way when I transferred the new data from Sally's script to that one. Then it worked fine when I changed case of the tattoo image names.
    Last edited by Spiny; 05-12-2010 at 12:02 AM.

  2. #12
    Developer Grotfang's Avatar
    Join Date
    Jun 2009
    Location
    United Kingdom
    Posts
    591

    Default

    I would like to point out that not checking the tattoo page for the presence of a tattoo actually does have a slight benefit -- new outfits can be covered too. I wrote my own tattoo checker, and I grab outfit names from the drop down box on the equipment page. My solution was to match up all the outfits I knew to a tattoo name and check the tattoo page, thereby eliminating all the outfits I had the tattoo for, but regardless it still works to get new outfit tattoos when they crop up.

    A nice addition to this, which I might try when I have some free time (finals at the moment) would be to check DC and closet for item pieces, as well as to backup the outfit you started on. I might give this a shot tomorrow afternoon.

    I've attached the script as it is so far. Shouldn't be too hard to add to.
    Attached Files
    Last edited by Grotfang; 05-12-2010 at 02:16 PM.

  3. #13

    Default

    Keep in mind all I did was update the original script to include the new outfits. I didn't try to improve it otherwise. I figure efficiency isn't all that important since you don't exactly run this script all that often. :-)

    Updates by real ash scripts would of course be appreciated!

  4. #14
    Developer Grotfang's Avatar
    Join Date
    Jun 2009
    Location
    United Kingdom
    Posts
    591

    Default

    UPDATED (WORKING) VERSION

    Ok. Got an initial version of the script ready to go. NOTE: You may need a version >= 8440, since Arrrbor Day Apparrrrrel was mis-spelled before that update.

    Initial problems should have now been solved, but it is still only tentatively tested (by myself and DoctorRotelle -- many thanks to him for trying to break it!).

    It does have some useful features:

    • Creates a backup before the first outfit change
    • Should handle outfits missing from mafia, or from the script (albeit with more URL hits)
    • Gives information on achieved tattoos AND unachievable tattoos, with colours indicating whether you have the outfit
    • Can optionally check your storage, dc and stash for extra items to use for outfits.


    However, it is still in beta, so may be a little buggy beyond what I've stated. For now I recommend leaving the options at the top as:

    Code:
    boolean checkInventory = true;
    boolean checkStorage = false;
    boolean checkDisplay = false;
    boolean checkStash = false;
    If you do this, it should work fine for you. The extra options will allow the script to pull stuff/move things around. I believe this works (it works consistently for the outfits I have tried it with -- which is limited as I have most of my outfit tattoos), but be aware that it won't move items back where they came from.

    As soon as I think it's safe to consider bug-free, I'll remove the debug setting. However, please make sure it's set to "false".
    Attached Files
    Last edited by Grotfang; 05-15-2010 at 01:50 AM.

  5. #15
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,499

    Default

    I took a spin at this. Rather than use a data file or hardcode a map -- both of which would require updating later -- this one hits the Wiki for outfit/tattoo/image names, which means it should also work with all future outfits as soon as they are added to the Wiki and mafia. Some details:

    • This script tries to acquire all outfit tattoos, buying cheap parts if you lack them. Cheap is determined by buypartsupto (default 1000 meat, edit the script to change this value). I recommend setting the value to something which you consider inconsequential. If you don't want it to purchase anything, set it to 0.
    • It's small -- only 2K! It's meant to be a simple, useful utility. This pleases me.
    • The Wiki evidently has at least three of the tattoo image names wrong (it appends "tat" to all tattoo image names whereas some of the KoL images lack that suffix), which means that this script will think you don't have that tattoo yet, so it will equip the outfit and visit the Artist in order to realize that you actually have that tattoo, every time. If someone were to fix the Wiki (I'm scared to edit anything there) this problem would be resolved.
    • The item images were meant to be Wiki links, but I didn't get it working. If someone posts a fix, I'll update this post.
    • There is a real live regex in this script. Please use caution when editing, particularly if you lack nifty regex tongs such as mine.


    Enjoy! Feedback welcome.

    EDIT 10/28/2016: The URL for the Artist has changed. Updated script in this post.
    Attached Files
    Last edited by zarqon; 10-27-2016 at 05:41 PM.
    Sig by JakAtk
    My scripts: Prefref Plus | One-Click Wossname | Om******t (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mer********d (?!) | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  6. #16
    Senior Member
    Join Date
    Feb 2009
    Posts
    377

    Default

    Zarqon's Awesome Rating +1
    very nice script. exactly what my clam was talking about recently.

  7. #17
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,377

    Default

    The artist link has changed.
    Code:
    place.php?whichplace=town_wrong&action=townwrong_artist_quest

  8. #18
    Junior Member
    Join Date
    Mar 2009
    Posts
    8

    Default

    The artist link has changed.
    Code:
    place.php?whichplace=town_wrong&action=townwrong_artist_quest
    Originally Posted by Crowther View Post
    I've quickly updated the maps on this, should anyone want it.

    Edit: Also tweaked a few tattoos that were typo'd in the last version (bearclawta, I'm looking at you) and some apparent case-confusion. While I was at it, moved the visit_url out of the loop to reduce server hits, and flipped the logic to check for the tattoo before it bothers looking for the outfit.

    Tattoos.ash
    Last edited by BDragon; 05-09-2016 at 10:29 PM. Reason: Fixes

  9. #19
    Senior Member VladYvhuce's Avatar
    Join Date
    Feb 2016
    Location
    Kansas
    Posts
    215

    Default

    I've quickly updated the maps on this, should anyone want it.

    Edit: Also tweaked a few tattoos that were typo'd in the last version (bearclawta, I'm looking at you) and some apparent case-confusion. While I was at it, moved the visit_url out of the loop to reduce server hits, and flipped the logic to check for the tattoo before it bothers looking for the outfit.

    Tattoos.ash
    Originally Posted by BDragon View Post
    Cool. This is one of those parts of playing KOL that I often neglect. Apart from familiars, I also like having a nice variety of tattoos to choose from. But, I often forget to check the Wiki to see what sort of outfits I need. So, yes. Someone does want it. Thanks for updating it.
    In KOL: VladYvhuce (#1798867)

  10. #20
    Senior Member Pazleysox's Avatar
    Join Date
    Feb 2009
    Posts
    358

    Default

    I updated it from 127 to 131, and added #118, and #119.
    Attached Files

Similar Threads

  1. Bug - Fixed Updated consumable ranges
    By lostcalpolydude in forum Bug Reports
    Replies: 1
    Last Post: 07-23-2011, 06:35 AM
  2. Randomly switch tattoos
    By psly4mne in forum Informational Scripts
    Replies: 5
    Last Post: 07-07-2011, 12:01 AM
  3. Replies: 0
    Last Post: 05-13-2011, 04:50 PM
  4. Replies: 0
    Last Post: 07-28-2009, 10:40 AM
  5. MuseumStockUp v1.0 (Updated)
    By Presto Ragu in forum Item Handling Scripts
    Replies: 0
    Last Post: 04-18-2006, 07:06 AM

Posting Permissions

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