Comments (5)
No worries, this was bound to happen, this is pretty difficult to test myself because I don't have a room running where I can test stuff. Will look into this quickly
from haxball_bot_headless.
Turns out it was a false alarm, sorry. I'm running two different rooms with your codes customised in two different ways. When I was adding the CS logic based on your commit, I did it correctly in one of the rooms, but missed to call handleGK()
in getGameStats()
which is fired on GameTick. 🙁 Hence the GKTicks not incrementing.
Anyways, closing this issue now. Thanks
from haxball_bot_headless.
let me know if I can help somehow
from haxball_bot_headless.
How did you test this?
FYI, if you open a room on your browser and open consecutively 6-7 different tabs for each player, it will not work. Since the PlayerComposition object (bad name, want to change it one day) works with the auth property, it will mess up the computation of the GK ticks. If you clear your localStorage before opening a new tab, you'll get a new auth for each player and avoid such problem.
I've followed the procedure I just described and played 2v2, didn't have any problem with GK ticks.
from haxball_bot_headless.
I've tested this in a live room with different people, I am aware of the PlayerComposition working with the auth.
Initially, the GKTicks was fine and it was showing the correct GKs, but after a bit, it started to show wrong players 🙁 and the GKTicks stopped incrementing in some cases (actually, all the cases when I was monitoring it).
Not very helpful, I know. I will try to collect some more information.
from haxball_bot_headless.
Related Issues (20)
- 0 HOT 1
- 0 HOT 1
- 0 HOT 1
- 0 HOT 1
- 0 HOT 1
- 0 HOT 1
- 0 HOT 2
- 0 HOT 1
- 0 HOT 1
- match report not recording subs
- Json file in localhost HOT 2
- Avatar that changes when you sign HOT 2
- vps on the readme HOT 1
- Announcements and Color chat. HOT 1
- location... HOT 1
- Masterpassword not working and local storage transfer. HOT 5
- command to download file
- Haxball Bot
- URGENT QUEUE MODE BY ODEM NO CHOICE
- How can I override the room's location ?
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 haxball_bot_headless.