Comments (14)
Partial solution:
- closing client
- manually opening the shell and running taskkill.exe with parameters desired:
cd /
cd Windows
cd System32
taskkill.exe /T /F /IM StarCraft.exe
or killing it through taskmanager.
However, the bot will not be in an appropriate state to start a new game from here.
Instead, it will freeze on attempting to join the next game.
I can then stop the tournament manually and resume it. The bots find this acceptable and continue the game. I have played against AIUR but not UAB (it fails to find the UAB .dll, unclear why.)
The TM then again freezes at the conclusion of the game.
from starcraftaitournamentmanager.
Solution:
~/client/bwapi.ini
Change auto_restart = ON
from starcraftaitournamentmanager.
Ooops! Closed this prematurely.
That did not resolve the issue. However, I may now click OK to manually resume.
from starcraftaitournamentmanager.
Sounds like something system related, haven't run into this issue in a long long time with the TM. Try running all clients in VMs and see if that fixes the issues. Since we did not run into this for the most recent AIIDE tournament I will close this until more people start reporting it, but we can keep talking about it here
from starcraftaitournamentmanager.
I've set it up in a VM Win10(x64) and a VM Win7(x32) between each other and the problem persisted. I could share the virtualbox files if you would like.
I've tried changing the BWAPI.ini files contained within required_XXX.zip to have auto_restart=ON as well, but it did not improve the situation.
As a less serious (but perhaps related?) problem, UAB is one of the few bots I cannot play against (fails to find .dll), while the other bots do load (so long as I manually resume between each round.)
from starcraftaitournamentmanager.
Then you are doing something wrong in the set-up. What year version of UAB are you using? This year's version was an .exe
from starcraftaitournamentmanager.
I used the ones bundled with the 2016_AIIDE.zip and set it to "1vsAll" to see how all the bots were doing.
I'll try again tomorrow morning with fresh images and a fresh pull from github and see what happens.
If you have any ideas about how I'm installing it wrong to lead to this particular problem, I'd be happy to hear.
from starcraftaitournamentmanager.
Make sure the config file matches the bots you are using. Sounds like you might be using the 2017 config file with the 2016 bots
from starcraftaitournamentmanager.
I tried a fresh pair of VMs and a a clean restart.
I have tried changing the client's bwapi.ini file to match that from one of the: Required_BWAPI_XXX.zip
Is there another .ini file I should instead?
Here is a screenshot of the server and command windows VM postgame (AIUR vs inert UAB)
https://snag.gy/6LEWiw.jpg
Upon clicking OK in SC:BW's victory screen, the replays are all present and accounted for in the Server VM. The TM then correctly moves to the next round.
from starcraftaitournamentmanager.
from starcraftaitournamentmanager.
Neither of those bwapi.ini files actually do anything. The version that gets used is written out by the TM client using hard-coded values and the correct bot names, etc. for the game being scheduled. I had thought that was the case but hadn't confirmed it until now. There are a few old bits of functionality like that which should be removed.
So that's not an issue. I'm thinking it has to do with the client machine setups. What version of Java is installed on the client VMs? Also, there is an issue where two of the C++ redists won't install using the script provided, but that shouldn't affect the TM client killing the StarCraft process.
I had a weird issue the last time I set up a fresh client VM, but I forget the symptom. I'm going to try to recreate it and see if it's the same.
With UAlbertaBot, is it the error that BWAPI reports in the game when it can't find the bot dll? The server_settings.json file and the 2016 bots included with the TM match up and there shouldn't be any issue there.
There may be issues with using paths other than C:\TM\Starcraft for the install directory.
from starcraftaitournamentmanager.
The UAlbertaBot issue is likely that you haven't copied some dlls required for it into either the Windows or Starcraft directory (either is fine) on the client machine : libgmp-10.dll and libmpfr-4.dll
You can get those from the BWTA 2.2 installer in the Windows directory. https://bitbucket.org/auriarte/bwta2/downloads/
from starcraftaitournamentmanager.
I made a small change in the alpha branch to fix a problem I was having. I don't think it would cause your issue, but you should give it a try.
from starcraftaitournamentmanager.
I have repeated the install process again using a fresh pull from this git.
- Fresh Win7 (32 bit win 7)
- Moved Client over
- Installed SC (no spaces), use C:\TM\Starcraft as the directory of choice. I also moved libgmp-10.dll and libmpfr-4.dll to C:\TM\Starcraft.
- Installed BWAPI 4.1.2 (Some others have included this step to make sure SC is in the registry.
- installed VS-redists manually. Vs2015 often gets stuck. Have to uninstall and reinstall it.
- Install jdk 8 - win i586
- Set PATH system variable to: c:\program files\java\jdk1.8.0_151\bin
- Win + R set HKLM->Software permissions for user to full. (32 bit win 7)
- Set client to connect to host.
- Set client to find SC.
Notes:
-UAB still fails to find the .dll. The path is C:\TM\Starcraft\Starcraft.exe
-The folder TM is empty except for .\Starcraft
- Clarification - Clicking OK at game end causes the game to be REPLAYED. Sending the taskkill.exe command to the clients through the server causes the game to be recorded properly and move on to the next round.
from starcraftaitournamentmanager.
Related Issues (20)
- TM overwrites bwapi.ini HOT 1
- load other dll at run time
- Possibly Starcraft UDP Connection Issue? HOT 8
- ManagerClientThread Object Streams could not initialize HOT 2
- client occasionally getting stuck in Status: SENDING HOT 10
- File I/O not synchronized immediately between rounds HOT 6
- replay is twisted HOT 3
- "run_proxy.bat" may not be executed with a low but persistent possibility HOT 2
- Suggestions for the AIIDE competition and/or ladder HOT 9
- Bugfixes to Tournament Module permissions for BWAPI versions 4.2.0 & 4.1.2 HOT 4
- Add support for BWAPI 4.4.0 (but not 4.3.0 because it crashes a lot) HOT 5
- some confusing problems HOT 3
- Use the latest Microsoft Visual C++ x86 redistributables HOT 7
- Game Speed slider setting in game lobbies HOT 1
- Questions about Cherrypi HOT 1
- Can't upload bot HOT 1
- Header links don't work without JS handlers
- Is there some way let StarcraftAITournamentManager enable CompleteMapInformation? HOT 1
- 4.4 Tournament Module mistimes client bots HOT 5
- Add bot packs from all AIIDE competitions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starcraftaitournamentmanager.