Please do this in game chat 4 steps.

1. /set update branch stable

2. /update code 

3. after this is done type /restart bot

4. when bot is back online /reload bot

 

All done!

 

Here is the changelog..

 

Bug fixes, performance tweaks, new commands, queues and timers and stuff.

 

New command /remove/leave expired claims.

The bot can automatically remove dead claims. The default is to leave them alone.

 

Fixed a bug in the screamer alert toggle. Used wrong value for true and false.

 

Base separation has been changed. There is a new base deadzone that can be set. The lowest setting allowed is 2x the base size. This is so that base protections won't overlap. If players are friends, the base separation restriction is waived.

 

Fixed issue in hotspot commands that broke them in API mode. It seems the API is a bit picky about the use of #. This was also fixed in a few other places for the same reason.

 

The /locations command now reports when there are no locations instead of saying nothing.

 

The bot now always sends the 'sa' command via telnet to fix an issue I encountered with sending it via the API.

 

Fixed typo in /enable/disable return so that it matches the help.

 

Added an API queue and timer so that API commands sent by the bot are sent one at a time on a timer to avoid spamming too many too fast. Currently this is only used for chat sent by the bot. You will notice that chat appears with a slight delay due to this. This should also help to stop some players spamming bot commands in an attempt to disrupt the bot or server. You can also set a command delay.

 

Added a new post update function which does some maintenance tasks after a bot update. At the moment all it does is a bot restart 5 minutes after the update. This will help to ensure that the bot is properly initialised with any changes introduced by the update. It won't do this until the next update since the code is new and not live before the update.

 

Added IRC command, reload bot. Same as ingame command.

 

Added IRC command empty category {category name}. A fast way to delete everything from a category.

 

Added IRC command igplayers. Its used for debugging the bot. The bot creates a temporary ingame player record for each player online. This command lets you view all of it for each player. There is also igplayer {name} to list a specific player's data.

 

Fixed a bug when loading the server table from the database. If the IRC server was not defined, the bot would fail to load properly.

 

Removed a very basic 'phone home' feature as I haven't been monitoring it anyway. It will be replaced with restful API in the web interface.

 

To help reduce command spam on servers with large online player counts, when online players exceeds 24 players, several timed bot commands switch to slower timers. This results in a slower bot but it should help to prevent freezes and crashes when the server is busy.

 

Fixed bug in gimme arena that prevented zombies spawning.

 

Fixed bug that caused admins to return to the admin list that had been removed.

 

Added delay after a player spawns after joining the server before the bot attempts to teleport them. This may be unnecessary but there was an issue with players sometimes getting desynced and causing the server to crash if they are teleported too quickly.

 

Bug fixes mostly

 

Change to /disable watch alerts. It now stops the bot PM'ing ingame admins about base raids and base protection bounces.

 

New command /set reserved slot time {minutes}

There is a completely rewritten slots system almost ready to release. This command is for that so it won't do anything currently.

 

Fixed bug in /setbase command. Used wrong variable steam instead of chatvars.playerid which prevented the command reporting when you couldn't set the base there. Also added a bit more info to explain why.

 

Fixed regression bug in the bot's dig commands. There was an out by one error that was fixed then unfixed >.< It is fixed again (OR IS IT?) xD

 

Added check for players being below a height of zero (except for staff). Hopefully this will rescue players that fall through the world and don't get automatically rescued by the server. This is usually due to a map glitch so this fix might not work anyway. It is triggered every minute to stop it going nuts and spamming tele commands.

 

Added a small hack (:O Smegs hacking!) to try to fix a server issue where a corrupt player profile can freeze and crash the server. The bot sends the sa command when non-brand new players join. I further limited it so it will do this once per player per real day so that it doesn't create tons of lag every time lots of players join all at once. That might happen occasionally but should be rare and brief if it ever happens.

 

Also put several commands on temporary timers when a player joins so that the bot doesn't immediately spam several commands. Instead they are paced out over 40 seconds.

 

Fixed (I hope) a bug in the welcome message code when a player joins the server. In some circumstances the bot was skipping the welcome messages.

 

Restored a delay that was preventing players being sent to the lobby in a timely fashion. It wasn't broken but the delay was unacceptably long. It is much more fashionable now.



Tuesday, October 16, 2018



«Tillbaka