Page 1 of 3

EotA-HB

Posted: February 28th, 2009, 1:54 pm
by Sparda963
I have a Ghost Bot setup now for the clan. It's called EotA-HB (HB is for Host Bot, sory im not creative with names). The following are the commands to use it, most of you probably wont have access for the time being to use any of them, as im still working out the kinks with the system.

2 commands that everyone will have access to use are .hostpub and .hostpriv. These will allow you to launch public or private games of eota. Both of the commands below will launch the game with the person who used the command as the admin for that game, opening up the admin commands for in lobby and in game listed below.

.hostpub usage: .hostpub <gamename> - .hostpub eota > pie!
.hostpriv usage: .hostpriv <gamename> - .hostpriv eotachan

One big note about the commands listed below, they all have ! as the trigger, but the trigger is actually . but im to lazy to go through and change every ! to a . on this list.

Common commands that you will use from the list below are:

In battle.net (via local chat or whisper at any time):

!autohost <m> <p> <n> auto host up to <m> games, auto starting when <p> players have joined, with name <n>, leave blank or "off" to disable auto hosting
!disable disable creation of new games
!enable enable creation of new games
!end <number> end a game in progress (disconnect everyone)
!getgame <number> display information on a game in progress
!getgames display information on all games
!hold <name> ... hold a slot for someone
!priv <name> host private game
!privby <owner> <name> host private game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!pub <name> host public game
!pubby <owner> <name> host public game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!start [force] start game, optionally add [force] to skip checks
!unhost unhost game in lobby

In game lobby:

!comp <slot> <skill> create a computer in slot <slot> of skill <skill> (skill is 0 for easy, 1 for normal, 2 for insane)
!kick <name> kick a player (it tries to do a partial match)
!start [force] start game, optionally add [force] to skip checks
!unhost unhost game

In game:

!end end the game (disconnect everyone)
!kick <name> kick a player (it tries to do a partial match)

In admin game lobby:

!end <number> end a game in progress (disconnect everyone)
!priv <name> host private game
!privby <owner> <name> host private game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!pub <name> host public game
!pubby <owner> <name> host public game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!unhost unhost game


========
Commands
========

In battle.net (via local chat or whisper at any time):

!addadmin <name> add a new admin to the database for this realm
!addban <name> <reason> add a new ban to the database for this realm
!announce <sec> <msg> set the announce message (the bot will print <msg> every <sec> seconds in the game lobby), leave blank or "off" to disable the announce message
!autohost <m> <p> <n> auto host up to <m> games, auto starting when <p> players have joined, with name <n>, leave blank or "off" to disable auto hosting
!autostart <players> auto start the game when the specified number of players have joined, leave blank or "off" to disable auto start
!ban alias to !addban
!channel <name> change channel
!checkadmin <name> check if a user is an admin on this realm
!checkban <name> check if a user is banned on this realm
!close <number> ... close slot
!closeall close all open slots
!countadmins display the total number of admins for this realm
!countbans display the total number of bans for this realm
!deladmin <name> remove an admin from the database for this realm
!delban <name> remove a ban from the database for this realm
!disable disable creation of new games
!enable enable creation of new games
!end <number> end a game in progress (disconnect everyone)

!exit [force] shutdown ghost++, optionally add [force] to skip checks
!getclan refresh the internal copy of the clan members list
!getfriends refresh the internal copy of the friends list
!getgame <number> display information on a game in progress
!getgames display information on all games
!hold <name> ... hold a slot for someone

!hostsg <name> host a saved game
!load <filename> load a config file (for changing maps), leave blank to see current map - the ".cfg" is automatically appended to the filename
!loadsg <filename> load a saved game
!map <filename> alias to !load
!open <number> ... open slot
!openall open all closed slots
!priv <name> host private game
!privby <owner> <name> host private game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!pub <name> host public game
!pubby <owner> <name> host public game by another player (gives <owner> access to admin commands in the game lobby and in the game)

