This is a discussion on Garena HostBot v5.0 - Garena Plus within the Garena Forum board part of the Warcraft 3 forum category; This is the 5'th host bot made for Garena and the 1'st for the new Garena Plus. It's based of ...
This is the 5'th host bot made for Garena and the 1'st for the new Garena Plus. It's based of course on Varlock's program Ghost++ and on GhostOne ( Warcraft III Game (Dota) Host Projects, Official Home of GHost++ and Lain Server Bot series ) but it's adapted only for Garena. It retains many of the original Ghost commands plus other specific for Garena. It has commands like !levels to show player levels, it can put restrictions on this (just like on countries) and it shows real player countries.
This doesn't work with old Garena Client, cause it hooks garena_room.exe (not garena.exe). You must use this only with the new Garena Plus client.
It's very very simple to use, just a Start and Stop button. It creates a game, you join it and play.
Why use a hostbot ?
- Play easier with your friends ! Add them to safelist (so they can always join your game, even if it's full), make them admins like you, hold slot for them and many more !
- Total control over your game ! (ability to kick << on vote >>, mute, swap, ban players)
- Ability to control the game latency !
- Ability to auto-save games when someone is disconnected, and later resume them
- And many many more
How to upgrade from older versions to v5.0 ? (and keep the banlist)
In your old garena hostbot installed directory there's a file called "ghost.dbs". In that file the bans are stored. After installing Garena HostBot v5.0 copy that file to the installation directory. Note that all the bans, admins etc must have the server set to "Garena", go to Database tab and hit "Run Query" then run these:
Code:Update admins SET server="Garena"; Update bans SET server="Garena"; Update games SET server="Garena"; Update safelist SET server="Garena"; Update scores SET server="Garena";
- ghb now supports Garena Plus and W3 1.26
- fixed (hopefully) performance issues that caused old ghb to slow, lock, freeze, consume high cpu and memory etc.
- fixed country and level detection
- fixed support for mysql database, dota stats, dota sd and dota_elo (tested with DotA OpenStats and Wamp)
- reworked how map configs are created
- added the ability to resume previously saved games (and the option to auto-save the game when a player leaver regardless of the reason he left)
- added support for Waaagh!TV to broadcast games online live
- the default command trigger is ! (used to type in commands). You can add another in Options (but ! will work also)
- the virtual host now has the same name as the admin name (garena username) so don't be scared when the game is full and it says that you left the game, it's the virtual host who's leaving
- added !owner command to set the game owner for the duration of the game
- added command -ff (forfeit) in a DotA game
- added command !win (or !ratings) to show win chance % and the teams balance, !balance to balance the teams by garena level (or rank)
- many other commands, fixes and modifications ..
- many other tweaks and visual style modification
Note. You can view or edit your bans, the admins or the safelist players easy by going to the "Database" tab and then clock "Open database". Then select a table (admins, bans or safelisted) and view or make your changes.
Download links (mirrors) :
- Garena HostBot v5.0 Setup.exe
- Garena HostBot v5.0 Setup.exe 2shared - download
- Download Garena HostBot v5.0 Setup.exe from Sendspace.com - send big files the easy way
- Garena HostBot v5.0.zip
Available languages for GHB: English, Portuguese (BR), Russian, Serbian, Spanish and Turkish. *only for in-game messages
Don't forget to RUN AS ADMINISTRATOR !
On the first run of Garena HostBot v5.0 you need to configure the Admin Name in configurator, then click "Auto Configure" (you may need to do it 2 times...) the set up the Garena Path in Options, then Exit and start again.
All Garena HostBot settings are found in the file called ghost.cfg. Open it with notepad and take a look cause it's as user friendly as possible (every setting is commented).
Virus Scan: VirusTotal
For the program to work you need to have these installed on your PC (install them if the program doesn't work):
- Microsoft .NET Framework Version 2.0 Redistributable Package
- Microsoft Visual C++ 2008 Redistributable Package
Simple, easy to config, then Start -> Stop
Common Problem. You can join your game but others can't see it !
You need to check if your ports 6112 to 6119 are opened or forwarded (more exactly the bot_hostport which is default 6113). Thre's a utility that checks if your ports are opened: PortForward.com - Free Help Setting up Your Router or Firewall , if they're closed Garena Host Bot won't work. If you have a router find out how to forward your ports on that site.
A list of error codes that you may have and fixes are available here: [ALL] Error Codes - GHost++ and BNLS
Most used commands:
- !p - ping all players in the game
- !f - show countries of all players in the game
- !lvl - show levels of all players in the game
- !mode - set the game mode (Ex: !mode -apso )
- !start - start the game
- !balance - balance the teams based on garena level
- !win - show win chance of teams to check for team balance
- !latency - set game latency
- !only - allow only selected countries ( Ex: !only SG PH )
- !min - set the minimum level required to join the game (Ex: !min 10 )
Full list of available commands:
(Optional) To setup GHB 5.0 with a MySql database and DotA OpenStats read this guide: How to setup DotA OpenStats with Garena HostBot v5.0Code:---------------------------------------------------------------------- Administrator commands: (some are restricted to only the main admin) (others are not accesible by the game owner) (all are accesible by the main admin) ---------------------------------------------------------------------- !abort abort countdown/end game - !a !addadmin <name> add a new admin to the database !addban <name> <reason> add a new ban to the database (it tries to do a partial match) - !ban - !b !announce <sec> <msg> set the announce message (the bot will print <msg> every <sec> seconds), leave blank or "off" to disable the announce message, use | as newline - !ann !autoban - ab turns autoban when player leaves on/off !autosave autosave game when a player gets disconnected !autostart <players> auto start the game when the specified number of players have joined, leave blank or "off" to disable auto start !balance balances the teams according to the balance method selected (garena lvl by default), shows at the end after balance wining rates of each team !banlast [reason] ban the last leaver, reasons = l, i, r, mh, lag, n, f - !bl !bans toggle bans on/off !cd toggles normal W3 countdown or ghost countdown - !countdown !check <name> check a user's status (leave blank to check your own status) !checkadmin <name> check if a user is an admin !checkban <name> check if a user is banned !clearhcl removes the hcl command string (clears the game mode) !close <number> ... close slot - !c !closeall close all open slots - !ca !comp <slot> <skill> create a computer in slot <slot> of skill <skill> (skill is 0 for easy, 1 for normal, 2 for insane) !countbans count how many banned users are in the game !deladmin <name> remove an admin from the database !delban <name> remove a ban from the database - !unban !dbstatus database status !dlinfo [on/off] show info on current downloads !dlinfotime <value> interval in seconds between info messages !dltspeed <value> set total download speed (KB/s) available for all clients at once, if set to 1024, 4 people will get 256 each !dlspeed <value> set max download speed (KB/s) available for one client !dlmax <value> maximum players allowed to download at once, the rest will have almost KB/s until someone finishes downloading !downloads enable/disable map downloads !download <name> allow a user to start downloading the map (only used with conditional map downloads, it tries to do a partial match) - !dl !end end the game (disconnect everyone in 5 seconds) !endn end the game (disconnect everyone) - immediately !ends stop end countdown !fromp <name> display the country and ping each player is from, or of a player (partial match) - !fp !from <name> display the country each player is from, or of a player (partial match) - !f !gn display current game name !hcl sets the game mode before the game is started (it will be put automatically. Ex: !hcl -apso . - !mode !hold <name> ... hold a slot for someone !holds <name> <nr> ... hold a specified slot for someone !kb kicks and temp bans a player from game lobby (banned for the duration of this game) !kick <name> kick a player (it tries to do a partial match) - !k !l show ping and country of the last player who joined !latency <number> set game latency (50-500), leave blank to see current latency - !dr !lmax set the maximum level restriction - !max !lmin set the minimum level restriction - !min !lock locks a player in current slot so it won't be moved on shuffle or balance !lockgame lock the game so only the game owner can run commands !lvl dispay current player levels - !levels !mars [name] will insult someone using mars.txt (random player if no parameter is given), partial name match !manualban ban a player even if he is/was not in the game - !mban - !mb !manualdelban unbans a player - !munban - !manualunban - !mub !messages <on/off> enable or disable local admin messages for this game !mute <name> mutes a player (it tries to do a partial match) !m !muteall mute global chat (allied and private chat still works) !no xx xx xx define denied countries, for ex: !no BR RU or !no to clear list !only xx xx xx define allowed countries, for ex: !only RO ES or !only to clear list !open <number> ... open slot - !o !openall open all closed slots !override cancel game over timer - !ov !owner [name] set game owner to yourself, optionally add [name] to set game owner to someone else (owner has admin rights for the duration of the game) !ping [number] ping players, optionally add [number] to kick players with ping above [number] - !p !sl <name> check if player is safelisted !sla <name> add player to safelist - !sladd !sld <name> delete player from safelist - !slr - !sldel !say <message> sends the message to all chat !slap <name> slap message !sp shuffle players !startn start game - immediately (no countdown timer) !start [force] start game, optionally add [force] to skip checks !start start game !synclimit <number> set sync limit for the lag screen (10-10000), leave blank to see current sync limit - !s !swap <n1> <n2> swap slots !test <slot> returns the name of the player in the slot - !t !top10 top10, calculate with !topc or in GHost One first !topc calculate scores, when used with sqlite will block bot while calculating !unlock unlocks a player from the current slot so it can be moved on shuffle or balance !unhost unhost game !unlockgame unlock the game !unmute <name> unmutes a player (it tries to do a partial match) - !um !unmuteall unmute global chat !verbose toggle info showing on player trying to join and getting kicked - !vb !votecancel cancel a votekick !wtv weather wtv is on or off ---------------------------------------------------------------------- NON-Admin commands: (can be used by normal players) (can be turn on/off in settings) ---------------------------------------------------------------------- !checkme check own status !ff forfeit the game / un-forfeit the game !ffcount shows the current number of forfeits for each team !ping [number] ping players, optionally add [number] to kick players with ping above [number] - !p !rank shows your current rank or score - !score !stats [name] display basic player statistics, optionally add [name] to display statistics for another player !rankall shows ranks or scores for every player in the game !statsdota [name] display DotA player statistics, optionally add [name] to display statistics for another player - !sd !version display version information (can be used by non admins) !votekick <name> start a votekick (it tries to do a partial match) - !vk !win calculates win percentages for each team and shows them in lobby - !ratings !yes register a vote in the votekick (can be used by non admins) ---------------------------------------------------------------------- Special commands: (can be used in game by everyone) ---------------------------------------------------------------------- -ff alis to !ff -yes alia to !yes Note: instead of partial name or name you can use the slot ID, for Ex: !ban 3 n (will ban the player in slot 3 for beeing a noob), not compatible with DotA siwtch !
NOTE: Garena HostBot is an independent program that does not (and doesn't need to) modify any Garena or Warcraft III files ! It is a stand alone program !
For support please check out Garena HostBot forum:
GarenaWorld Forum - Garena HostBot
Last edited by GarenaHack-er; 08-08-2012 at 02:42 PM.
Nice to see Garena Plus didn't changes anything, and didn't make any limitation.
Can we get the source?
When you host the game it links to your website and says "by GarenaHack-er".
Which is cool, no one wants to take away your credits, but some people might wanna use this for legitimate purposes which would require to remove some commands. Also, when legit users see your nickname, they automatically assume that the host is using hacks.
Last edited by Paincodex; 02-20-2012 at 11:37 AM.
The lobby credits an be changed by modifying text files (welcome.txt) the only credits are show when game starts "hosted with ghb 5.0 by GarenaWorld.com" (not garenahack-er) and when game ends. Sorry it's not open source
I'm not sure if you've had the chance to read your private messages or decided I wasn't being serious. Hopefully it's the first one, please respond no matter what your answer is going to be.
And i need this one only for G+
test works for garena but commands kick In game no works
say Kick commands in game disabled.Please use vote kick command instead
How do I fix this problem ?
Last edited by Diavolu; 12-02-2015 at 10:27 AM.