Search results

  1. G

    Bug - Fixed /who clan in relay browser doesnt match "players in channel clan" window

    I'm very sorry about this. I remember having a look last time and being stumped, then forgetting about it. This time round the problem was more apparent to me. The regex we had previously used assumed colours would be written "gray, black, blue", while listening friends are #0099ff. I have...
  2. G

    Bug - Fixed Cannot store boolean in f of type float

    Perfect. Thanks :-)
  3. G

    Bug - Fixed Cannot store boolean in f of type float

    > ash get_property("baleUr_BirdThreshold") Returned: 0.1 > ash float f = get_property("baleUr_BirdThreshold").to_float(); Cannot store boolean in f of type float () Returned: void This is taken from Universal Recovery, but either way it seems bugged to me that a float property can't be...
  4. G

    Should I bother with a bug report in extreme cases?

    If you can give enough information for someone to understand it (and possible reproduce it), then posting it does no harm and may do some good. If it's sufficiently complicated, the bug can always be rejected.
  5. G

    Recovering KoL password from mafia?

    I don't mind you saying it was me. I'm glad it works for you. Anyone who particularly wants to produce the same thing can do so simply by reading Veracity's code. Or, you know, the open-source KoLmafia code... However, to avoid making things too readily available for those who would use it for...
  6. G

    Recovering KoL password from mafia?

    Are you sure? I get "buffbot2".
  7. G

    Scripts and relay browser in linux?

    Scripts don't need to be executable. Are you sure you are putting them in the right folders? Note that you should NOT be creating your own /relay and /scripts folders. If you copied everything across from Windows then those folders are now redundant. Mafia's folders can be found in: ~/.kolmafia...
  8. G

    Feature - Implemented Request a Fax from CLI

    I'll get on it! :)
  9. G

    Feature - Implemented Request a Fax from CLI

    Sorry it's taken me so long to get around to this. I had my last final today, so have finally had some time to get to things. I don't think I have the expertise to produce an infallible way of determining whether we are in chat or not, unfortunately. Chat messages either come in through mafia...
  10. G

    (Mostly) Headless chatbot scripting

    Okay. I think I need a bit of detail from you as to what you are doing. When you initially invoke mafia, how do you do it? Give me the exact command you use (it should have "java" and "-jar" somewhere in it). Secondly, do you run a login script? If so, what is it? Please don't omit anything. In...
  11. G

    (Mostly) Headless chatbot scripting

    Why would you do that? You can't run a script that requires user input from headless mode. The concepts contradict one another. Headless means you have no means of responsive user input (keyboard, mouse, etc). The problem seems to be caused the invocation of the script demanding string input...
  12. G

    (Mostly) Headless chatbot scripting

    I use headless, but haven't updated mafia on the server I use for a while now (as long as chat doesn't change, I see no reason for me to). I'm currently in the middle of my finals, so can't do any digging around for another few days, but if you post the output, that would be helpful. I'm sure...
  13. G

    Help with extracting a portion of a string

    Glad it works. The part I posted, at least, is the code I use in my hamster script. Just a suggestion here, but it looks as though the code you're posting here is part of something bigger. Unless hoboAvailable()'s return is irrelevant (in which case it should be void), or you do something...
  14. G

    Help with extracting a portion of a string

    beginning = index_of(hobopolis, "hobopolis/townsquare") + 10; hobopolis = substring(hobopolis, beginning); finish = index_of(hobopolis, ".gif"); beginning = 10; hobopolis = substring(hobopolis, beginning, finish); print("Hobopolis image " + hobopolis...
  15. G

    Bug - Fixed Opening profiles from mafia chat results in nothing

    Thanks. I think I have the gist of your issue. The default behaviour for clicking on a name without a toolbar specifying otherwise is to open a private message with that person. I assume that's what you mean happens when you click their name (and a new tab appears)? In Preferences >> Chat...
  16. G

    Bug - Fixed Opening profiles from mafia chat results in nothing

    It works fine for me. Could you list your chat preferences and what they are set to? If you suspect it is a preference issue, then it is hard to replicate without those details.
  17. G

    Help with chatbot buffing.

    The whole point of an underscore prefix is this functionality (daily reset). In this case, it being a daily preference is exactly what you want. In another situation, a preference that doesn't reset daily is one that does not have an underscore. Your code looks fine. Happy buffing!
  18. G

    Help with chatbot buffing.

    Creating a preference that begins with an underscore means that it will be reset daily. So, _lastBuffReset (the one you use in your code) is added to your preference file and handled like every other daily preference. No need to fiddle with any internals. Now, you currently set the preference to...
  19. G

    Help with chatbot buffing.

    Theraze shows you one way of doing that, but in the future my advice would be to think about these sorts of problems before posting on here. Adding two integers together (whether in a map or not) is pretty simple ASH coding. I think the fact that the integers are in a map is making you scared...
  20. G

    HALP! Mafia isn't working on my computer anymore.

    If you are interested, the .exe and the .jar are pretty much the same thing. A .exe is a windows executable, but in the case of KoLmafia, all it does is contain the .jar file, along with a few other nifty commands to make it run properly. However, for most users, the default settings on a .jar...
Back
Top