UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Feature request #4108 More fault-tolerant spawning
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
aduke1 (@aduke1) has been working on this issue since January 28, 2013 (20:49)
Issue basics
  • Type of issue
    Feature request
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Accepted
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/624 Item 624] imported from sourceforge.net tracker on 2013-01-28 20:23:02

If the map has fewer spawn points than expected the server crashes. Instead it should print a noticeable error message and continue with less spawned characters.
===== Comments Ported from Sourceforge =====

====== aduke1 (2012-11-17 22:23:31.167000) ======

1. I didn't find the place where the crash/exit is caused. Do you have the exact msg ?
2. with "noticeable error message" you mean popup ? Like SysError(), just no crash ?
3. Had an idea: ufo has the capability to send crashdumps to our server. Should we add an option to the popup(s) to send error infos to us ??
====== aduke1 (2012-11-17 22:23:50.470000) ======

- **assigned_to**: Duke

====== aduke1 (2012-11-17 22:56:18.640000) ======

ad 1: The message is: "Not enough spawn points for team 1 (actorsize: 1)"
issued from G_ClientTeamInfo()
====== aduke1 (2012-11-17 23:56:05.763000) ======

It would be easy to allow some threshold in G_ClientTeamInfo(), like "if just ONE spawnpoint is missing, continue anyway",
BUT
- not sure what the client will do (see segfault in bug #3424)
- players will NOT accept less soldiers in battle than there were on the aircraft.

==> imho our best bet is to find better ways to make sure that there are enough spawnpoints
====== shipit (2012-11-20 10:11:24.161000) ======

There should be no problem with the spawnpoints for the human team in campaign. This one occoured because the base map was not properly updated after we added the 8+ soldiers support.

Iirc the map tests already check for multiplayer spawnpoints if mp is enabled in the mapdef. Maybe we can add a check for human spawnpoints, too?
====== natewr (2013-01-22 15:14:57.255000) ======

- **status**: open --> accepted
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif