Recent content by Grotfang

  1. G

    Check if last adventure was non-combat

    Maybe. Though it seems as though this function ought to work if possible. As far as I can tell the name is taken from the HTML via regex when stored in lastEncounter, but by the time it gets stored in MonsterStatusTracker (where last_monster() gets its info from) the name has been canonicalised...
  2. G

    Check if last adventure was non-combat

    I think so. This is the best I could do: string lastEncounter = get_property("lastEncounter"); if(to_monster(lastEncounter) == last_monster()) { print("True"); # lastEncounter was a combat } else { print("False"); # lastEncounter was a non-combat } I haven't worked through...
  3. G

    Chatbot... (again?!)

    if (channel == "Events")
  4. G

    Bug - Fixed Browser suppresses some "modern chat" messages in Relay Browser

    Yeah... I started writing some code to try and fix this a while ago, but my degree intensifying coincided with a burnout from KoL and I didn't get very far (and haven't been around much since). What's being described sounds like the issue I was trying to fix way back when and is exactly what...
  5. G

    New Content - Implemented KoLmafia doesn't fully support KoL's built-in tabbed chat

    If I remember correctly, this is correct. It was one of the frustrations I had when trying to write this patch first time round, as I couldn't readily see how to fix this. I believe my solution at the time was to start the chat poller when the relay browser chat was opened, or when GUI chat was...
  6. G

    Bug - Fixed chatBot != chatbot

    Is this an intentional change? The preference has been chatbotScript, not chatBotScript for as long as I've been using it.
  7. G

    chatbotScript in CLI mode

    Is headless mode acceptable?
  8. G

    Feature Add seconds to chat log

    In addition, the seconds in the timestamp carry little meaning, since they would just reflect when the chat message object was created by mafia. Nothing really to do with the messages themselves as sent to the server.
  9. G

    Chat Issues

    The only way I can see that messages might be "eaten" would be if you had new chat in the relay browser and the native mafia chat client open at the same time. Is this the case?
  10. G

    New Content - Implemented KoLmafia doesn't fully support KoL's built-in tabbed chat

    That sounds great. I am unlikely to finish this. I don't even have time for KoL itself at the moment.
  11. G

    Turnip check?

    Personally, my favourite silly word is erinaceous. I have been aware of it for about two years now, waiting for a chance to use it appropriately. One is yet to arrive...
  12. G

    Bug - Fixed Highlighting locally mangles links in chat

    Congratulations :-) Honestly, sometimes I need a bit of a kick. I don't mind.
  13. G

    Bug - Fixed Highlighting locally mangles links in chat

    Could you talk me through this -- I just tried to look at this problem (and fix it) but couldn't reproduce. My process: 1. I posted a link for http://google.co.uk 2. I added highlighting for the word google 3. I posted a link for http://www.google.co.uk 4. I tested both links In both cases...
  14. G

    Rash - Remote Ash Scripts

    The security isn't the main issue here, you are right. But what you say is not entirely true. KoLmafia, being open source and all, is a whole different ball park. I get to change the code to my liking and blend the main code with mine to make it my software. Trust isn't a part of it at any...
  15. G

    Rash - Remote Ash Scripts

    I realise you have put ever increasing amounts of work into this, but I don't think this is the right solution to the problem you are trying to fix. Fronobulax sums it up nicely. There are better, more robust solutions that also keep control firmly in the hands of the end users. If you really...
Top