Search results

  1. T

    Algebra in ASH?

    Would this do it? (found it on the ash wiki): matcher reset( matcher m , string input ) Resets matcher to search from beginning of string, possibly with new input. You could make it and initially just give it a blank string or something, and then later reset it: matcher op_matcher =...
  2. T

    How do I script non-philanthropic buff requests?

    Hmm, I ran the exact same line of code and it only sent 80 meat for me And here's my session log: sendmessage.php?action=send&towho=792443&message=Keep+the+contents+of+this+message+top-sekrit%2C+ultra+hush-hush.&sendmeat=80&pwd Are you having the same problem with other buffs from this bot...
  3. T

    find_demons.ash

    Awesome, I'm glad that it seems to be working for everyone now. Thanks dj :D
  4. T

    find_demons.ash

    Haha, you're welcome :)
  5. T

    find_demons.ash

    Wow, that's tricky, I don't think I ever would have caught that. thanks for the help jason.
  6. T

    find_demons.ash

    Yeah, luckily I noticed that when I was copying it, so I just added a line to increment it ;) I'll see what I can do to fix the pie demon problem. If worst comes to worst maybe I'll just take out the print statements. Then at least it wouldn't be giving incorrect feedback. Hmm yeah, that's...
  7. T

    find_demons.ash

    I think it must be an issue with mafia not setting the demonName1 property. Because the code looks like it should work and it's returning the same thing if you run it again later... just I think by then the property has been updated so it gives the correct result. Well I guess the important part...
  8. T

    find_demons.ash

    Okay awesome, so then it should work for this purpose. As long as mafia updates the demonName1 property as soon as it encounters the signals crossed response
  9. T

    find_demons.ash

    Just updated the pie demon part using zarqon's code, those of you that don't have your pie demon yet, let me know if it works for you now.
  10. T

    find_demons.ash

    And what does it return? I'm assuming it returns false if it couldn't get the item. Is that not the case?
  11. T

    find_demons.ash

    Yeah, summon automatically tries to buy them, but just in case you don't have access to the mall or something it's probably still a good idea to check. I'm not sure exactly what summon does if it can't get the necessary items, so better safe than sorry As zarqon said a few posts back, the demon...
  12. T

    find_demons.ash

    Well it does look more concise, but i don't see why the result would be any different. Oh well, can't hurt to try it. Also, I guess it's a good idea to make sure you have the scroll and candles first.
  13. T

    Any script requests?

    Does that include things like thrust smack? because I see Alhifar is calculating them himself. The mafia files would work for the items that do some constant amount of damage, but would they also work for the skills in Alhifar's script?
  14. T

    find_demons.ash

    I was only missing the Post-war Sonofa Beach and the Friar's Gate ones, I ran it with zarqon's latest CanAdv and it found both. I looked at the code for the pie demon and, and I have no idea why it was saying it wasn't found. It looks like it should work... I wonder if it's some problem with...
  15. T

    Any script requests?

    cakyrespa had a very nice idea for a script he's writing, which was when you need to have lots of formulas like this that would normally require a massive switch statement, to instead write the formulas in Reverse Polish Notation (RPN) and put them in a map file. And then evaluate the formulas...
  16. T

    find_demons.ash

    Huh, that's interesting. I'll see if I can figure out why it did that Thanks for the CanAdv fix, zarqon. Guess that should fix that problem.
  17. T

    Any script requests?

    thanks Alhifar, that looks like exactly what I wanted to do. I'm surprised mafia had no quick way to do this. Does this take into account if it is a ranged weapon or not?
  18. T

    Any script requests?

    Is there some function to get the expected amount of damage that attacking with your weapon will do to a monster? (Like expected_damage does for how much damage the monster will do to you) If not then I guess this would need to be calculated manually, which could get kind of crazy. here's what...
  19. T

    Any script requests?

    well maybe my fix didn't work (as I said, I was just taking a guess at how the counters work) but that doesn't change the fact that you are wasting adventures, you should find a way to only adventure until you encounter the rock monster, then go back to fighting sandworms.
  20. T

    Any script requests?

    Hmm, what do you mean "stops"? does it abort, hang up, or exit the while loop and print out the summary info? it looks like it should work... as far as the yellow ray stuff it looks like there is a built in counter for it, though i'm not sure how to use it...
Back
Top