Search results

  1. S

    Timeout during TPS drink creation causing script abort

    That is not the problem, the script runs fine, the problem only occurs when there is a connection timeout.
  2. S

    Timeout during TPS drink creation causing script abort

    Nope, still haven't solved the problem. The said method goes like this. // Creates TPS drinks. void drinkTPS() { if (item_amount($item[sangria del diablo]) == 0) { if(item_amount($item[cherry]) == 0) buy((6 - item_amount($item[cherry])), $item[cherry])...
  3. S

    Timeout during TPS drink creation causing script abort

    Tried with 11.7, after a couple days happened too, but it's worse... the script doesn't abort, it goes in an endless loop. Verifying ingredients for sangria del diablo (1)... Verifying ingredients for sangria (1)... Creating sangria (1)... You acquire an item: sangria Successfully created...
  4. S

    Timeout during TPS drink creation causing script abort

    Hello, I have a daily script that involves crafting TPS drinks. At times, during the creation of the drinks, I get a page timeout, and the script is aborted. Goes like this - - create 1 skewered cherry - timeout waiting for the response page - the skewered cherry is created, but mafia doesn't...
  5. S

    Problem with .bat files calling scripts

    Problem solved, looks like I had to remove the login command.. Is there a reference for CLI commands as well? I can't figure out how to send kmails properly anymore.
  6. S

    Problem with old script

    Same problem here. The developers have a weird habit to change random syntax every release :p The new command is "sell(quantity, item)"
  7. S

    Problem with .bat files calling scripts

    [EDIT]I solved the sell_item() problem. So guys, I can't seem to run mafia from a .bat file as I did before. I have a name.bat @echo off java -jar KoLmafia-11.2.jar --CLI script=scripts\name.txt then a name.txt login name call scripts\test.ash exit and then test.ash in the scripts folder. Mafia...
  8. S

    My new custom meatfarming script.

    Yeah, I was looking for something like this. Thanks a lot <3
  9. S

    Echoing an empty line

    Yay thanks, didn't even know of the print() command.
  10. S

    Echoing an empty line

    I'm running KoLmafia from the command line, and during the script execution I'd like to print some empty lines. cli_execute("echo"); cli_execute("echo "); cli_execute("echo."); cli_execute("echo ."); Either of this won't work or won't produce what I want. Is there any other way?
  11. S

    get all clovers from hermit

    Yeah, but for this very same reason spices price skyrocketed, so even those 5-6 spices during a clover day are a lifesaver. I'd need a script that, if it's clover day, spiceloops for the number of clovers available.
  12. S

    My new custom meatfarming script.

    Hello, this is my latest turn-burning script. Just wanted to share it with other users to know if there were possible optimizations. Basically, this script will farm the Giant Castle for half your daily adventures, then the PFA for the remaining half. It's optimized for a muscle class character...
  13. S

    get all clovers from hermit

    Uhm. How can this be modified to "spiceloop" all the possible clovers instead of just farming them?
  14. S

    take_stash() problem

    Thanks a lot. ;)
  15. S

    take_stash() problem

    I just upgraded to 9.2, and my script is broken... One of my multis is in a clan that has a TPS in the stash, with the policy of immediately putting it back in after using it. So I use this script to get it.... // Fetches the TPS from the clan stash. void getTPS() { int iterations; if...
  16. S

    Pulverizing stuff

    Thanks ;D Yeah, I could experiment, but the only graphical version of mafia I have is the 8.1, and I was too lazy to get the latest one with my crappy dialup >_<
  17. S

    Pulverizing stuff

    I modified my Icy Peak script to farm the Castle and the PFA, and I wanted it to automatically pulverize some stuff the character finds (like RHSs or umbrellas). I can't find the ASH command to pulverize; I saw the CLI command, but does it allow to smash multiple items at once?
  18. S

    Hi Mein Script

    Actually, you need access to all 3 guilds, so just a single character won't do. But yeah, a fair share is subtle to calculate, since Smashing requires equipment, the Wok needs 1000 meat + 1 adventure per piece, and the Way of sauce only needs 1000 meat, I think (haven't got a sauceror at the...
  19. S

    Hi Mein Script

    If this was considered multi abuse, Jick wouldn't have made a food that needed 3 different classes to be made. >_> The idea is interesting, 3 scripts that wait each other to create the stuff, then send the result and cook. I'd work on it if I had a 15+ pastamancer ;)
Top