Post Reply
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tool Garena HostBot v6.0 - for Garena Plus - with League Mode
04-Mar-2012, 10:27 PM (This post was last modified: 03-Jul-2012 10:09 AM by GarenaHack-er.)
Post: #1

Thread: Garena HostBot v6.0 - for Garena Plus - with League Mode

This is the 6'th host bot made for Garena and the 1'st for the new Garena Plus, and it's the first (of many) that can be used to host multiple games at once. It's based of course on Varlock's program Ghost++ and on GhostOne ( http://www.codelain.com/ ) 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).


Garena HostBot v6.0
[Image: ghb61.png]

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 ?
  • [Image: check.png] Host multiple games at once from the same PC !
  • [Image: check.png] 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 !
  • [Image: check.png] Total control over your game ! (ability to kick << on vote >>, mute, swap, ban players)
  • [Image: check.png] Keep detailed statistics about your Dota games, game players, bans etc. with a MySql database and a interface like Dota OpenStats
  • [Image: check.png] Ability to control the game latency !
  • [Image: check.png] Ability to auto-save games when someone is disconnected, and later resume them
  • [Image: check.png] And many many more Smile

How to upgrade from older versions to v6.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 v6.0 copy that file to the installation directory. Note that all the bans, admins etc must have the server set to "Garena" if the version is older then 5.0, go to Database tab and hit "Run Query" then run these one at a time:
Spoiler:
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";
Then verify using the command !countbans to see if they work, you need first to restart GHB to apply changes.


Changelog:
  • [Image: check.png] added option to host multiple games at once, League Mode, you always have a lobby game and as many running games as your hardware allows you Smile
  • [Image: check.png] all in-game text is now found in the language file (language.cfg) and can be edited
  • [Image: check.png] added support for languages: Portuguese, Romanian, Russian and Vietnamese. To change language go to "Language" directory and read the simple instructions there.
  • [Image: check.png] added commands for multiple games like getgame, getgames, getname, enable, disable, saygame, saygames
  • [Image: check.png] GHB 6.0 is much faster and stable then the old version(s) (map search for banlist, replays are not saved at game end anymore when it lagged for 2-3 seconds, ip-to-country is loaded much faster, latency uses now timeGetTime() which is more accurate then the old one used GetTickCount() and some others...)
  • [Image: check.png] fixed many bugs and made some performance tweaking
  • [Image: check.png] forced StormLib to open all MPQ's as V1 only (defeats some map protection schemes) now GHB can host many protected maps
  • [Image: check.png] 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) :

Available languages for GHB: English, Portuguese (BR), Russian, Romanian and Vietnamese. *only for in-game messages. For Slovak language check this post: http://www.garenaworld.com/Thread-Slovak-language


Don't forget to RUN AS ADMINISTRATOR !
On the first run of Garena HostBot v6.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):

Simple, easy to config, then Start -> Stop

Video Tutorial: Visit: http://www.garenaworld.com/Thread-Settin...Functional to view a complete video tutorial of GHB. (it's in Portuguese)

[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). There'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.

[Guide] If you or other players have trouble joining your game (or cannot see it, join it etc) read this guide: [How To] Fix game joining issues.
[Guide] A list of error codes that you may have and fixes are available here: [ALL] Error Codes - GHost++ and BNLS - they are both for Ghost++ but they apply to GHB


If you got a question or problem create a post in the Garena HostBot forum section ! Post a screenshot (from the hostbot or w3) or the hostbot log too !

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:

Code:
----------------------------------------------------------------------
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
!disable                will disable the automatic creation of new games, used in League Mode to stop creating new games (only the main admin can use this)
!deladmin <name>        remove an admin from the database
!delban <name>          remove a ban from the database
  - !unban
!dbstatus               database status
!dltspeed <value>       set total download speed (KB/s) available for all clients at once, if set to 1024, 4 people will get 256 each
!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
!enable                 enable the automatic creation of new games, used in League Mode to allow creating new games (only the main admin can use this)
!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
!getgame <number>       display information on a game in progress
!getgames               display information on all games
!getnames               get names of current running games
!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
!ips                    list the ip addresses of all players in the game
!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
!saygame <nr> <text>    send <text> to game nr
!saygames <text>        send <text> to all games
!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
  - !rall
!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 !

