zloop1982 / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

auto_menu attempts to start before map transfer is processed/confirmed #373

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create subdirectory in maps/BroodWar/ such as "icc"
2. Put map in this directory such as "iccup athena ii.scx"
3. Turn on auto menu in bwapi.ini
4. Put "map = maps\BroodWar\icc\iccup athena ii.scx" in bwapi.ini file

What is the expected output? What do you see instead?
BWAPI should load this map properly. Instead StarCraft displays a diaglog box 
saying "Unable to distribute map".

What version of the product are you using? On what operating system?
BWAPI 3.5.3 - Windows XP

Please provide any additional information below.
This worked fine in BWAPI 3.4 version

Original issue reported on code.google.com by brent#go...@brentpease.com on 10 Apr 2011 at 5:52

GoogleCodeExporter commented 9 years ago
This is a duplicate issue, but was fixed in r3594.
A new release 3.5.4 contains the fix and is r3597.

Original comment by AHeinerm on 10 Apr 2011 at 9:48

GoogleCodeExporter commented 9 years ago
Duplicate of issue 372.

Original comment by AHeinerm on 10 Apr 2011 at 9:49

GoogleCodeExporter commented 9 years ago
This still seems broken with some maps. 

I'm attaching the standard Heartbreak Ridge map used in the last tournament. I 
get a "unable to distribute map" if I try to use it. I think it might be maps 
that have spaces in the name don't work? (6)Tale of Two Cities.scm also doesn't 
work.

Original comment by David.LW...@gmail.com on 23 Apr 2011 at 10:17

Attachments:

GoogleCodeExporter commented 9 years ago
When do you get that error? The lobby?
You're using BWAPI 3.5.4 right?

Original comment by AHeinerm on 24 Apr 2011 at 3:47

GoogleCodeExporter commented 9 years ago
I remember there being a similar issue with it in multiplayer as well.

Original comment by AHeinerm on 24 Apr 2011 at 3:58

GoogleCodeExporter commented 9 years ago
I think I have the same issue, if you think that is a different one, please 
open a new ticket.

What steps will reproduce the problem?
1. Put the attached map in maps/ directory
2. Set the params in [auto_menu] in bwapi.ini file like:
    - auto_menu = LAN
    - lan_mode = Local Area Network (UDP)
    - auto_restart = OFF
    - map = maps\terran1.scm
    - race = Terran
    - game_type = USE_MAP_SETTINGS

What is the expected output? What do you see instead?
BWAPI should load this map properly. Instead StarCraft displays a dialog box 
saying "Unable to distribute map".

What version of the product are you using? On what operating system?
BWAPI 3.5.4 - Windows Vista

Please provide any additional information below.
I don't know if this is important, but with this version of BWAPI in the 
multiplayer connection list It doesn't appear any "Local PC" option.
The map settings of the map are:
 - Player 1 controlled by Human (i.e. my AI)
 - Player 2 controlled by Computer (i.e. Starcraft default AI)

Original comment by warwol...@gmail.com on 26 Apr 2011 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
"I don't know if this is important, but with this version of BWAPI in the 
multiplayer connection list It doesn't appear any "Local PC" option."

Copy SNP_DirectIP.snp from BWAPI\Starcraft\ to <program files>\Starcraft\

Original comment by AHeinerm on 26 Apr 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Uops, it's true know I can see the options, but this doesn't solve the main 
problem.

I still have the message "The scenario map file is still being distributed"

Thanks

Original comment by warwol...@gmail.com on 26 Apr 2011 at 10:06

GoogleCodeExporter commented 9 years ago
Yes it's the same as the opening issue, I will still need to look into it.

Original comment by AHeinerm on 26 Apr 2011 at 11:36

GoogleCodeExporter commented 9 years ago
Mostly fixed in r3709, however there are still some cases which don't seem to 
work correctly.

Original comment by AHeinerm on 10 May 2011 at 8:32

GoogleCodeExporter commented 9 years ago
Thank you for working on it!
Please, could you make a new BWAPI compilation or can you tell me when do you 
expect to do it?

Thanks a lot of your effort.

Original comment by warwol...@gmail.com on 26 May 2011 at 9:45

GoogleCodeExporter commented 9 years ago
I can't really identify the cases that didn't work, so I'm not sure if this 
should still be an issue or not.

If you find a map that doesn't work with auto-menu then please share it.

Original comment by AHeinerm on 30 May 2011 at 5:01

GoogleCodeExporter commented 9 years ago
I am experiencing the same issue when I try to have two StarCraft on separate 
machines launch using the automatic menu. 

The Host I have:
map = maps\(?)*.sc?

The Client I have:
map= 

Both are set to
auto_menu = LAN
lan_mode = Local Area Network (UDP)
auto_restart = ON

Attached is the screen shot when I hit OK on the host. I tried setting the host 
to use certain maps but seem to get the same error all the time. If I turn the 
host to OFF and create the match manually it work fine.

Original comment by Andrew.K...@gmail.com on 1 Jun 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
I have an idea of what's wrong. 

Original comment by AHeinerm on 6 Jun 2011 at 5:16

GoogleCodeExporter commented 9 years ago
Fixed in r3734. Please test.

Original comment by AHeinerm on 6 Jun 2011 at 6:26

GoogleCodeExporter commented 9 years ago
Still happens in r4111
Any ideas for workaround?

Original comment by Leonid.T...@gmail.com on 2 Jun 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Still hapens in http://code.google.com/p/bwapi/source/detail?spec=svn4255&r=4162

Original comment by 100...@gmail.com on 18 Jan 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Re-opened

Original comment by AHeinerm on 18 Jan 2013 at 5:06

GoogleCodeExporter commented 9 years ago
Fixed in r4434. Please test.  Note that Issue 443 ("Second client downloads
maps it already has") is still a problem (it will be tracked in that issue 
rather than here).

Original comment by chris.c...@gmail.com on 17 Aug 2013 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 20 Aug 2013 at 12:37

GoogleCodeExporter commented 9 years ago
Can someone verify the fix worked? I don't think I can reproduce it.

Going to mark as fixed until someone brings it up again.

Original comment by AHeinerm on 23 Aug 2013 at 6:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can repro on some maps, but not others with these settings:

auto_menu = LAN
lan_mode = Local PC
auto_restart = ON

Was able to repro on:
maps/BroodWar/(2)Asteral Balance.scm

Unable to repro on:
maps/(2)Challenger.scm

Would the space in the map name be a possibility?

Original comment by amcca...@ucsc.edu on 30 Jul 2014 at 9:16

GoogleCodeExporter commented 9 years ago
We are using GitHub now (not GoogleCode), so I have copied the last comment to 
the corresponding issue in GitHub - please continue this issue at 
https://github.com/bwapi/bwapi/issues/371

Original comment by chris.c...@gmail.com on 2 Aug 2014 at 5:12