Tutorial:Ghost One

From Eurobattle.net WiKi
Revision as of 00:46, 22 December 2011 by 127.0.0.1 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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

[SIZE=5][B][COLOR=Blue]2.[/COLOR][/B][/SIZE] 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.

[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.

[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.

[IMG]http://i228.photobucket.com/albums/ee82/niceone_548/Ghost/ghostpic.png[/IMG]

[IMG]http://e.imagehost.org/0183/1_52.jpg[/IMG] [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)

- [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: [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.

[IMG]http://e.imagehost.org/0709/2_21.jpg[/IMG]

[SIZE=5][B][COLOR=Blue]7.[/COLOR][/B][/SIZE] You are done! 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: [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] [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