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)

crashlog.txt (59.6 KB ) - added by Reto 11 years ago.
crashlog from hosting machine

Download all attachments as: .zip

Change History (7)

comment:1 by leper, 11 years ago

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.

comment:2 by Reto, 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?

by Reto, 11 years ago

Attachment: crashlog.txt added

crashlog from hosting machine

comment:3 by Reto, 11 years ago

btw. The game rocks. You have done a great job!

comment:4 by Reto, 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 leper, 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 historic_bruno, 11 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed

Duplicate of #700

Note: See TracTickets for help on using tickets.