Comments (3)
Heb je SpectatorClient.start()
aangeroepen?
from htttp-peno.
Ja, het werkt perfect tot ik de updatepositie-thread laat lopen.
- Ik laat de thread niet lopen:
Nu is er geen probleem, vanaf ik een GUI sluit (als het spel al gestart is) krijgen de andere gui's een timeout message en gamepaused
2)Ik laat de thread wel lopen:
Nu zal iedere GUI zijn positie om de seconde doorsturen, als ik een gui sluit (als het spel al gestart is) krijgen de andere geen timeout of gamepaused. De posities blijven gewoon verder sturen (en worden nog steeds door de spectatorHandler opgevangen).
tgoossens heeft net een kwartiertje komen kijken en heeft gemerkt dat de heartbeatThread niet meer loopt vanaf mijn sendPositionsThread loopt.
Hij kon het probleem niet reproduceren in zijn testproject.
Het probleem is echter nog niet opgelost...
from htttp-peno.
Opgelost door de thread die posities stuurde te vervangen door een ScheduledExecutorService
from htttp-peno.
Related Issues (20)
- Report player position updates to handler.
- Rejecting a duplicate player should not result in playerLeft being triggered HOT 1
- separate handler for world simulation HOT 6
- Rethink rolling/readying/starting
- specifications? HOT 2
- Handler also handles changes to ready states for players. HOT 1
- Players need to configure and publish their width and height.
- Propose a merge for the own maze and the partner's maze.
- Propose a meeting point. HOT 3
- Report when team has won.
- Share position with team partner.
- NullPointerException in PlayerClient HOT 6
- Players are kicked out (timeout) when being idle or waiting for teammate. HOT 1
- Internal error when joining a team HOT 1
- gameStarted() method is called 4 times HOT 3
- identify robots as simulated or representations of physical robots HOT 1
- Position updates need to be in tile coordinates.
- Clarify unit of angles in position updates.
- Position non-team mate players
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 htttp-peno.