Hi,
I would like some explanations about feException : this exception appears in many game as well as in the zombie method sample, but it is not documented anywhere. Is it obsolete ? What should be used instead ? BgaSystemVisibleException ?
Another question about exceptions : if the system receives an unexpected parameter value from the client (something the client should not be able do send without hacking), what should be used ? BgaUserException or BgaSystemVisibleException or BgaSystemException ?
For example, if the system uses game state arguments to tell the client which action can be done, so as the client only permits clicks on valid action, how should the server react to an forbidden action ?
Thanks,
Tilalilalou
I would like some explanations about feException : this exception appears in many game as well as in the zombie method sample, but it is not documented anywhere. Is it obsolete ? What should be used instead ? BgaSystemVisibleException ?
Another question about exceptions : if the system receives an unexpected parameter value from the client (something the client should not be able do send without hacking), what should be used ? BgaUserException or BgaSystemVisibleException or BgaSystemException ?
For example, if the system uses game state arguments to tell the client which action can be done, so as the client only permits clicks on valid action, how should the server react to an forbidden action ?
Thanks,
Tilalilalou