Difference between revisions of "Tutorial:Ghost One"

From Eurobattle.net WiKi
Jump to navigation Jump to search
m (1 revision)
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}}

Revision as of 13:47, 4 May 2012

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

  • You are done!

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.