MantisBT - Soldat Dedicated Server
View Issue Details
0000036Soldat Dedicated ServerScripting Corepublic2011-09-17 19:032011-09-18 14:28
DorkeyDear 
Shoozza 
normalminorhave not tried
resolvedfixed 
x86Windows7
2.7.0 
2.7.1 
0000036: GiveBonus with invalid player and bonus ids
Behavior has been mapped on one occurrence for a wide range of player and bonus ids. There is no guarantee it will be exactly the same when reproduced. Results available in Additional Information section.
Valid bonus id (tested only with one), number denotes player id:
valid player => gives bonus
non-active player => no action
0-124 => no exception
125-255 => exception

Bonus 0, number denotes player id:
valid player => changes primary ammo to 7, changes secondary weapon to desert eagles
1-22 => no exception
0,6-255 => exception

Player 0, number denotes bonus id:
1-5 => no exception
0,23-255 => exception

Player 1 (self), number denotes bonus id:
0-255 => no exception

Player 2 (spectating bot), number denotes bonus id:
0-255 => no exception

Player id 3,15,20,22, number denotes bonus id:
0-255 => no exception

Player id 23,25,31,32,33, number denotes bonus id:
0,6-255 => exception
1-5 => no exception

Player id 33,50,100,123,124, number denotes bonus id:
0,6-255 => exception
1-5 => exception

Player id 125,126,150,255, number denotes bonus id:
0-255 => exception
No tags attached.
Issue History
2011-09-17 19:03DorkeyDearNew Issue
2011-09-18 14:28ShoozzaStatusnew => resolved
2011-09-18 14:28ShoozzaFixed in Version => 2.7.1
2011-09-18 14:28ShoozzaResolutionopen => fixed
2011-09-18 14:28ShoozzaAssigned To => Shoozza

There are no notes attached to this issue.