|
Author Topic:   TMLogScan 3.7.6 - new chat commands
KiLlEr
Member
posted December 09, 2003 12:35 AM            
The voting system allows players to vote for a map restart or to remove a problem player from the server.
In order for a vote to pass, there must be a majority concensious. There are 3 new items in the context
menu (when you right click on a server name in the server list). They are:

Enable/Disable Map Restart Votes - enables or disabled the map restart voting system
Enable/Disable Player Kick Votes - enables or disables the player kick voting system
Set Player Vote Kick Time - set the length of time a player is to be banned from the server
when he/she is kicked off using the voting system. Minimum is 30 mins.
Enable/Disable AI Kicking - enables or disabled the kicking of AIs
Enable/Disable AI Adding - enables or disables the adding of AIs

These settings are independent for each server. The Map restart, player kick, AI kick, and AI add systems
are independent of each other as well. so Any combination of the 4 accross your servers is possible.

When the system is enabled, players can enter 5 different commands by using TM's public chat feature.
The 5 commands are as follows and they are not case sensitive:

/LS;RESTARTMAP
/LS;KICKVOTE;playername
/LS;DROPVOTES
/LS;ADDAI
/LS;KICKAI;ainame

The '/LS' tells logscan that this chat message is a logscan command. The next word is the actual command
( either 'RESTARTMAPVOTE', 'KICKVOTE', or 'DROPVOTES'). Any parameters would follow the command, in this case
only the 'KICKVOTE' command takes a parameter, which is the player's to be kicked name. The '/LS', the
command, and the parameter(s) are seperated by semicolons(';'). There is no semicolon at the end of the line.

The RESTARTMAP command tells LogScan that the player wants to restart the map. All players who agree would
also enter this command. Should some players not agree, they would NOT enter anything. A player is allowed only
one request per game. If they dropped thier votes with the DROPVOTES command, they can recast the command.

The KICKVOTE command tells LogSCan that the player wants the specified player to be kick from the server. All
players that agree would enter the SAME EXACT command with the speficied player. Should some players not agree,
they would NOT enter anything. A player is allowed only one request per offending player per game. If they
dropped thier votes with the DROPVOTES command, they are allowed to recast the command. The player name is not
case sensitive.

The DROPVOTES command tells LogScan to drop any votes the player has submitted.

The ADDAI command tells LogScan to add an AI to the server. This command is an immediate command, not a vote.
***** NOTE : The ADDAI command WILL NOT WORK on servers that have AIAutoFill = 0! *****

The KICKAI command tells LogScan to remove the specified AI from the game. This is an immediate command, not a
vote. The AI name is not case sensitive.

LogScan will pick up these requests when it processes the log file. When a command is found it would send the
following message to the Server Operator Chat box, and would appear in-game as a server op chat message:

TMLogScan accepted xxx command from player yyy

where xxx is the command (either RESTARTMAP, KICKVOTE, DROPVOTES, ADDAI, or KICKAI) and yyy is the player who sent the command.

If a player tries to submit the RESTARTMAPVOTE or KICKVOTE (for the same player to be kicked) command twice,
TMLogScan will reject the command with the following message:

TMLogScan ignored xxx command from player yyy vote already cast.

where xxx is the command (either RESTARTMAP, KICKVOTE, or DROPVOTES) and yyy is the player who sent the command.

When a vote is cast, each time LogScan scans the log file it will send one of the following messages as a server op
chat message:

Player aaa kick votes: bbb out of ccc for ddd min kick.

- this is for player kick votes, where:
aaa - is the player to be kicked
bbb - is the number of votes given
ccc - is the number of votes required to kick the player
ddd - is the number of minutes the player will be kicked

Restart map votes: xxx out of yyy for map restart.

- this is for map restart votes, where:
xxx - is the number of votes given for a map restart
yyy - is the number of votes needed for a map restart

Player kicks occur on the next scan after a passing vote. Map restarts occur 30 seconds after a passing vote.

For the KICKAI if a player forgets to enter a name, then the following message will appear:

TMLogScan rejected KICKAI command from player xxx, missing AI name.

where xxx is the name of the player who issued the command.

For the KICKVOTE if a player forgets to enter a name, then the following message will appear:

TMLogScan rejected KICKVOTE command from player xxx, missing player name.

where xxx is the name of the player who issued the command.

[This message has been edited by KiLlEr (edited December 09, 2003).]

IP:

BamZipPow
Member
posted December 09, 2003 12:43 AM            
Kool...

Thanks, Killer!

IP:

KiLlEr
Member
posted December 09, 2003 03:13 AM            
Added a note:

***** NOTE : The ADDAI command WILL NOT WORK on servers that have AIAutoFill = 0! *****

IP:

KiLlEr
Member
posted December 09, 2003 10:29 PM            
Bump:

This is the new documentation about the tmlogscan commands. I've asked the admins to close the other tread so we don't get players confused as to which is the most up to date.

[This message has been edited by KiLlEr (edited December 09, 2003).]

IP:

666
Member
posted December 09, 2003 10:55 PM            
ok...I can do that, thx Killer

------------------
Tin Horn Community Admin Dictator at your service…that is…if I will do it!
Race Ladder Results & Downloads


IP:

BamZipPow
Member
posted December 09, 2003 11:11 PM            
666...yer a BBS admin now?

IP:

KiLlEr
Member
posted December 10, 2003 01:38 PM            
Kewl

IP:

KiLlEr
Member
posted December 11, 2003 04:11 PM            
Bump. Making sure everyone see this

IP: