FFS!
Moderator: Moderators
FFS!
Could the mods please mute/ban/whatever anyone who decides to write the stuff that causes the lobby to crash? someone keeps doing in and its really starting to get annoying now..
[20:32:51] * Northball has left #main (Quit: undefined connection error)
[20:32:51] * [tN]Toonman has left #main (Quit: undefined connection error)
[20:32:51] * hyinennn has left #main (Quit: undefined connection error)
[20:32:51] * Aiwi has left #main (Quit: undefined connection error)
[20:32:51] * DrCain has left #main (Quit: undefined connection error)
[20:32:51] * Gazok has left #main (Quit: undefined connection error)
[20:32:51] * moorhun has left #main (Quit: undefined connection error)
[20:32:51] * KauhuKuula has left #main (Quit: undefined connection error)
[20:32:51] * DavTech has left #main (Quit: undefined connection error)
[20:32:51] * listig has left #main (Quit: undefined connection error)
[20:32:51] * DGun has left #main (Quit: undefined connection error)
[20:32:51] * Frylix has left #main (Quit: undefined connection error)
[20:32:51] * [EE]Decimator has left #main (Quit: undefined connection error)
[20:32:51] * [NR]hydrix has left #main (Quit: undefined connection error)
[20:32:51] * yienyien has left #main (Quit: undefined connection error)
[20:32:51] * [BM]Rudirogdt has left #main (Quit: undefined connection error)
[20:32:51] * TheNaughtily has left #main (Quit: undefined connection error)
[20:32:51] * buddlflink has left #main (Quit: undefined connection error)
[20:32:51] * Gyscos has left #main (Quit: undefined connection error)
[20:32:51] * flyinghuman has left #main (Quit: undefined connection error)
[20:32:51] * hobortos_hobagoly has left #main (Quit: undefined connection error)
[20:32:52] * Crazmez has left #main (Quit: undefined connection error)
[20:32:52] * Blueshift has left #main (Quit: undefined connection error)
[20:32:52] * r0b0 has left #main (Quit: undefined connection error)
[20:32:52] * Iklash222 has left #main (Quit: undefined connection error)
[20:32:52] * Wachner has left #main (Quit: undefined connection error)
[20:32:52] * OMLI has left #main (Quit: undefined connection error)
[20:32:52] * Mitch8Pain has left #main (Quit: undefined connection error)
[20:32:52] * skymyj has left #main (Quit: undefined connection error)
[20:32:52] * [WarC]Kixxe has left #main (Quit: undefined connection error)
[20:32:52] * davidoff has left #main (Quit: undefined connection error)
[20:32:52] * Magnesium has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Biscuit_Mage has left #main (Quit: undefined connection error)
[20:32:52] * Klaifotis has left #main (Quit: undefined connection error)
[20:32:52] * Rinac9 has left #main (Quit: undefined connection error)
[20:32:52] * bluedog has left #main (Quit: undefined connection error)
[20:32:52] * Merica has left #main (Quit: undefined connection error)
[20:32:52] * anticrust has left #main (Quit: undefined connection error)
[20:32:52] * drunk3nm8ster has left #main (Quit: undefined connection error)
[20:32:52] * causette has left #main (Quit: undefined connection error)
[20:32:52] * basholor has left #main (Quit: undefined connection error)
[20:32:52] * jimmysausage has left #main (Quit: undefined connection error)
[20:32:52] * Onix1 has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Acidd_UK has left #main (Quit: undefined connection error)
[20:32:52] * Reaperi has left #main (Quit: undefined connection error)
[20:32:52] * DoctorPlasma has left #main (Quit: undefined connection error)
[20:32:52] * [BDVS]Xahorhum has left #main (Quit: undefined connection error)
[20:32:52] * Someone_else has left #main (Quit: undefined connection error)
[20:32:52] * Stoy has left #main (Quit: undefined connection error)
[20:32:52] * [BDVS]sanex has left #main (Quit: undefined connection error)
[20:32:52] * [LCC]LordMatt[KoAA] has left #main (Quit: undefined connection error)
[20:32:52] * Robshot has left #main (Quit: undefined connection error)
[20:32:52] * jj has left #main (Quit: undefined connection error)
[20:32:52] * champifun has left #main (Quit: undefined connection error)
[20:32:52] * [WarC]DayWalkeR has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Ray has left #main (Quit: undefined connection error)
[20:32:52] * Snowbody has left #main (Quit: undefined connection error)
[20:32:52] * urock has left #main (Quit: undefined connection error)
[20:32:51] * Northball has left #main (Quit: undefined connection error)
[20:32:51] * [tN]Toonman has left #main (Quit: undefined connection error)
[20:32:51] * hyinennn has left #main (Quit: undefined connection error)
[20:32:51] * Aiwi has left #main (Quit: undefined connection error)
[20:32:51] * DrCain has left #main (Quit: undefined connection error)
[20:32:51] * Gazok has left #main (Quit: undefined connection error)
[20:32:51] * moorhun has left #main (Quit: undefined connection error)
[20:32:51] * KauhuKuula has left #main (Quit: undefined connection error)
[20:32:51] * DavTech has left #main (Quit: undefined connection error)
[20:32:51] * listig has left #main (Quit: undefined connection error)
[20:32:51] * DGun has left #main (Quit: undefined connection error)
[20:32:51] * Frylix has left #main (Quit: undefined connection error)
[20:32:51] * [EE]Decimator has left #main (Quit: undefined connection error)
[20:32:51] * [NR]hydrix has left #main (Quit: undefined connection error)
[20:32:51] * yienyien has left #main (Quit: undefined connection error)
[20:32:51] * [BM]Rudirogdt has left #main (Quit: undefined connection error)
[20:32:51] * TheNaughtily has left #main (Quit: undefined connection error)
[20:32:51] * buddlflink has left #main (Quit: undefined connection error)
[20:32:51] * Gyscos has left #main (Quit: undefined connection error)
[20:32:51] * flyinghuman has left #main (Quit: undefined connection error)
[20:32:51] * hobortos_hobagoly has left #main (Quit: undefined connection error)
[20:32:52] * Crazmez has left #main (Quit: undefined connection error)
[20:32:52] * Blueshift has left #main (Quit: undefined connection error)
[20:32:52] * r0b0 has left #main (Quit: undefined connection error)
[20:32:52] * Iklash222 has left #main (Quit: undefined connection error)
[20:32:52] * Wachner has left #main (Quit: undefined connection error)
[20:32:52] * OMLI has left #main (Quit: undefined connection error)
[20:32:52] * Mitch8Pain has left #main (Quit: undefined connection error)
[20:32:52] * skymyj has left #main (Quit: undefined connection error)
[20:32:52] * [WarC]Kixxe has left #main (Quit: undefined connection error)
[20:32:52] * davidoff has left #main (Quit: undefined connection error)
[20:32:52] * Magnesium has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Biscuit_Mage has left #main (Quit: undefined connection error)
[20:32:52] * Klaifotis has left #main (Quit: undefined connection error)
[20:32:52] * Rinac9 has left #main (Quit: undefined connection error)
[20:32:52] * bluedog has left #main (Quit: undefined connection error)
[20:32:52] * Merica has left #main (Quit: undefined connection error)
[20:32:52] * anticrust has left #main (Quit: undefined connection error)
[20:32:52] * drunk3nm8ster has left #main (Quit: undefined connection error)
[20:32:52] * causette has left #main (Quit: undefined connection error)
[20:32:52] * basholor has left #main (Quit: undefined connection error)
[20:32:52] * jimmysausage has left #main (Quit: undefined connection error)
[20:32:52] * Onix1 has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Acidd_UK has left #main (Quit: undefined connection error)
[20:32:52] * Reaperi has left #main (Quit: undefined connection error)
[20:32:52] * DoctorPlasma has left #main (Quit: undefined connection error)
[20:32:52] * [BDVS]Xahorhum has left #main (Quit: undefined connection error)
[20:32:52] * Someone_else has left #main (Quit: undefined connection error)
[20:32:52] * Stoy has left #main (Quit: undefined connection error)
[20:32:52] * [BDVS]sanex has left #main (Quit: undefined connection error)
[20:32:52] * [LCC]LordMatt[KoAA] has left #main (Quit: undefined connection error)
[20:32:52] * Robshot has left #main (Quit: undefined connection error)
[20:32:52] * jj has left #main (Quit: undefined connection error)
[20:32:52] * champifun has left #main (Quit: undefined connection error)
[20:32:52] * [WarC]DayWalkeR has left #main (Quit: undefined connection error)
[20:32:52] * [tN]Ray has left #main (Quit: undefined connection error)
[20:32:52] * Snowbody has left #main (Quit: undefined connection error)
[20:32:52] * urock has left #main (Quit: undefined connection error)
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
and again..
[23:48:49] * Blueshift has left #main (Quit: undefined connection error)
[23:48:50] * [KnoX]P3374H has left #main (Quit: undefined connection error)
[23:48:50] * Northball has left #main (Quit: undefined connection error)
[23:48:50] * Iklash222 has left #main (Quit: undefined connection error)
[23:48:50] * Saff has left #main (Quit: undefined connection error)
[23:48:50] * Dedalus has left #main (Quit: undefined connection error)
[23:48:50] * jj has left #main (Quit: undefined connection error)
[23:48:50] * DarthVader has left #main (Quit: undefined connection error)
[23:48:50] * [KnoX]Myg has left #main (Quit: undefined connection error)
[23:48:50] * ChanServ has left #main (Quit: undefined connection error)
[23:48:50] * Testy has left #main (Quit: undefined connection error)
[23:48:50] * Napkin has left #main (Quit: undefined connection error)
[23:48:50] * [LCC]NeverToDie has left #main (Quit: undefined connection error)
[23:48:50] * nw_inferno has left #main (Quit: undefined connection error)
[23:48:50] * Gilroy has left #main (Quit: undefined connection error)
[23:48:49] * Blueshift has left #main (Quit: undefined connection error)
[23:48:50] * [KnoX]P3374H has left #main (Quit: undefined connection error)
[23:48:50] * Northball has left #main (Quit: undefined connection error)
[23:48:50] * Iklash222 has left #main (Quit: undefined connection error)
[23:48:50] * Saff has left #main (Quit: undefined connection error)
[23:48:50] * Dedalus has left #main (Quit: undefined connection error)
[23:48:50] * jj has left #main (Quit: undefined connection error)
[23:48:50] * DarthVader has left #main (Quit: undefined connection error)
[23:48:50] * [KnoX]Myg has left #main (Quit: undefined connection error)
[23:48:50] * ChanServ has left #main (Quit: undefined connection error)
[23:48:50] * Testy has left #main (Quit: undefined connection error)
[23:48:50] * Napkin has left #main (Quit: undefined connection error)
[23:48:50] * [LCC]NeverToDie has left #main (Quit: undefined connection error)
[23:48:50] * nw_inferno has left #main (Quit: undefined connection error)
[23:48:50] * Gilroy has left #main (Quit: undefined connection error)
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
I understand, I'm saying I don't understand the nature of the bug, therefore I'm going to leave deciding what kind of moderation action should be taken and what is the trigger case up to betalord. Not that we should wait until the next spring lobby release when it will be fixed.Cabbage wrote:Aye, i don't mean deal with the bug thats for betalord ofc. I just mean there have been prats using it today, causing the lobby to crash repeatedly
i wont post the link here but it is in mantis.SwiftSpear wrote:I understand, I'm saying I don't understand the nature of the bug, therefore I'm going to leave deciding what kind of moderation action should be taken and what is the trigger case up to betalord. Not that we should wait until the next spring lobby release when it will be fixed.Cabbage wrote:Aye, i don't mean deal with the bug thats for betalord ofc. I just mean there have been prats using it today, causing the lobby to crash repeatedly
edit : mantis report is now hidden from plebs
People don't neccessarily do that intentionally, it has to do with typing some special characters (like some french ones) which server doesn't translate correctly as it doesn't support utf (it splits them by $A / $D I think, causing a line break making a half of line new command which client recognizes as invalid command, which is critical error for client as it thinks server is malfunctioning).
Will probably take another couple of days to fix, if anyone is into java and java.nio buffers, feel free to check server sources in svn and help me locate the cause :)
Will probably take another couple of days to fix, if anyone is into java and java.nio buffers, feel free to check server sources in svn and help me locate the cause :)
Well, the cause is that the CharsetDecoder's decode() method messes up in an unusual way when the readbuffer contains a pair of bytes that don't represent a character in the ISO-8859-1 set (ie. any char whose decimal value exceeds 0x00FF), even though (with the CodingErrorAction for unmappable characters set to REPLACE) the decoder should just silenty insert question marks into its own output buffer in those cases and be done with it. I changed the CodingErrorAction to REPORT to see if any UnmappableCharacterExceptions would be thrown (by purposely putChar()-ing random 2-byte values like 0xDEAD into a ByteBuffer and passing it to decode()), but no dice there either, just a bunch of wrongly mapped crap in the output. Whatever's causing those LF or CR chars to appear, it isn't an official exception.
Last edited by Kloot on 04 Nov 2006, 19:59, edited 1 time in total.
Why can we not switch the protocol to use utf rather than ascii or w/e is used currently? The unicode setup's supported in python/delphi/java is it not? It would require just changing the encoder/decoder in the server, then changing the clientside GUI and data structures appropriately..
And if I understand correctly then why is it that the server cant just filter out the half new line messages? And whats stopping a check client side resulting in discarding the message rather than just assuming the server's broken and disconnecting...
Or why not just filter out messages with utf characters client side?
Have you also tried making sure the JRE on the server machine is upto date with the latest version? It may be that a java bug with this has already been fixed and a distribution is available....
And if I understand correctly then why is it that the server cant just filter out the half new line messages? And whats stopping a check client side resulting in discarding the message rather than just assuming the server's broken and disconnecting...
Or why not just filter out messages with utf characters client side?
Have you also tried making sure the JRE on the server machine is upto date with the latest version? It may be that a java bug with this has already been fixed and a distribution is available....
Since the protocol is full text (correct me if I'm wrong) maybe it could use special placeholders like HTML does, if it is too much trouble to put unicode or utf8 support in. On the other hand, the quickest solution would be to strip all special characters from the buffer by restricting it to a-zA-Z0-9 and some special chars (like brackets, +/-*...etc) perhaps.
Switching to UTF-8 wouldn't really matter since anybody with malicious intent could still force-insert control characters into their text, and adding client-side filtering would be pointless due to being trivial to defeat. The only thing that absolutely *is* required is better input validation on the part of the server by having it strip out illegal characters (basically all non-alphanumeric ones) before processing the buffer further, which on the bright side would take maybe 5 minutes to implement.
after analyzing the problem a bit more I figured out it was not about splitting lines at all (that was a problem some time ago and I thought this was related), the problem was in TASServer.sendLineToSocketChannel() method not correctly cutting received string into chunks that would fit the writeBuffer, since String.length() returns number of "chars", not bytes (causing BufferOverflowException on too long byte streams that contained some special chars).
Problem should now be solved, sorry for misguiding you though!
Problem should now be solved, sorry for misguiding you though!