Note There are some maps that the above method will not work forI highly recommend reading the FAQ before going through the steps below, if the FAQ is of no help, then go through steps belowThese special maps have been made in such a way that GHost does not read them correctly. The maps may cause one or more of the following:(from most likely to lease likely)
1. The map is a custom melee style map, where you can normally choose a race, but with GHost you can't.
- To fix this, set
map_gametype = 2
2. The map is an official blizzard map, but it's not hosting it like one.
- Set
map_gametype = 9
3. The game instantly ends when you attempt to start it. (The slots may be misconfigured)
- GHost reads the map to determine how many players are in the map, what race they are, and if they are human slots, or computer slots.
- There are two ways of determining whether or not the slots are misconfigured. The main symptom is that when the game is started, it
instantly ends, and the player is kicked back to the lobby.
- The second way of determining whether or not the slots are misconfigured, is to compare the way the lobby looks when GHost hosts the game, as compared to when Warcraft III hosts the game. The colors, computer slots, and player slots should be in the same order, arrangement, and race(s) when compared for the map to work properly. You can change the slots information manually by following steps in the next section.
4. GHost says "the currently loaded map config file is incorrect", or you get any other errors when trying to host. (The map data may be misread)
- GHost reads the map to determine the map_crc, map_size, map_info, map_sha1 which are needed to be able to use the map. Some maps (quite rare) cause GHost to misread or be completely unable to read that information.
This error can be duplicated when GHost cannot find the map, ensure that the map paths are correct and that GHost can actually find the map file before it generates the errorTo resolve Slots Misconfiguration:I've already stated that you have to manually set the slot values. To do so, it's best to start with a 'clean slate', so to speak. Follow the steps below and your map slots should now be configured correctly.
- Open the map config file and delete slot information
- Open the map with Warcraft III and note the colors, races, teams, and player slots. Screenshot them if you want.
- Host the map using the config file without the slot information in the config and see if the slots are identical. If so, try hosting, you may be done already. If not, note which items are different, since you'll want to concentrate on those ones.
- If you don't have an automated way of setting the slot values as per the way GHost sees them, you'll have to create them based on this guideline by CorruptionOfLOL. In it he explains how to do it specifically for Go Fish!, but you can use this tutorial for any map config file.
# slot structure
# [PID] [Download Status] [Slot Status] [Computer] [Team] [Colour] [Race] [Skill] [Handicap]
# - PID is always 0
# - Download Status is always 255
# - Slot Status is 0 for open, 1 for closed, 2 for occupied
# - Computer is 0 for no, 1 for yes
# - Team
# - Colour
# - Race is 1 for human, 2 for orc, 4 for night elf, 8 for undead, 32 for random (add 64 to any of these for fixed)
# - Skill is 0 for easy computer, 1 for normal computer or human, 2 for hard computer
# - Handicap is 50/60/70/80/90/100
1. Host a game of Go FiSH! with Warcraft III (not GHost), and take a screenshot of the game lobby.
2. In your Go FiSH!.cfg, type out the slot structure on a separate line for every slot that appears in your screenshot, like so:
map_slot1 = 0 255 (Slot Status) (Computer) (Team) (Color) (Race) (Skill) (Handicap)
map_slot2 = 0 255 (Slot Status) (Computer) (Team) (Color) (Race) (Skill) (Handicap)
etc... Until you've typed out each slot. Obviously, numbers should go where those parentheses are. You can discern which number by referencing your screenshot and the instructions quoted in that post. The "Team" field's value is from 0-11: 0 is Team 1, 1 is Team 2, and so on, with 11 being Team 12. Likewise, the "Color" field is a number from 0-11: 0 being Red, 1 being Blue, 2 being Teal, and so on like that, with 11 being Brown.
3. Load the edited .cfg file, and host it with Ghost. The lobby of the game you join should look indentical to the one from when you hosted manually.
3a. If it doesn't, note the differences and re-check the slot structure of your Go FiSH!.cfg.
3b. Continue doing this until you have the correct slots.
4. Start the game and rejoice as you play a five-day Fishing Tournament
To resolve Invalid Map Data:Make sure you're aware of the difference between GHost not being able to find the map, and GHost being unable to read the values from the map file after it finds it. This is very important.
1. Go into your map config file, and delete the values for map_crc, map_size, map_info, and map_sha1. It should look like this:
map_crc =
map_size =
map_info =
map_sha1 =
To keep you from needing to waste time, try hosting the map and see if it works. If it's still the same (of if you didn't have those entries before), then keep going.
2. You'll need to get the values for the map manually. Luckily the process has been eased by the use of this program:
http://www.codelain.com/forum/index.php?topic=8962.0You'll have to host/join a game with Warcraft III without GHost to get the values you'll want.[/list]