Search results

  1. mredge73

    Recognizing plural items

    to_item(item, count) has worked for my stash parser for about a year and a half now. Jason added it in to obsolete one of my scripts.
  2. mredge73

    Return KoL date

    Maybe unrelated but I have included some time functions in my function support scripts. These use the time stamp from unixtimestamp.com and you could probably adjust it to display any time zone that you wish. Minutes until rollover parses Kol charpane.php I stole these from Alifar: //Returns...
  3. mredge73

    Buying from the BHH

    You may need to do some more experimenting, I think your problem may be associated to the text box and you have to supply it with a number. A few suggestions to try: bhh.php?&action=buy&whichitem=" + itemNum +"&howmany=1&pwd bhh.php?&action=buy&whichitem=" + itemNum +"&howmany=1&pwd...
  4. mredge73

    Digging in Bigg's Dig

    Looks like it is re-opened. Your script will need an update though. It will now limit your turns spent per day by requiring a breakable shovel to be equipped.
  5. mredge73

    How do I Retrieve and Parse Dungeon Logs

    1 untested, should work, I made it a special case in the TurnCount() function 2 confirmed, works correctly 3 untested, should work, the if() statement is used specifically to capture errors due to mismatches when using Zone.find(). It does have problems on archive logs, it will not parse them...
  6. mredge73

    Rinn's Quest Scripts

    read the comments in questlib.ash first.
  7. mredge73

    How do I Retrieve and Parse Dungeon Logs

    I think I fixed my parser. Should parse loot correctly as well, I accounted for Mother Slime's fights not effecting the turn count. Try it out and let me know, it is brand new and needs some testing. The Log is saved as a file in your data folder: "mredge73_RAID.txt"...
  8. mredge73

    Basement CCS?

    Here is mine: [ bottles of beer on a golem ] skill entangling noodles consult throwdivine.ash [ default ] skill entangling noodles attack with weapon attack with weapon consult throwdivine.ash [ ghost of fernswarthy ] item love song of smoldering passion You can pick up throwdivine.ash here.
  9. mredge73

    How do I Retrieve and Parse Dungeon Logs

    Here is an excerpt of what I am working on. @ElCarrot this is what you are looking for, with some editing it can be shrunk down to just a couple of lines and return just the turncount REMOVED It was pretty bad, see fix 2 post down
  10. mredge73

    How do I Retrieve and Parse Dungeon Logs

    Here is a first attempt at parsing the clan logs. The Regex should be close but the data will need some translating. Here is my test code: string ClanRaid= visit_url( "clan_raidlogs.php" ); matcher Raid = create_matcher( "(.+?) \\(#(\\d+)\\) (.+?) (.+?) \\((\\d+) (turns|turn)\\)" , ClanRaid...
  11. mredge73

    Trying to kmail a package to a group of players

    Mafia will not automatically grab names from the chat box to fill the names automatically. You will have to do that manually and paste them into your script. The list can be as long as you like. Now if you wanted to spam your clannies that are currency online, that can be done with some...
  12. mredge73

    Feature - Rejected Refresh Chat

    Could there be a feature implemented to add the ash or cli command "refresh chat" ? This would be most helpful with chat bots who can sometimes take 10 minutes or longer to respond to incoming chat messages due to waiting for mafia to update the chat panel. Thanks!
  13. mredge73

    libramBurn: Summon libram items to burn MP between battles, for profit!

    If you through in stickers, dry noodles, advanced cocktail items, and Reagents you would really have something that would work great in HC ascensions as well as Aftercore. At low level you will probably not have the MP or meat for MP to summon these at breakfast but you can get them all very...
  14. mredge73

    Hobopolis Ash Requests

    As for the Sewer part, I built a little routine a while back based off of Cagebot.ash but haven't updated it in a while. You can use it as a starting point if you like. Keep in mind that it will not work as is, it includes a few functions that are pre-defined in my support scripts (check my...
  15. mredge73

    Universal Recovery Script

    > Calling Universal Recovery for type=HP, amount=0 > Restoring HP! Currently at 1236 of 3668 HP, 2 of 201 MP, current meat: 38954041 ... Target HP = 3302. > Will need MP, so restoring it now to improve efficiency. > Restoring MP! Currently at 1236 of 3668 HP, 2 of 201 MP, current meat...
  16. mredge73

    A script that runs through all the basic farming procedures from eating to turns?

    Look Here for something very similar Also http://www.officialgms.com/kol/
  17. mredge73

    Universal Recovery Script

    I just read back a few pages, looks like everyone is complaining about items dropped from the macguffin quest. Magi-wipes and palm fronds may also be possible culprits since I also have them checked as restorers. In this example it appears that the thick bandage is causing the issue.
  18. mredge73

    Universal Recovery Script

    For some reason during my HC ascension this script begins to hang once I start getting drops from the pyramid. It seems to have trouble with really thick bandage checked as a hp restorer. If I only have one mummy wrapping then it hangs at "Try to heal HP from inventory." If I have 2 then it uses...
  19. mredge73

    Discussing a framework for ascension automation

    Have you thought about item handling? Item handling may become very difficult when fully automating a run. Deciding what to equip, buy, sell, create, smash, save, etc. will need to be handled some way. You may need another format that is designed specifically for item handling or adjust the...
  20. mredge73

    Script Hierarchy

    In my experience in this, when mafia responds like you described above (creating two instances of the same script at the same time) if they both try to hit the server at the same time they create major conflicts. It is even worse if it happens in the middle of another script like an turn...
Back
Top