9 years ago

Comment has been collapsed.

Deleted

This comment was deleted 2 years ago.

9 years ago
Permalink

Comment has been collapsed.

select a random person and move on

9 years ago
Permalink

Comment has been collapsed.

Most games (or other programs) will pick an arbitrary player from the candidate list.
Can be randomized, just the one with the lowest/highest player number, by whoever manages to join the game first etc.

Making this an unhandled error condition would be lazy, not user-friendly and overall pretty stupid.

9 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 2 years ago.

9 years ago
Permalink

Comment has been collapsed.

You give the dev a load of shit for not being fit to do their job

9 years ago
Permalink

Comment has been collapsed.

Pretty much this.
Not having something in place to handle this is a design failure, therefore a serious bug.
Having something in place that doesn't work correctly - well depending on how it's implemented all sorts of fun things can happen. From the host/server crashing or spinning infinitely as it tries to make up it's mind, to breaking the gameplay by having no special player or multiple special players.

9 years ago
Permalink

Comment has been collapsed.

It kinda depends on how the programmer has written his or her code.

These are some possibilities that could happen:

  1. The programmer noticed the possibility and decided to apply some form of ruling. Perhaps he or she made it so that the amount of players each get a the same probability to get chosen. So with two tied players, there's a 50% for each.
  2. An error occurs, as you've said.
  3. It could also continue the code without interruption. Perhaps it'll pick the first or last least-special player, and ignore the others. This may sound terrible, but might not be that awful, since it could then add a +1 to the times the chosen person has been special and next time it could be the other player.
9 years ago
Permalink

Comment has been collapsed.

Depends on the implementation and compiler - if you show us that function, we will be able to tell.

9 years ago
Permalink

Comment has been collapsed.

format c:

9 years ago
Permalink

Comment has been collapsed.

It would probably just throw out unhandled exception error, click ok to attempt to continue...
I'm guessing that the special player will simply be not unselected (code is skipped) and game continues.
Game will throw out next unhandled error at the next moment where 'special player' has to do something according to the code, as there is no special player. Then at some point after clicking trough error messages you either crash game or return to main menu if code supplies reasons for that event.

9 years ago
Permalink

Comment has been collapsed.

The code will do what you tell it to do.
Nothings happens magically. unhandled stuff behavior is determined by your implementation and language\compiler

9 years ago
Permalink

Comment has been collapsed.

Closed 8 years ago by Deleted-2073166.