View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000622SoldatGameplaypublic2015-08-14 11:062016-04-12 19:34
Assigned ToFalcon 
Platformx64OSWindowsOS Version8.1
Product Version1.6.9b1 
Target VersionFixed in Version 
Summary0000622: OnWeaponChange called with old primary at spawn
DescriptionI noticed that when I take 2 different weapons on a respawn, it will call OnWeaponChange with the old primary weapon as now-secondary.
Example: I take Minimi(9) and Law(16), kill myself, and take Spas(5) and Combat Knife(14). At spawn, OnWeaponChange(ID, 5, 9) will be called. Perhaps this is still caused by SetWeaponActive, as I tested with the original script that uses those calls.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
Shoozza (administrator)
2015-10-07 15:06
edited on: 2015-10-23 19:27

Can you attach a simple script which prints the values and shows the bug?
In my script this thing doesn't occur (using legacy=1 in config.ini)

TheOne (reporter)
2015-10-27 04:09

I have to correct myself. On respawn the first OnWeapon call will show your old 2nd weapon as new 2nd weapon when respawning. So when you died with (Ussocom+AK) and pick (Spas+Knife) next, it will first call OnWeaponChange with (Spas+AK) and then (Spas+Knife).
Shoozza (administrator)
2016-04-12 19:34

Does this still happen in 1.7?

- Issue History
Date Modified Username Field Change
2015-08-14 11:06 TheOne New Issue
2015-10-07 15:06 Shoozza Note Added: 0002490
2015-10-07 15:06 Shoozza Assigned To => Shoozza
2015-10-07 15:06 Shoozza Status new => feedback
2015-10-23 19:27 Shoozza Note Edited: 0002490 View Revisions
2015-10-27 04:09 TheOne Note Added: 0002494
2015-10-27 04:09 TheOne Status feedback => assigned
2016-04-12 19:34 Shoozza Note Added: 0002549
2016-04-12 19:34 Shoozza Assigned To Shoozza => Falcon
2016-04-12 19:34 Shoozza Status assigned => feedback

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker