BRenBot 1.54.4 [message #490605] |
Sat, 04 April 2015 06:37 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
A compiled copy of BRenBot 1.54.4 is attached to this post for use with servers running SSGM 4.0 and newer. This includes the following changes from the previously posted 1.54.1 build;
Bug Fixes
- Serial numbers with quote characters will no longer break the SQL query in the ban checking logic (unlikely edge case, depends how you hash serials)
- Vote command always counted zero total votes in some cases
- Improvements to parsing of FDS gameinfo for TSR (NOD no longer case sensitive)
- Removed an erroneous : from the SSGM Crate message in IRC
- Fixed a bug when parsing server.ini Port and RemoteAdminPort values (RemoteAdminPort will no longer override Port if it appears below Port in the file)
- Fixed a crash bug in IRC reconnection code
New plugin methods
The following new functions are available in the plugin interface;
plugin::player_set_key_value ($player, $key, $value)
Set a keyed value on the internal player record in BRenBot, this is included in the player data hashes returned in plugin::getPlayerData and plugin::get_playerlist. It is recommended that plugins prefix any keys they set with the plugins name to avoid clashing with other plugins.
$player can be specified by name or ID.
plugin::perform_ban_check($player)
Immediately performs a ban /kick check on the specified player and evicts them from the game if any ban / kick conditions are met. This is useful for plugins which obtain serial numbers for a player to trigger ban check after saving the serial number against the player record using plugin::player_set_key_value()
$player can be specified by name or ID.
Code Improvements
Major refactoring of renlog parsing code to improve readability and maintenance
Removed support for !invite via WOL, it was rarely used even in the days that WOL existed and it's doubtful that it ever worked properly in XWIS anyway. If people really want this back I will resurrect the code in plugin form.
Bug Reporting
Please report any bugs you might find or submit feature requests on the BRenBot Trello board by commenting on the cards under "BRenBot 1.54.4".
Acknowledgements
Thanks to Ethenal for contributing some bug fixes to the BRenBot SVN.
[Updated on: Sat, 04 April 2015 06:40] Report message to a moderator
|
|
|
|