!quit [force] alias to !exit
!say <text> send <text> to battle.net as a chat command
!saygame <number> <text> send <text> to the specified game in progress
!saygames <text> send <text> to all games
!sp shuffle players
!start [force] start game, optionally add [force] to skip checks
!stats [name] display basic player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!statsdota [name] display DotA player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!swap <n1> <n2> swap slots
!unban alias to !delban
!unhost unhost game in lobby
!version display version information (can be used by non admins)

In game lobby:

!a alias to !abort
!abort abort countdown
!addban <name> <reason> add a new ban to the database (it tries to do a partial match)
!announce <sec> <msg> set the announce message (the bot will print <msg> every <sec> seconds), leave blank or "off" to disable the announce message
!autostart <players> auto start the game when the specified number of players have joined, leave blank or "off" to disable auto start
!autosave <on/off> enable or disable autosaving
!ban alias to !addban
!check <name> check a user's status (leave blank to check your own status)
!checkban <name> check if a user is banned on any realm
!checkme check your own status (can be used by non admins, sends a private message visible only to the user)
!close <number> ... close slot
!closeall close all open slots
!comp <slot> <skill> create a computer in slot <slot> of skill <skill> (skill is 0 for easy, 1 for normal, 2 for insane)
!compcolour <s> <c> change a computer's colour in slot <s> to <c> (c goes from 1 to 12)
!comphandicap <s> <h> change a computer's handicap in slot <s> to <h> (h is 50, 60, 70, 80, 90, or 100)
!comprace <s> <r> change a computer's race in slot <s> to <r> (r is "human", "orc", "night elf", "undead", or "random")
!compteam <s> <t> change a computer's team in slot <s> to <t> (t goes from 1 to # of teams)
!dl <name> alias to !download
!download <name> allow a user to start downloading the map (only used with conditional map downloads, it tries to do a partial match)
!from display the country each player is from
!hold <name> ... hold a slot for someone
!kick <name> kick a player (it tries to do a partial match)
!latency <number> set game latency (50-500), leave blank to see current latency
!lock lock the game so only the game owner can run commands
!open <number> ... open slot
!openall open all closed slots
!owner [name] set game owner to yourself, optionally add [name] to set game owner to someone else
!ping [number] ping players, optionally add [number] to kick players with ping above [number]
!priv <name> rehost as private game
!pub <name> rehost as public game
!refresh <on/off> enable or disable refresh messages
!sendlan <ip> [port] send a fake LAN message to IP address <ip> and port [port], default port is 6112 if not specified
!sp shuffle players
!start [force] start game, optionally add [force] to skip checks
!stats [name] display basic player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!statsdota [name] display DotA player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!swap <n1> <n2> swap slots
!synclimit <number> set sync limit for the lag screen (10-10000), leave blank to see current sync limit
!unhost unhost game
!unlock unlock the game
!version display version information (can be used by non admins)

In game:

!addban <name> <reason> add a new ban to the database (it tries to do a partial match)
!autosave <on/off> enable or disable autosaving
!ban alias to !addban
!banlast <reason> ban the last leaver
!check <name> check a user's status (leave blank to check your own status)
!checkban <name> check if a user is banned on any realm
!checkme check your own status (can be used by non admins, sends a private message visible only to the user)
!drop drop all lagging players
!end end the game (disconnect everyone)
!from display the country each player is from
!kick <name> kick a player (it tries to do a partial match)
!latency <number> set game latency (50-500), leave blank to see current latency
!lock lock the game so only the game owner can run commands
!muteall mute global chat (allied and private chat still works)
!owner [name] set game owner to yourself, optionally add [name] to set game owner to someone else
!ping ping players
!stats [name] display basic player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!statsdota [name] display DotA player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!synclimit <number> set sync limit for the lag screen (10-10000), leave blank to see current sync limit
!unlock unlock the game
!unmuteall unmute global chat
!version display version information (can be used by non admins)

In admin game lobby:

