Opened 11 years ago
Closed 11 years ago
#1926 closed defect (duplicate)
Hosting a game without partake
Reported by: | Reto | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
I tried hosting a game (to share the simulation load) on one ubuntu 13.04 machine and playing on another. Somehow I think 0AD doesn't like that, since the game crashes.
Attachments (1)
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
I think the error is very easy to reproduce. It displays me: "WARNING: GetPlayerByID: no player defined for id '255' (255)@simulation/components/PlayerManager.js:28"
I'll attach the crashlog.txt shortly.
I know that the simulation runs on every client, but I thought maybe the "bot folks" at least can be coordinated by the host machine only?
comment:4 by , 11 years ago
Steps to reproduce:
- Host game
- As soon someone has joined, remove yourself and place a bot there
- start the game
comment:5 by , 11 years ago
No, AIs also run on each client.
The error you got is because you didn't assign one player to a slot, so the game does only have 2 slots (1 AI, 1 client) for 3 players (1 AI, 2 clients) and crashes. (See #1504 for something similar)
comment:6 by , 11 years ago
Milestone: | Backlog |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #700
Error logs would be nice (see ReportingErrors). You do know that the simulation runs on every client? So hosting the game on one machine will not reduce the load on the other.