|
|
Line 3: |
Line 3: |
| First of all, you need to be able to host, to host with GHost. If you are unable to host normally (without bot) you WON'T be able to host with GHost! So first make sure you first set up your hosting properly by taking a look on our guides/forums. | | First of all, you need to be able to host, to host with GHost. If you are unable to host normally (without bot) you WON'T be able to host with GHost! So first make sure you first set up your hosting properly by taking a look on our guides/forums. |
| | | |
− | [SIZE=5][B][COLOR=Blue]1.[/COLOR][/B][/SIZE] Download GHostOne [URL="http://www.codelain.com/forum/index.php?topic=11643.0"]here[/URL] ("with source" is for programmers only).
| + | * Download GHostOne [http://www.codelain.com/forum/index.php?topic=11643.0 here] ("with source" is for programmers only). |
| | | |
− | [SIZE=5][B][COLOR=Blue]2.[/COLOR][/B][/SIZE] Unpack/install it on any folder.
| + | * Unpack/install it on any folder. |
| | | |
− | [SIZE=5][B][COLOR=Blue]3.[/COLOR][/B][/SIZE] Run [B]GhostOne.exe[/B] on the folder you installed GHost.
| + | * Run '''GhostOne.exe''' on the folder you installed GHost. |
| | | |
− | [SIZE=5][B][COLOR=red]4.[/COLOR][/B][/SIZE] (Loopback) If you are using a router (like most of users), you [B][U]may[/U][/B] need to add a "Loopback adapter" in order to join your own games (first try without changing anything). [URL="http://eurobattle.net/showthread.php?t=77303"]Click here[/URL] for more info while doing it (second post). Once you set up the Loopback adapter, rename the loopback connection on [B]Start > Network Connections[/B] to simply "Loopback". That will allow GHost to detect your new IP every time it changes and update your loopback configurations automatically.
| + | * (Loopback) If you are using a router (like most of users), you '''may''' need to add a "Loopback adapter" in order to join your own games (first try without changing anything). [[Tutorial:Ghost Unjoinable own game]] for more info while doing it. Once you set up the Loopback adapter, rename the loopback connection on '''Start > Network Connections''' to simply "Loopback". That will allow GHost to detect your new IP every time it changes and update your loopback configurations automatically. |
| | | |
− | [SIZE=5][B][COLOR=Blue]5.[/COLOR][/B][/SIZE] Go into [B]GHost Options > Main Configuration[/B] tab. The fields which should be filled are marked on the image below and are self-explicative on the program itself. Click [B]Apply Changes[/B] once you are done.
| + | * Go into '''GHost Options > Main Configuration''' tab. The fields which should be filled are marked on the image below and are self-explicative on the program itself. Click '''Apply Changes''' once you are done. |
| | | |
− | [IMG]http://i228.photobucket.com/albums/ee82/niceone_548/Ghost/ghostpic.png[/IMG]
| + | http://i228.photobucket.com/albums/ee82/niceone_548/Ghost/ghostpic.png |
| | | |
− | [IMG]http://e.imagehost.org/0183/1_52.jpg[/IMG]
| + | http://e.imagehost.org/0183/1_52.jpg |
− | [U]Some notes:[/U]
| |
− | - The user and password fields are your bot's account, not yours. You should create a different account for your bot to log in with. Your actual server account goes into "root admin" field.
| |
| | | |
− | - [I]bnet_custom_passwordhashtype[/I] = pvpgn (be careful about extra blank spaces here)
| + | '''Some notes:''' |
| + | * The user and password fields are your bot's account, not yours. You should create a different account for your bot to log in with. Your actual server account goes into "root admin" field. |
| | | |
− | - [I]bnet_custom_exeversion[/I] and [I]bnet_custom_exeversionhash[/I] must be left blank. In case that gives you a wrong game version error, you could try to put these values, as well:
| + | * Use the folowing settings in ghost.cfg file. |
− | [code]bnet_custom_war3version = 26
| |
− | bnet_custom_exeversion = 1 0 26 1
| |
− | bnet_custom_exeversionhash = 194 206 231 242
| |
− | bnet_custom_passwordhashtype = pvpgn
| |
| | | |
− | [B]for [U]1.26a[/U][/B][/code][SIZE=5][B][COLOR=Blue]6.[/COLOR][/B][/SIZE] Hit [B]Auto-Configure[/B] on the bottom. GHost should detect automatically your Warcraft III path and ports (those should be portforwarded). In case it doesn't correctly, those settings may be manually set on [B]Ghost Options[/B], Page 5 and 6.
| + | {{:Ghost Hash}} |
| | | |
− | [IMG]http://e.imagehost.org/0709/2_21.jpg[/IMG]
| + | * Hit '''Auto-Configure''' on the bottom. GHost should detect automatically your Warcraft III path and ports (those should be portforwarded). In case it doesn't correctly, those settings may be manually set on '''Ghost Options''', Page 5 and 6. |
| | | |
− | [SIZE=5][B][COLOR=Blue]7.[/COLOR][/B][/SIZE] You are done!
| + | http://e.imagehost.org/0709/2_21.jpg |
− | Finally, go to the first program's tab, [B]GHost[/B], and press [B]Run GHost[/B]. It should now connect to Eurobattle.net and watch for commands from the root admin.
| |
| | | |
− | Some basic commands:
| + | * You are done! |
− | [U]On chat:[/U]
| |
− | [B]!channel <channel></channel>[/B] - changes the current bot's channel
| |
− | [B]!map <map or="" partial="" name=""></map>[/B] - loads a map to be hosted from your set Warcraft III downloaded maps folder. E.g. !map 6.66b
| |
− | [B]!priv <gn></gn>[/B] - hosts a new private game with the previously loaded map
| |
− | [B]!pub <gn></gn>[/B] - hosts a new public game with the previously loaded map
| |
− | [B]!say <word></word>[/B] - orders your bot to say something on the chat. Can be used combined with server commands. E.g. !say /f add SugiPula
| |
− | [B]!addadmin <name></name>[/B] - adds a new bot admin (only accessible by root admin)
| |
− | [B]!deladmin <name></name>[/B] - removes a bot admin (only accessible by root admin)
| |
| | | |
− | [U]On game room:[/U]
| + | Finally, go to the first program's tab, '''GHost''', and press '''Run GHost'''. It should now connect to Eurobattle.net and watch for commands from the root admin. |
− | [B]!pub <gn></gn>[/B] - rehosts the game with gn. Can be typed without a parameter to add #+1 to current gn.
| |
− | [B]!priv <gn></gn>[/B] - rehosts the game as private
| |
− | [B]!ping or !p[/B] - pings all the players
| |
− | [B]!from or !f[/B] - detects every player's location
| |
− | [B]!unhost[/B] - unhosts the game
| |
− | [B]!start[/B] - starts the game
| |
| | | |
− | [[Category:Eurobattle Wiki]]
| + | {{IncCollapse|Page=Ghost One: Commands|NamePage=Ghost one commands overview}} |
| + | |
| + | {{IncCat|Page=Tutorial:Ghost One|Category=Ghost}} |
GHostOne is a hosting tool for any Warcraft III map, based on GHost++ (command line version, without interface).
First of all, you need to be able to host, to host with GHost. If you are unable to host normally (without bot) you WON'T be able to host with GHost! So first make sure you first set up your hosting properly by taking a look on our guides/forums.
- Download GHostOne here ("with source" is for programmers only).
- Unpack/install it on any folder.
- Run GhostOne.exe on the folder you installed GHost.
- (Loopback) If you are using a router (like most of users), you may need to add a "Loopback adapter" in order to join your own games (first try without changing anything). Tutorial:Ghost Unjoinable own game for more info while doing it. Once you set up the Loopback adapter, rename the loopback connection on Start > Network Connections to simply "Loopback". That will allow GHost to detect your new IP every time it changes and update your loopback configurations automatically.
- Go into GHost Options > Main Configuration tab. The fields which should be filled are marked on the image below and are self-explicative on the program itself. Click Apply Changes once you are done.
http://i228.photobucket.com/albums/ee82/niceone_548/Ghost/ghostpic.png
http://e.imagehost.org/0183/1_52.jpg
Some notes:
- The user and password fields are your bot's account, not yours. You should create a different account for your bot to log in with. Your actual server account goes into "root admin" field.
- Use the folowing settings in ghost.cfg file.
1.28.5
Compile the latest version of bncsutil and vesioncheck should work without custom hashes. If you can't do that, here are the hashes:
bnet_custom_war3version = 28
bnet_custom_exeversion = 0 5 28 1
bnet_custom_exeversionhash = 201 63 116 96
bnet_custom_passwordhashtype = pvpgn
1.26a
bnet_custom_war3version = 26
bnet_custom_exeversion = 1 0 26 1
bnet_custom_exeversionhash = 39 240 218 47
bnet_custom_passwordhashtype = pvpgn
- Hit Auto-Configure on the bottom. GHost should detect automatically your Warcraft III path and ports (those should be portforwarded). In case it doesn't correctly, those settings may be manually set on Ghost Options, Page 5 and 6.
http://e.imagehost.org/0709/2_21.jpg
Finally, go to the first program's tab, GHost, and press Run GHost. It should now connect to Eurobattle.net and watch for commands from the root admin.
Ghost one commands overview
|
===Ghost One Commands===
Check also Ghost++:Commands
- Top 10 Scores command: !top
- Calculate scores command: !topc (use with care on sqlite database, it blocks while calculating)
- Improved !pub (also pubxx, pubnxx) (called with no name will rehost (host) with last name + 1
ex last game name is -sd pros #2: !pub will rehost (if you're in the lobby) or host if you're on BNET game name -sd pros #3
- safelist feature - safelisted players are counted as reserved when they try to join a game
- !sladd <name> alias !sla - add player to safelist (supports partial match)
- !sldel <name> alias !sld, !slr - delete player from safelist
- !sl <name - check if a player is safelisted (supports partial match)
- !sdi [name] - show stats for inhouse games
- !sdpub [name] - stats for public games
- !sdpriv [name] - stats for private games (inhouse aren't included)
- !pri, !priby - create private inhouse game
- !get <varname> - ex: !get bot_log - will return value of variable bot_log from ghost.cfg
- !set <varname> <value> - ex: !set bot_log ghost.txt - will set bot_log=ghost.txt and reload config
- !setnew <varname> <value> - set var even if it doesn't exist, ex: !set bot_log ghost.txt - will set bot_log=ghost.txt and reload config
- !tempban/tb <name> <days> <reason> ex: !tban kileratz 13 flamer - will ban for 13 days
- !warn/!w <victim> <reason> ex: !w kileratz flamer
- !tbanlast/tblast/tbl - temp ban last
- !warnlast/wlast/wl - warn last
- !checkwarn/cw <user> - will show current warnings for player user
- !delwarns/dw/uw <user> - remove warnings for user
- !bans off|on - enables/disables auto kicking banned people from lobby
- !fw [msg] - will send a message to all the bot's friends, without parameter will send: Lobby: gamename (1/10) - ownername
- !rd [value] - set rehostdelay
- !disable [reason] - it will show the reason the bot is disabled when you try to host a game.
- !autohostxxxx (only allow xx xx countries)
- !gn - (lobby or ingame): show current game name
- !startn - Start game instantly
- !fromp - Show internet provider of a player
- (!no, !only, !pubxx) - Allow only some countries, deny some countries
- (!nop, !onlyp) - Allow only some providers, deny some providers
- (!mute, !unmute) - Mute players
- !pubdl gamename - Download only host mode (only allows people without the map)
- !wtv -> weather wtv is on or off
- !wtv off -> turn off
- !wtv on -> turn on
- !wtv name x -> gives the observer which is needed for the streaming function the name x.
- !rehost <gamename> - unhosts game and rehosts with same parameters
- !l - show ping and country of the last player who joined.
- !reloadcfg - reloads some settings from ghost.cfg
- !addfriend (alias !fadd), !delfriend (alias !fdel)
- !override - (in game) cancels game over timer
- !garena - toggles garena only or not
- !pubg [gamename] - host public game only allowing garena players + rootadmins, admins, reserved players, owner
- !autohostg to autohost allowing only garena players
- !mars [name] will insult someone using mars.txt (random player if no parameter is given), partial name match
ATTENTION : All commands are listed with default '!' trigger. If you change it for some other ( like '.' ) commands will be different, obviously
|