!addadmin <name> <realm> add a new admin to the database for the specified realm (if only one realm is defined in ghost.cfg it uses that realm instead)
!checkadmin <name> <realm> check if a user is an admin for the specified realm (if only one realm is defined in ghost.cfg it uses that realm instead)
!countadmins <realm> display the total number of admins for the specified realm (if only one realm is defined in ghost.cfg it uses that realm instead)
!deladmin <name> <realm> remove an admin from the database for the specified realm (if only one realm is defined in ghost.cfg it uses that realm instead)
!disable disable creation of new games
!enable enable creation of new games
!end <number> end a game in progress (disconnect everyone)
!exit [force] shutdown ghost++, optionally add [force] to skip checks
!getgame <number> display information on a game in progress
!getgames display information on all games
!hostsg <name> host a saved game
!load <filename> load a config file (for changing maps), leave blank to see current map - the ".cfg" is automatically appended to the filename
!loadsg <filename> load a saved game
!map <filename> alias to !load
!password <p> login (the password is set in ghost.cfg with admingame_password)
!priv <name> host private game
!privby <owner> <name> host private game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!pub <name> host public game
!pubby <owner> <name> host public game by another player (gives <owner> access to admin commands in the game lobby and in the game)

!quit [force] alias to !exit
!saygame <number> <text> send <text> to the specified game in progress
!saygames <text> send <text> to all games
!unhost unhost game

Re: EotA-HB

Posted: February 28th, 2009, 2:02 pm
by Tehw00tz
I am a fan of robots.

Re: EotA-HB

Posted: February 28th, 2009, 2:24 pm
by jamn455
Domo arigato, Mr. Roboto.

Re: EotA-HB

Posted: February 28th, 2009, 7:53 pm
by Dekar
I guess you dont offer one for Europe? :D

Re: EotA-HB

Posted: March 1st, 2009, 2:22 am
by Discombobulator
Dekar wrote:I guess you dont offer one for Europe? :D
What's this "Europe" you're talking about?

Re: EotA-HB

Posted: March 1st, 2009, 5:29 am
by Elreth
That is super cool~

I had plans of something similar but it involved having the bot take up one of the computer's slots but that would require making that slot switchable to human which could cause problems with idiots. Although obviously you could just require that player to enter a lengthy code that only the bots knows and so hosts would soon realize not to open that slot I guess but this. This is much better and super awesome.

Re: EotA-HB

Posted: March 1st, 2009, 11:43 am
by Tehw00tz
I, for one, welcome our new robot overlord.

Re: EotA-HB

Posted: March 1st, 2009, 6:34 pm
by DarnYak
So far the hostbot looks pretty popular, but sparda can't handle more than 2 games at a time. And games seem to fill up fairly fast, so i think there's more demand then hosts (not to mention this is only on east, not europe). So if anyone's able to host and at all interested in it (its not difficult to set up), post here.

DarnYak

Re: EotA-HB

Posted: March 1st, 2009, 8:04 pm
by Tehw00tz
I'll do it!

Do I need a warcraft 3 CD-key or anything extra?

Re: EotA-HB

Posted: March 1st, 2009, 8:47 pm
by jamn455
I may be able to host one game.

Re: EotA-HB

Posted: March 1st, 2009, 9:09 pm
by DarnYak
You need a TFT key, an ability to host, and a computer that can run it decently. I'll see if i can get Sparda to be kind enough to post the files.

DarnYak

Re: EotA-HB

Posted: March 1st, 2009, 9:51 pm
by Tehw00tz
I can donate my TFT key and keep the bot online while I'm not playing I guess.

Re: EotA-HB

Posted: March 2nd, 2009, 3:18 pm
by Sparda963
Yes you will need a cd key, the bot is currently using mine that i use to play with, but thats not to big of a deal right now. In the zip file are the 2 folders you should copy over into the ghost folder once you install it, you want to overwrite the folders. They have the current map of eota and the eota normal and eota ap config files.

I dont remember the link to download the bot, and the forum wont let me upload the whole thing because its to big. Yak you got the link?

Re: EotA-HB

Posted: March 2nd, 2009, 3:52 pm
by DarnYak

Re: EotA-HB

