PDA

View Full Version : Guard


Hovi
18th August 2007, 10:10 AM
Hellow, I am posting in order to bring some information about bot for safelisted users, mods and people who may be interested in development.

Commands:

First of all list of current available command, I will try to keep this list updated. I won't show all commands, because some of them are only for supermods or in development and not meant to be used. Every command starts with "/", same as xpam commands, which means only way to command bot is to whisper him "/w guard /command" (to prevent spaming channel). To every command there should be a response, if you don't get any response, something is wrong. :)

1, Commands for everyone:
/help
Displays all available commands acording to your access level.

/safelisted
Shows you, if you are safelisted.

/safelisted <nick>
Shows you, if <nick> is safelisted.

2, Commands for every safelisted players:
/say <text>
Says (in channel, not whispers).
*<your nick> says: <text>
Note:
Dont count on this command too much, because if too many people
spam it, message won't show because of quota.

/o
Shows all safelisted users that were in channel since bot is online,
it is differed by people in a channel and in a game.
Note:
Bot ignores all bots, even safelisted (what's the point watching him, if he cant
enter game), bot ignores all non-safelisted people (that means mostly OPs that enter
channel, aren't safelisted, but aren't kicked, cause they are OPs.

/g
Shows list of all games played by safelisted users (same users as shown in /o command),
sorted by begin of game, also shows how many players per game.

/g<num>
Shows length of game with index <num> and list safelisted players inside the game.

3, commands for mods:
/ban <user>, /kick <user>, /unban <user>
Commands that don't need commenting.

/add <user>
Unbans user and adds him to safelist.

/del <user>
Removes user from safelist.

/safelist
Whispers whole safelist. This of course whispers big ammount of nicks divided into many
messages, so using this command isn't recomended unless it is necessary.

About itself:

Bot is programmed in java 1.5 and is optimized for running for more different OS (only windows and some linux distros tested).
Guard has gui in swing (which is actually bad thing and prevents it from being runned at some real servers with text mode only,
that's why I am planning to remove it).

N0TD:

There is similar bot to Guard at xpam, it is N0TD the bot, bot for clan N0TD, which is more designed for clan-purposes, you can take a look if you are interested.
http://www.eurobattle.net/showthread.php?t=38681

Development:

If you are interested in further development of Guard, you will be more than welcomed. I need people that are good in java OOP.

New features:

I am working on few more things at the moment:
1, Kick on non-enligh talking.
This thing is already working in "clan N0TD" channel, but I want to improve recognition a bit, cause it isn't 100%.
2, Quota prevent.
Bot will remember all he has to say in public (mostly by command "/say") and say it all in big intervals to make sure, that everything is displayed.
3, Safelist evaluating system
For example after game you can have some impressions about other players that you want to express. You will whisper to bot for example /evaluate <nick> feeder; good player, etc. There could be unlimited number of evaluatins for each player by every player. If player gets too many negative points, he gets ban. Or command like /requestban <nick>, and if like 5 requests are for one player, he gets ban automatically. This all would be logged and checked by mods to prevent any abuse.
Anyway I dont know yet and if I dont find some good system, I will just leave it. What do you think? I will appreciate any feedback about this or any other ideas.

Anomandaris
5th December 2007, 01:51 AM
For few weeks Guard is run on new bot.
It was created by Hovi, Firebird and me.
At this moment it doesn't support english check, but other features are improved since old bot.
New bot have more potential and it can be easy extended with new features.

Commands was changed a bit, so I will summarize them here (whisper them to guard):
(That's command that all safelsited players can use.)

/safelisted - Tells you if you are safelisted
/safelisted <player> - Tells you if player is safelisted
/say <message> - Says message on channel.
This message will never be lost cuz of quota even if guard is mega spammed, so you can be sure that it will be written on chat.

Game watch (now it watches ALL safelisted players)

/o - Shows you all online players
/ga - Shows all games that safelisted users play
/ga<num> - Shows details about game no. num
/g - Shows all games with 2 or more safelisted users
/g<num> - Shows details about game no. num

Mass message:

/m <message> - Sends mass message to all online safelisted users
Now ss moderators can ban you from using this command so don't spam :)

/help - Shows list of all available commands for you


If you find any bugs in bot or you have any idea how to make bot better or idea for some new useful feature post here.

Trick:
How to check if all players in your game are safelisted without banlist:
Whisper to guard /g. If it will respond that there are 10 players in your game that means that all are safelsited. Less number means less safelsited players, you can check which one are safelisted whispering /g<your game number>.

Anomandaris
29th March 2008, 10:08 PM
Today I've added new command to guard.

/rank - show your rank in DotA Ladder
/rank <user> - show user's rank

These commands can be used by any (even not safelisted) players.

Anomandaris
1st May 2008, 02:01 AM
Little changes are comming with hosting games by bots. You will not gain bot admin, but you will be able to start game using guard. This way adding new bot operators will be easier and faster. Also after nickname change, you will be able to host games with new account immiedietly.

So, there are new commands, that can use only bot operators (whisper them to Guard):

!getgames
- like writing !getgames on channel

!host [host name] [game name]
- starts new private game
host name can be either host_one, host_two etc. or just one, two, etc.
game starter will be game admin and only him will be able to use bot commands in game

NOTE: This haven't been tested yet, so there can be few bugs. I'll fix things in monday.

Ludwiczek
26th May 2008, 04:27 AM
25-26 may 2008

guard pwned (screen)?

dont show games and players..

-eXtasY-
26th May 2008, 01:28 PM
Server got restarted, so guard wasn't able to keep tracking players. That always happen after restart....

Anomandaris
26th May 2008, 02:48 PM
Battle.net is bugging recently. Shows that player is offline while in game etc. It can cause that you see no games.

Going to investigate it.

Also I know that -toxic- can't send mass message. If anyone else has problem with it, please write it here.
Report any other bugs here plz.

[YuMa]Ale
2nd July 2008, 04:04 AM
i cant use command with /w guard /rank <nicK> why?

Anomandaris
2nd July 2008, 01:11 PM
This command has some delay sometime. Sometime even huge delay. Same for .rank command.