Anonymous | Login | 2024-10-06 21:27 CEST |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000619 | Soldat | Other | public | 2015-06-28 14:58 | 2015-07-13 01:17 | ||||||||
Reporter | homerofgods | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | confirmed | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000619: OnWeaponChange called twice | ||||||||||||
Description | I quote deguix: - TActivePlayer.ForceWeapon on TActivePlayer.OnAfterRespawn is working while in 1.6.8 it isn't - at least when all weapons in soldat.ini are disabled. There are still bad things though: Bug: Player chooses a secondary that is not "No weapon" in game options. Then when the player joins a game with that weapon disabled in soldat.ini, server still forces that secondary weapon, then it forces it to WTYPE_NOWEAPON (2 OnWeaponChange are called). It should force weapons directly to WTYPE_NOWEAPON (with only 1 call to OnWeaponChange), like what happens when the secondary chosen in menu is "No weapon". | ||||||||||||
Additional Information | http://forums.soldat.pl/index.php?topic=43954.msg524107#msg524107 [^] | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
Relationships | ||||||||||||||||
|
Notes | |
(0002480) ExHunter (developer) 2015-07-13 01:17 |
I am aware of that issue - it has been present since ever. No easy way* to fix this though atm. Would result in a kind of workaround in the code, which we really do not need more of at this point. Explanation: Client informs server that it has this weapon, so weaponchange is called, but server notices that this weapon is not enabled, so it forces another secondary, so it is called again. (*actually easy, but more spagetthi code...) |
Issue History | |||
Date Modified | Username | Field | Change |
2015-06-28 14:58 | homerofgods | New Issue | |
2015-06-28 14:59 | homerofgods | Relationship added | related to 0000618 |
2015-06-28 14:59 | homerofgods | Relationship added | related to 0000617 |
2015-06-28 15:01 | homerofgods | Relationship added | related to 0000620 |
2015-07-13 01:17 | ExHunter | Note Added: 0002480 | |
2015-07-13 01:17 | ExHunter | Status | new => confirmed |
Copyright © 2000 - 2024 MantisBT Team |