Search results

  1. B

    Daily farming script

    I had a line in the script that read "countI1++;" and Mafia obviously doesnt recognise ++ as an increment, and displayed an error message similar to the last one, apart from it had a curly bracket insted of a parenthethis, "}" and not ")". Just saying that if you were reconsidering the error...
  2. B

    Daily farming script

    Ahh i understand it better now. I am wondering if Mafia is parsing the error thrown by java, and inserting it into the display line, as it is similarly written in jav if i remember correctly. Thanks a lot for all ur help guys, i really appreciate it, especially efiln :)
  3. B

    Daily farming script

    I understand that, but i dont understand what it has to do with missing parenthesese (sp) Im a computer science student, so it probably goes outside the scope of mafia scripting, but it would be interesting to know.
  4. B

    Daily farming script

    Just got that before checking here :) Thanks. Surely it should give a different error message, because it is not missing a ')' it is missing a '='?
  5. B

    Daily farming script

    Comments heeded :) and apologies accepted. I don't mean to harm KoL, i love this game :) A bug has occurred with the script. Says " ')' expected at line 33 of..... " while (have_effect($effect[Carlweather’s Cantata of Confrontation]) = 0 && over240 == false) { wait(30)...
  6. B

    Daily farming script

    Didnt realise that this would be quite so frowned upon. And it is not a mallbot. That is something that would be on constantly, refreshing the mall search page for item x every y seconds and purchasing any item x under a certain value. That is not what this does. Why would i be on peoples...
  7. B

    Daily farming script

    Why? I want it to check for any yeti fur below the bounty price for hippo skins and buy them all. Whats wrong with that?
  8. B

    Daily farming script

    What i was thinking, was to buy 1 of an item, check the new meat total against the old meat total (before purchase) and if it less than x amount difference, then buy another one.
  9. B

    Daily farming script

    Thanks for the comments/fixes, helped a lot :) Thanks for the link, although i think i will leave it looping. I often set the farmers off before i go out somewhere, and the chances of it taking a long time is nigh on zero. I will however increase the waiting time to about 30 seconds to stop...
  10. B

    Daily farming script

    Basically, this is my first ASH script for KoLMafia, and i was wondering if someone could give it a quick once-over to check for any bugs that i might have missed. It should be pretty easy to work out what it does, its commented as well.
Top