Posted: March 3rd, 2009, 10:28 pm
by Bartimaeus
You guys are lucky. I assume none of them were banned? Our's being hosted by the wc3edit.net server had their cdkeys muted, and their accounts banned.

Re: EotA-HB

Posted: March 3rd, 2009, 11:00 pm
by Sparda963
I think if all your bot is doing is hosting or channel admining they will leave it alone, if its spamming or advertising of any kind, it will most likely get banned. What was your bot doing when it got banned?

Re: EotA-HB

Posted: March 3rd, 2009, 11:05 pm
by Bartimaeus
Sparda963 wrote:I think if all your bot is doing is hosting or channel admining they will leave it alone, if its spamming or advertising of any kind, it will most likely get banned. What was your bot doing when it got banned?
Hosting MadBalls arena, hosting a legit 6v6 DotA, and some other map I forgot.

No advertising of any sorts. We didn't even include its name, so people wouldn't be predijuced against it.

Re: EotA-HB

Posted: March 4th, 2009, 12:46 am
by Discombobulator
Bartimaeus wrote:You guys are lucky. I assume none of them were banned? Our's being hosted by the wc3edit.net server had their cdkeys muted, and their accounts banned.
Well maybe next time you won't hack.

Re: EotA-HB

Posted: March 4th, 2009, 1:02 am
by Perhaps
The first and so far only time I've played a game where it was Ghost Bot hosted, it was EotA. The host actually complained that me and my friend were keeping pressure on the right side of Kedge's landing and eventually kicked me and another teammate. Quite funny enough in the aftermath it showed 27 minutes in, where they had lost two bases on the right, a base was built on the right, the whole left side with exception of castle was cleared, and a base was building there as well.

Re: EotA-HB

Posted: March 7th, 2009, 12:52 am
by Sparda963
This is a screen shot of the bots interface for those who are curious about how it looks.

Re: EotA-HB

Posted: March 12th, 2009, 12:33 pm
by Sparda963
Alright im tired of people bitching that they cant toy around with the bot, so I am posting the reasons why.

FIRST:
There are no access levels on the bot, its either admin or none, one of its flaws. And I am not going to give all you lemmings admin access to this bot as it has the potential to pretty much wreck my computer if used improperly.

SECOND:
If the bot is in the channel, then there is currently a game in progress, and you can use the .hostpub gamename and .hostpriv gamename commands to host a game that you will be the admin of.

THIRD:
If the bot is NOT in the channel, that means its currently hosting a game in the lobby and you can freely join the game if you so chose.

FOURTH:
No one can run any commands in the lobby or the game with the exception of someone who used the .hostpub or .hostpriv commands. So please stop spamming commands trying to get it to do something.

FIFTH:
I will NOT allow it to host more then 3 games at a time. If you can't understand why, then go run 3 games at the same time on your computer and see how it performs.

SIXTH:
RABBLE RABBLE RABBLE RABBLE RABBLE RABBLE!

SEVENTH:
No I will not set the bot up to host other games, this is linked in with the FIFTH comment.

Re: EotA-HB

Posted: March 23rd, 2009, 11:32 am
by Sparda963
After updating the GHost bot it not connects correctly again. I have also upgraded the connection method and now the bot connects to both East and West at the same time. Using the .autohost command hosts a single game being posted on both realm lists, which should increase the number of people joining and staying in the games, and making them fill faster.

I am not sure if it will host manually created games on both realms or not, but I believe it will.

Re: EotA-HB

Posted: March 23rd, 2009, 12:03 pm
by DarnYak
Just to clarify: Does it list the games on both realms, but they end up in the same game? If so, that'd pretty damn cool.

DarnYak

Re: EotA-HB

Posted: March 23rd, 2009, 5:22 pm
by Sparda963
That is exactly what it does. The game is listed on both realms at the same time, but they all end up in the same game. This works for both the .autohost and the .hostpub commands. Any game the bot hosts that is not listed as private will show up on both realm lists.

Re: EotA-HB

Posted: March 24th, 2009, 4:28 pm
by Elreth
That is pretty badass