Looking for the latest version? Download pircbot-ppf.jar (91.1 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 2 Items   95.9 kB 8
readme 2010-12-05 4.8 kB 77 weekly downloads
pircbot-ppf.jar 2010-12-05 91.1 kB 11 weekly downloads
v1.1.0 (14.03.2010): - added SSL support - PircBot.java: added SocketFactory getSocketFactory() - Pircbot.java: added setSocketFactory(SocketFactory socketFactory) v1.0.0, first release, changes from PircBot 1.4.6: - PircBot.java: Fixed a reported problem when connecting to a server that for some reason sends an empty line (start of handleLine()) - PircBot.java: Added skipping of "error" code 439 (which is an unsupported code) so that client can connect to more networks. - PircBot.java: processServerResponse() when code == RPL_NAMREPLY, bug fix so that names don't appear incorrectly when unknown modes are used see RFC2812 2.3.1 - PircBot.java: fix handling of server kicking us out in the middle of connection - previously pircbot would end up saying "already connected" when it was in fact disconnected, and would not recover without a restart. - PircBot.java: added boolean isInCommonChannel(String nick) - a convenience method to check that a user (nick) is in a channel (any channel) with the bot - PircBot.java: added String[] getCommonChannels(String nick) - returns a String array of the channel names that a user (nick) is in with the bot - PircBot.java: added int numCommonChannels(String nick) - returns how many channels the user and bot are in with each other - PircBot.java: added getUser(String nick, String channel) - returns the User object for the specified nick in the specified channel. - PircBot.java: added onPart(String channel, String sender, String login, String hostname, String reason) - onPart event with reason text - PircBot.java: deprecated onPart(String channel, String sender, String login, String hostname) - this is still called as well as the newer onPart method - Colors.java: fixed color stripping to leave NORMAL code in place if there is formatting used - Colors.java: fixed format stripping to leave NORMAL code in place if there are colors used - User.java: implements Serializable - PircBot.java: added method: public boolean isVerbose() - PircBot.java: added method: public void setFallbackEncoding(String charset) - PircBot.java: added method: public String getFallbackEncoding() { - PircBot.java: removed (from original PircBot 1.2.0) deprecated method: dccAcceptChatRequest(String, long, int) - use onIncomingChatRequest(DccChat) - PircBot.java: removed (from original PircBot 1.2.0) deprecated method: onDccChatRequest(String, String, String, long, int) - use onIncomingChatRequest(DccChat) - PircBot.java: removed (from original PircBot 1.2.0) deprecated method: dccReceiveFile(File, long, int, int) - use onIncomingFileTransfer(DccFileTransfer) - PircBot.java: removed (from original PircBot 1.2.0) deprecated method: onDccSendRequest(String, String, String, String, long, int, int) - use onIncomingFileTransfer(DccFileTransfer) - PircBot.java: removed (from original PircBot 1.2.0) deprecated method: onTopic(channel, topic) - use onTopic(String, String, String, long, boolean) - PircBot.java: fixed bug when trying to reconnect() after a disconnect() (it used to claim that you were already connected when you weren't) Other User modes (prefixes) --------------------------- non standard user modes, eg: qha, supported in a server independent way. Not all servers support these modes, and different servers may have different meanings or symbols for the different modes: - ReplyConstants.java: added server info constants 1 - 5 - User.java: added public method hasPrefix(String), added protected method addPrefix(String), added protected method removePrefix(String) - PircBot.java: added _userPrefixes Hashtable that stores the mode letters and symbols picked up from server response code 005 when joining the server - picked up from the PREFIX variable passed in. Defaults of (ov)@+ / op and voice are used. - PircBot.java: added _userPrefixOrder String that keeps the order of user modes (highest left to right), picked up from the PREFIX - PircBot.java: added String getHighestUserPrefix(User user) to return the highest single prefix char - PircBot.java: added String getUserPrefixesInOrder() to return the list of prefixes in order Additional User field for custom object --------------------------------------- - User.java: added _info Object and methods for storing a custom Object related to this User; this needs to consider that User objects are stored per channel, same user in 2 channels means 2 user objects as they can have different user modes in each channel - whereas additional information (whois etc) would be only useful once - PircBot.java: added setUserInfo(String nick, Object userInfo) for setting the object into the User. This will set it for the same User (by nick) in each channel
Source: readme, updated 2010-12-05