Search results

  1. N

    event triggers

    But to know when a recent event has occurred wouldn't you need to inf-loop one of the event displaying pages anyway so why not just inf-loop the trades page? Unless your talking about just casual "I'm not actually using it as a bot, im just manually running it when I'm told about a recent event...
  2. N

    I'd like to write a pulverize-bot, but have no idea where to start...

    Well I think you might want to have a look at the trade response scripts rather then buffbot scripts, as the "buffbot module" is pretty much in-built into mafia so it won't generally teach you about parsing K-mails using ASH (well neither will the trade response scripts but at-least with them...
  3. N

    Tattooing Script request

    Heh I guess thats this script pretty much all de-bugged >>. (Hopefully =P) Edit: Ohhh new feature, make sure you've done the quest first! *nudge nudge wink* Although I guess people could do that manually, (Although if they are speed running I don't really think this is the script they are going...
  4. N

    Tattooing Script request

    That script you uploaded is missing a "." on tat_info[a]gear I have also tested and I have come to the conclusion that "have_outfit" is acting like "Is_Outfit" (Try random string of letters while offline, false, try a name of an outfit and it returns true) Edit: Tested on 9.3 however... So...
  5. N

    Abridged Dictionary - version 1.3! (last updated May 4)

    The micro script doesn't do anything by itself (Infact it even has its "import" of the Lib file commented out). If the dictionary script works, then its all good, it imports the micro script before running.
  6. N

    Tattooing Script request

    Extra feature I see that might be useful is a "if you already have the tattoo" check! File attached below is efilnikufecin's with the if already have check added to it. The "TatImg" map I added might be wrongly assigned to the different images though so it might be best to use efilnikufecin's...
  7. N

    Scripting "Headdesk" Moments!

    Well I suppose this could be put in the general section if anyone feels it should be in there since it doesn't have to really do with anything productive... just embarrassing//annoying headdesk moments in scripting! Just wondering if anyone has those moments ;) Feel free to share if you do. A...
  8. N

    Alternate Trade Response Script

    They don't magic the item into your... Ohhh I get what you mean now, hmm... *Goes and edits config file* Edit: Heh =P I'll content myself with using that as an example rather then actual part of the blacklist. Edit2: Hey cool you can remove and then repost >> To avoid double posting but still...
  9. N

    IsNewDay()

    =D *Is happy*, No need to hammer the server each time the "TradeBot" script runs! (I'm adding limits to it... err added limiting to it and I figured I would try to stick to the current mall "limit per day" sort of system instead of a weird "to my local clock" system)
  10. N

    misshapen animal skeleton Script

    Just wondering if this is worth noting down but file_to_map isn't .txt locked. (Although it orders the map before printing and it stops " from printing plus results in sticking a "tab" character at the end of each line and other limitations to it, just figured either you or hola might want to...
  11. N

    IsNewDay()

    Just wondering if anyone knows a way of checking if it is a new day (read as "after rollover from last time this script ran") in KoL without hitting the servers? The best I've come up with is using today_to_string() but then its not based on rollover but rather your computer clock which isn't...
  12. N

    misshapen animal skeleton Script

    Heh I assume you mean a "itemless and meatless" kmail. Valid point but still... Personally I would be more forgiving if that part of the script was at the top of the script rather then stuck in the middle (implies it was being hidden which also implies its doing something people might not want...
  13. N

    Alternate Trade Response Script

    That I do =P, and if that results in people getting really annoyed because it auto declines a request from Jick then... >> Well too bad, if you do then just think of it as my jealous revenge >> Speaking of which I need to update this thing... (Cursed exams) >>. I might add a "Leave trade offers...
  14. N

    Abridged Dictionary - version 1.3! (last updated May 4)

    Perhaps you should put them in separate folders. (You would need to edit any of the "import<filepath>;" commands in the ash scripts but apart from that it shouldn't require any editing and all the imports will be in the first few lines of the script.) Adding it to a "Abridged Dictionary" folder...
  15. N

    Abridged Dictionary - version 1.3! (last updated May 4)

    Make sure you also downloaded the "TirianLib.ash" file (in the first post).
  16. N

    3 scripts: Crypt, Friars, and PFA

    Uh which one? Theres like heaps of posted code in this thread xD. A pretty basic rule ("rule" meaning I just made it up right now) is that if it has any of these: "(" or ")" or "{" or "}" or "_" then its a ".ash" script otherwise try using ".txt" (Although you can always just try it in ".txt"...
  17. N

    Checking for files?

    Yay! No more: File not located: scripts/datamaps/LatestTradeRecords.txt File not located: scripts/LatestTradeRecords.txt File not located: data/LatestTradeRecords.txt File not located: LatestTradeRecords.txt Could not locate local file Script aborted! Or would it print that but just not abort...
  18. N

    Is item check?

    I haven't actually coded it just yet, it's going to be for a part of my trade response script though and I'm planning to pull out requests for specific items and the requested quantity from the trade note and work from that. (Thats easily done with the new substring and index_of) Your example...
  19. N

    Is item check?

    Is there some way to check if a string name corresponds to a item name? I tried string_to_item, but that throws a error when it isnt a actual item. Just wondering... (Yes for the trade response script again =P)
  20. N

    Checking for files?

    Is there currently any way to get mafia to "check if a local file exists"? (As far as I understand the file_to_map is a void so no boolean checking that.) Just curious since my trade response script throws a hissy-fit at the moment when a certain local file which is ment to hold "History" isn't...
Back
Top