1

Closed

Bot error processing some chars of an MOTD

description

citadel.ringoflightning.net => :citadel.ringoflightning.net 372 TopicServ :- +--
-----+ +-+ +--+ +-+ +-----+ +-----+ +-------+
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SharpIRC.Parser.fData(String data, Int32 startIndex, Int32 endIndex) in D:
\Desktop\sharpirc_29f384601d64\SharpIRC\Parser.cs:line 287
at SharpIRC.Parser.ConnnectToNetwork(IRCConnection connection) in D:\Desktop\
sharpirc_29f384601d64\SharpIRC\Parser.cs:line 123
Closed Mar 20, 2013 at 7:57 AM by Blizzardo1
This issue is no longer a real issue. merely a bug for one server. All other servers have been tested out. Good Day.

comments

mattatobin wrote Mar 18, 2013 at 5:36 PM

citadel.ringoflightning.net => :citadel.ringoflightning.net 372 TopicServ :- ###
### #### ### ####### #######
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SharpIRC.Parser.fData(String data, Int32 startIndex, Int32 endIndex)
at SharpIRC.Parser.ConnnectToNetwork(IRCConnection connection)

mattatobin wrote Mar 18, 2013 at 6:07 PM

As a note: This issue is preventing the bot to properly connect to this network which is absolutely reliant on this bot.

lexi wrote Mar 19, 2013 at 10:42 AM

the MOTD is meant for the ASCII character system. In addition the TEXTFILE (.txt) file extension is not meant by design to process UTF8 characters.
I see no purpose in supporting UTF8 its simply not worth the bother