Search results

  1. roippi

    Feature Processing indicators

    It's an interesting thought. Lot of work, though. I think we should fix some ASH scripts not turning the sidepane gray, no?
  2. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Yeah should have made it implement Runnable and wrapped it in a RequestThread.runInParallel(this). Away from compy until late tonight. (Also I should turn debugFoxtrotRemoval on so I see those stack traces too)
  3. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    5xx error codes mean "internal server error" and the w3c recommends that clients display the error message to users. So nothing incorrect about that behavior.
  4. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Yeah I'm a big dumbhead from dumbville, I was working off an older version of ChatPoller. Thus why you were unable to reproduce many of my behaviors. Sorry about creating extra work for you. r14802 slides in a clickable message to the chat GUI when you're away. I might tweak the styling of...
  5. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Oh wow, I wonder if I needed to svn update. That would be awkward. On mobile now, can check in a half hour.
  6. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Are you sure of this step? I attached a listener to ChatPoller.setPaused() and it is not fired after sending a chat message in the GUI after being put into "away" state. I could just be looking in the wrong place, of course.
  7. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Here are my steps: - Fire up mafia. Open chat GUI. - Open relay browser, enter "modern" chat - Execute "/afk" in the GUI. KoL responds with a "you are in away mode" event, as expected. - In mafia's GUI, send myself a message. KoL does not respond with a "Welcome Back!" message, unexpectedly...
  8. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Some testing reveals some behaviors: - If I have chat GUI open but no relay chat, mafia will not enter away mode because the event "You are now in away mode..." never happens. Even if you use the /afk command, this event doesn't happen. - If GUI and (modern) relay chat are both open and away...
  9. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    I just implemented this, didn't take that long. Is there some chat command that I can send that won't echo anything (but will take me out of away mode)? I'm drawing a blank. n.b. you can put yourself into away mode via /afk (though only if you have the relay chat open simultaneously? weird..)
  10. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    Really chat systems should be written with (web)sockets that can simply "subscribe" and accept new entries as they come, rather than a "polling" paradigm which enormously wastes server resources. In order to implement this you have to understand stuff like message queueing, websockets, etc...
  11. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    +1 to all of this. I've seen the goalposts moved a lot as to what people are complaining about with the new changes. Is it a logging issue? I can't make myself care about that. Is it a UI issue? Maybe that's a feature request - a clickable "you are in away mode, click to leave" pane at the...
  12. roippi

    Bug - Fixed "You are now in away mode, chat will update more slowly until you say something."

    People complain about change because it is change. Give it a week and it will be the new norm.
  13. roippi

    Images Folder: Help

    I wouldn't expect mkdirs() to mess with any contents of a pre-existing images (or Images) folder. I would expect RelayRequest.clearImageCache() - which is done on the first startup - to delete pretty much everything in there, though. OP, I suspect your images are gone for good, unless you had...
  14. roippi

    Bug - Not A Bug Rain Man page overlaying other pages

    Probably the same bug as here. Note that while mafia is responsible for injecting the CAB into some pages, it sounds like the bug happens on any page with the CAB on it, so we're not responsible for that.
  15. roippi

    xpath primer

    Updated with some more examples. Frustratingly our current htmlcleaner's implementation of count() seems to be broken, and it doesn't support contains() at all, which is a bummer - that's a rather useful function. I do still plan on upgrading our version of htmlcleaner so that people have...
  16. roippi

    xpath primer

    Yep. I think my English translation of that query - "give me all <tr> nodes that are contained by a <table> node." - is accurate, but you're right that there are some behaviors with // searches that can trip some people up. I'll see if I can expand on that. Yup, I'm ramping up to combining...
  17. roippi

    xpath primer

    Getting more advanced now. Honestly if you master the stuff in the above post, you can probably already grab 95% of the things you need to grab out of the DOM. -- "give me any nodes which have "Cell 1" as their inner text." > test xpath //*[text() = "Cell 1"] 1: td I introduced text()...
  18. roippi

    xpath primer

    -- "give me all <tr> nodes that are the direct child of a <table> node." > test xpath //table/tr no matches. Did you pay attention to the bold text in the above post? Go read it again. -- "give me all <tbody> nodes that are the direct child of a <table> node." > test xpath //table/tbody...
  19. roippi

    xpath primer

    Yep. It's an xpath primer. This is going to be entirely example-driven (because honestly, xpath is completely impenetrable without examples). First, here's some example HTML: <html> <body> <h1>A header</h1> <table> <tr id="first"> <td id="first_cell">Cell 1</td>...
Back
Top