rwbarton / rw

DCSS bot
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

we don't get messages when they are the same as the previously displayed messages #3

Closed rwbarton closed 11 years ago

rwbarton commented 11 years ago

When Crawl displays a new set of messages that is exactly the same as the previous set of messages, the webtiles server doesn't send anything at all. A common case of this is Xom teleroulette, but it can also happen in theory if there are a lot of combat messages on the same turn.

A possible solution is to incorporate events from a watchdog thread into the message area event. Another "solution" is to wait and see whether the webtiles server switches to a friendlier format for sending new messages.

rwbarton commented 11 years ago

Also consider not using clear_messages. Xom teleroulette will update the message area on each step then, at least as long as the height of the message area is more than the number of steps of the journey. (Can we resize the webtiles message area without affecting the ttyrec? Edit: No, we cannot.)

rwbarton commented 11 years ago

Christmas came early and there is a new webtiles message format. Xom isn't cooperating with testing, but I believe rw can now get through a Xom teleroulette.