MantisBT - Soldat Dedicated Server
View Issue Details
0000374Soldat Dedicated ServerScripting Corepublic2013-08-05 11:062013-08-06 01:48
Silnikos 
Falcon 
normalminoralways
resolvedfixed 
i386Debian GNU/Linux6.0
2.7.5 
 
0000374: getPlayerStat(id,'primary') and PrimaryNum are the same IDs (same for secondary weapon)
When you change weapons, they both show the same ID. It worked fine before the 2.7.5 patch. It's the same with getPlayerStat(id,'secondary') and SecondaryNum.
Run the attached script and use the change weapon event. The first two displayed numbers will stay the same all the time, just like the two last ones.
change, onweaponchange, weapon
? Throws.pas (579) 2013-08-05 11:06
https://bugs.soldat.pl/file_download.php?file_id=452&type=bug
Issue History
2013-08-05 11:06SilnikosNew Issue
2013-08-05 11:06SilnikosFile Added: Throws.pas
2013-08-05 11:07SilnikosTag Attached: change
2013-08-05 11:07SilnikosTag Attached: onweaponchange
2013-08-05 11:07SilnikosTag Attached: weapon
2013-08-05 11:32FalconAssigned To => Falcon
2013-08-05 11:32FalconStatusnew => acknowledged
2013-08-06 01:38FalconStatusacknowledged => confirmed
2013-08-06 01:48FalconNote Added: 0001841
2013-08-06 01:48FalconStatusconfirmed => resolved
2013-08-06 01:48FalconResolutionopen => fixed

Notes
(0001841)
Falcon   
2013-08-06 01:48   
Thanks for script, was very handy.