(Optional) To setup GHB 6.0 with a MySql database and DotA OpenStats read this guide: http://www.garenaworld.com/Thread-How-to...stBot-v6-0









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 !
[Image: hotlink.jpg]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 11 users say Thank You to GarenaHack-er for this post:
crazy_l3g3nd (19-06-2012), crossy (02-07-2012), F|c00ffbd00ire (23-12-2012), hijacked (19-07-2012), lizzard (07-02-2014), Mad_Sochi (20-06-2012), MnM (14-04-2013), Next (09-12-2013), nutic (06-03-2012), swagger17 (11-04-2012), Terry Ngo (06-06-2013)
04-Mar-2012, 10:33 PM
Post: #2
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
Good job man ;D
Find all posts by this user
Add Thank You Quote this message in a reply
04-Mar-2012, 11:42 PM (This post was last modified: 04-Mar-2012 11:53 PM by Maaf11.)
Post: #3
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
This command doesn't work !sd
Doesn't work only on the administrator... Pls fixed
Also the line doesn't work hcl... Sad
The boat doesn't take fashions from the game name if only you will not climb in a config and won't establish there fashions by default
Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 12:20 AM (This post was last modified: 05-Mar-2012 12:23 AM by GarenaHack-er.)
Post: #4
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
Google translate isn't that great.... What I've understood is that !sd doesn't work... I've just tested the command with admin and non-admin and it works... Non-admin command has a 5 sec timer (you can issue another one after 5 sec). Does anyone else have problem with !sd command?

And bot_autohclfromgamename doesn't work I guess... I'll check on it...
[Image: hotlink.jpg]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 12:42 AM
Post: #5
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
!sd or !statsdota is not working for players.... only to admins... (need a section to change what commands are public and what are private.... and change de coms Tongue)
Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 03:02 AM (This post was last modified: 05-Mar-2012 03:02 AM by vaguiners.)
Post: #6
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
@GarenaHack-er

lang_0522 = $USER$ resumed the game.

She is showing only the id, the name does not show.
And I think you missed the message that warns about the pause
Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 08:14 AM
Post: #7
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
(05-Mar-2012 12:42 AM)away111 Wrote:  !sd or !statsdota is not working for players.... only to admins... (need a section to change what commands are public and what are private.... and change de coms Tongue)

Hello , I've just tested the command !sd with a non-admin and it works ... it shows correctly the dota stats and it does a partial match to check a player, if not it checks the exact string that you used... Did you made any settings or does anyone else has this problem ??

(05-Mar-2012 03:02 AM)vaguiners Wrote:  @GarenaHack-er

lang_0522 = $USER$ resumed the game.

She is showing only the id, the name does not show.
And I think you missed the message that warns about the pause

I removed the message saying paused the game and it shows the id of the player, I'll fix this np Smile
[Image: hotlink.jpg]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 08:39 AM (This post was last modified: 05-Mar-2012 08:45 AM by Maaf11.)
Post: #8
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
(05-Mar-2012 08:14 AM)GarenaHack-er Wrote:  Hello , I've just tested the command !sd with a non-admin and it works ... it shows correctly the dota stats and it does a partial match to check a player, if not it checks the exact string that you used... Did you made any settings or does anyone else has this problem ??

(05-Mar-2012 03:02 AM)vaguiners Wrote:  @GarenaHack-er

lang_0522 = $USER$ resumed the game.

She is showing only the id, the name does not show.
And I think you missed the message that warns about the pause

I removed the message saying paused the game and it shows the id of the player, I'll fix this np Smile

For me too doesn't work !sd , but doesn't work only on the administrator...
For me at all doesn't work !sd and !statsdota
Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 09:57 AM (This post was last modified: 05-Mar-2012 09:59 AM by GarenaHack-er.)
Post: #9
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
Yes, is was a bug regarding case sensitivity, I've fixed it and updated the links, please download again GHB 6.0. It should work fine now Smile
[Image: hotlink.jpg]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
05-Mar-2012, 01:00 PM (This post was last modified: 05-Mar-2012 01:36 PM by Maaf11.)
Post: #10
RE: Garena HostBot v6.0 - for Garena Plus - with League Mode
Thanks, all work
Doesn't keep a way to Garena, only if to enter manually in a file one.ini
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply



Related Threads

Thread: Author Replies: Views: Last Post
[Question] 
Set mode automatic
The_NightHunter 0 229 19-May-2014 04:17 AM
Last Post: The_NightHunter
[Guide] 
How to setup DotA OpenStats with Garena HostBot v6.0
GarenaHack-er 76 28,145 22-Apr-2014 12:49 AM
Last Post: Leo Xiaoxin
[TUTORIAL]How to use Garena Hostbot
hellnano 154 210,796 30-Mar-2014 12:10 PM
Last Post: NeutraL
Garena Hostbot, how to load autosave game?
wingly113 6 3,187 09-Mar-2014 04:09 PM
Last Post: dreed
[Guide] 
How to remove credits from ghb (This game is hosted with Garena Hostbot 6.0 ...)
GarenaHack-er 13 1,509 13-Jan-2014 05:42 PM
Last Post: dragonlord06



User(s) browsing this thread: 1 Guest(s)