Comments (10)
AFAIK we haven't observed this. How big is the data you are trying to send back? And how fast is your network?
from starcraftaitournamentmanager.
from starcraftaitournamentmanager.
I've seen some rare Tournament Manager client crashes in the game start process that I thought might be related to our network setup and 30MB+ bot directories (the bot files were only partially copied over). But no we haven't had it hang while sending the replay.
Can you check to see in these cases if a replay is actually written out to (starcraft-dir)/maps/replays by the SC client? Any exceptions logged in the command line?
At the point where it looks like the TM client is stuck, it should be checking to see that the replay folder isn't empty. It checks every 5 seconds for 50 seconds (that should be logged... added to the todo!), and then if it can't find anything it should just send an empty replay folder after logging "Sending data to server...", which I'm not seeing in the log.
Sending the bot write dir and closing the SC client is supposed to happen next after this step.
from starcraftaitournamentmanager.
It's just happened again. Attaching a screenshot from the client in case that helps
from starcraftaitournamentmanager.
What are the contents of the replays folder?
from starcraftaitournamentmanager.
from starcraftaitournamentmanager.
OK I see the problem. It checks for the existence of a file inside the replays directory, which is assumed to be the subdirectory with the name of the bot, and then it checks to see if that subdirectory has a file. The exception is caused because of this other replay file in the replay folder, which is not expected. The exception is encountered every time and the loop never exits because the counter would be incremented after it tries to read the subdirectory. So two problems really.
This should be an easy fix. I'll try to push one later today. I don't know why StarCraft is writing out the extra replay file.
from starcraftaitournamentmanager.
from starcraftaitournamentmanager.
Fixed in both branches now. I tested by manually creating extra files in the replays folder. Let me know if it doesn't work!
from starcraftaitournamentmanager.
Alright, I've copied the changed code from Client.java. Let's see how it behaves overnight.
Thanks for the relatively fast reaction
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
- 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.