Search results

  1. I

    Bug - Fixed Maximizer doesn't like outfits with weapons

    When there's an outfit with a weapon, maximizer avoids that weapon even when the outfit is the only solution. Such as Gel Noob, Gladiatorial Glad Rags is the only suitable outfit that grants adventures; but as it involves a weapon, Maximizer will avoid it if you are not already holding the...
  2. I

    Bug IOException: GOAWAY received

    With the HTTP Migration from HTTP1 to HTTP2 which has offered tremendous speed gains, there is a new issue where every so rarely often the mafia client will receive an IOException. Summed up, it's as the title says. GOAWAY received. It's not the devs trying to tell us we're unwelcome either...
  3. I

    Feature - Implemented Migration from HTTP/1.1 to HTTP/2.0

    Was thinking of making a bug report for this, but I'm not sure if it can be linked to this https://bugs.openjdk.java.net/browse/JDK-8198947 The error itself is IOException: GOAWAY received I'm using Java 11, are you on 11 too? Could be the case this would be fixed if java is updated. Another...
  4. I

    Feature - Implemented Migration from HTTP/1.1 to HTTP/2.0

    Oh wow, the performance increase is insane. I was getting up to 900ms in response times, and it's gone down to 250ms. I live in New Zealand, so this is about the best ping I can get. Mafia now feels like it's running suspiciously fast.. Awesome work! I had fully expected this project to be...
  5. I

    Combat Locket - What monsters do you lack?

    Updated, added a bunch of other monsters. Including lucky! ones
  6. I

    Combat Locket - What monsters do you lack?

    With the iotm of feb 2022, we have a locket that stores monsters. But what happens if you want to know what monsters you're lacking? This is a bit frustrating! This script reads locket_monsters.txt to tell you what locket monsters in that list, you still do not have. locket_monsters.txt is a...
  7. I

    Feature - Implemented Migration from HTTP/1.1 to HTTP/2.0

    KOL supports HTTP 2.0 and prefers to use that, while HTTP 1.1 is outdated and a legacy of the past. It's also slower. Unfortunately, this does create a small problem as HttpURLConnection, which is used internally, does not support HTTP 2.0 Instead HttpClient seems to the recommended library for...
  8. I

    Feature Provide command usage examples in text title

    Most of the commands that can be used are obvious enough, but a few of them are a bit confusing. The syntax may be complicated and there may be edge cases out there. My suggestion, now that you can hover over text in CLI to show a floating "title" is that we can use it to show examples of how...
  9. I

    Bug - Fixed Storage - Empty & Pull

    My bad. I definitely didn't have enough sleep when I made this post. Yeah, only 1. is valid. 2., I had updated halfway through the day and tested with the wrong item, one I had already pulled..
  10. I

    Bug - Fixed Storage - Empty & Pull

    With the recent addition to the "Storage" menu of the Item Manager. We now have "Empty" However empty can be called, even when it can't be used. Such as in hardcore, ronin etc. KoL will actually mark your attempt and refuse to let you access your storage until the timer runs out. This seems...
  11. I

    Feature - Implemented hermit(int, item) returns true on failure to buy clover

    Oh, this should actually be opened as a bug report. It's not normal for "acquire 11-leaf clover" to throw an abort error is it? The normal acquire error should be that it returns 0 as it couldn't acquire?
  12. I

    Feature - Implemented hermit(int, item) returns true on failure to buy clover

    Adding to this discussion, if we're going to throw errors when attempting to buy clovers from the hermit. We really should give some way to tell if there's clovers at the hermit. Currently there's no way from a script, outside of catching the error or parsing the result of executing the CLI...
  13. I

    Four commands using registerSubstring

    > pvpmirror.ash Mirror stream closed. It's not so much that it's just the mirror, but that it's something that could be fixed. But yeah. I'll whip up some PRs Also found the commit for mirror streams. It doesn't really explain why it's needed The first commit...
  14. I

    Four commands using registerSubstring

    Can add "brewery" as a command alias. Same for mirror, "mirrorend" and the like added. The reason I want to make this change is because it's effectively removing "mirror" from a possible script name. Which makes finding a name for the full length mirror semirare script a bit difficult.
  15. I

    Four commands using registerSubstring

    So I was looking at why I can't make a script called "pvpmirror" Then I realized it's due to some weird command registration behavior. So now I'm wondering why it's even a thing. Only 4 usages, and only one of them look valid. Github...
  16. I

    Feature Adding "stop" for scripts to gracefully stop

    You're effectively proposing that scripters should be scared of the users, that they should wrap everything in a series of tries. Abort is a pretty hard measure, while this proposal is about letting the program shut down safely. When the script is doing something it expects to error, it doesn't...
  17. I

    Feature Adding "stop" for scripts to gracefully stop

    Yes, but the key idea of this is that a script can exit gracefully on its own terms. If you really need to abort the script immediately, don't run anything more. Press escape. If you want to have the farming script stop midway after it's in a good state for the user to take over. Then use this...
  18. I

    Feature Adding "stop" for scripts to gracefully stop

    I agree that the reasonable stopping point should be determined by the script, so this would be something the script itself has to support. We have hard aborts, which forces the script to stop. And this is a graceful stop, which only the script would know. Just because I finished a combat...
  19. I

    Feature Adding "stop" for scripts to gracefully stop

    There are two ways for a script to exit. The first is on their own terms, the second is by aborting (Esc / Abort) which may leave the account in a bad state. But a lot of scripts are something that can exit midway gracefully, yet there's no actual way for the user to do this. Even with...
Back
Top