|
Author
|
Topic: TM server 'chat commands' availible on TMLogScan'd servers
|
KiLlEr Member
|
posted April 28, 2004 04:28 PM
Here is the docs for using the voting/command system on Treadmarks servers that are running TMLogScan. These commands are enabled by the server operator. TO see if the server you are playing on supports the commands and have them enabled, visit the Server Status Page. In each server's entry, you will see what commands are enabled on that server.Enjoy! code:
-------------------------------------------------------------------------------- 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 April 28, 2004).] IP: |
BamZipPow Member
|
posted May 19, 2004 04:36 AM
I guess this was pretty cool while it lasted...  IP: |
KiLlEr Member
|
posted February 04, 2005 05:02 PM
Maybe it'll be better this time around?  IP: |
=DNX= Ni Member
|
posted February 04, 2005 07:38 PM
yeeeeEAH! IP: |
BamZipPow Member
|
posted February 22, 2005 10:22 PM
Much smoother!  IP: |
KiLlEr Member
|
posted February 25, 2005 10:16 AM
Sweet  Thats good to hear since Logscan is now running on the community LDA servers again. (It is *NOT* running on the normal LDA server) IP: |
KiLlEr Member
|
posted March 23, 2005 09:21 AM
bumpIP: |
KiLlEr Member
|
posted April 17, 2005 11:17 PM
bumpIP: |
KiLlEr Member
|
posted May 15, 2005 01:18 PM
**IP: |
KiLlEr Member
|
posted June 15, 2005 11:14 AM
bumpudesuIP: | |