Anonymous | Login | Signup for a new account | 2024-03-29 04:40 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003054 | Zandronum | [All Projects] Bug | public | 2017-04-09 21:56 | 2018-09-30 21:47 | ||||
Reporter | Korshun | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.0-beta | ||||||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||||||
Summary | 0003054: Using GetCVar clientside with user cvars is broken in 3.0 | ||||||||
Description | In 2.1.2, using GetCVar("some_user_cvar") clientside will return the cvar's value. In 3.0, it returns 0. This means that all 2.1.2 mods that are currently using GetCVar clientside with user cvars will need to replace GetCVar("some_user_cvar") with GetUserCVar(ConsolePlayerNumber(), "some_user_cvar") to work in Zandronum 3.0. | ||||||||
Attached Files | user_getcvar_clientside.wad [^] (824 bytes) 2017-04-10 20:50 | ||||||||
Relationships | ||||||
|
Notes | |
(0017120) Torr Samaho (administrator) 2017-04-10 17:44 |
We discussed about this issue in 0002634:0016395, I'm still open to add the fallback option mentioned in 0002634:0016403 though. Can you post a minimal example wad? Then I'll look into this. |
(0017121) Korshun (reporter) 2017-04-10 20:50 |
You are right that it turns out it doesn't break if the player is the activator. Attached an example wad that does SetActivator(-1) and then calls GetCVar("some_user_var"). |
(0017132) Torr Samaho (administrator) 2017-04-15 09:46 |
Should work as in 2.1.2 again now. |
(0017150) Korshun (reporter) 2017-04-16 12:24 |
Fixed in 170416-0710. The fix works in my mod. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-04-09 21:56 | Korshun | New Issue | |
2017-04-10 17:44 | Torr Samaho | Note Added: 0017120 | |
2017-04-10 18:31 | Torr Samaho | Assigned To | => Torr Samaho |
2017-04-10 18:31 | Torr Samaho | Status | new => feedback |
2017-04-10 20:50 | Korshun | File Added: user_getcvar_clientside.wad | |
2017-04-10 20:50 | Korshun | Note Added: 0017121 | |
2017-04-10 20:50 | Korshun | Status | feedback => assigned |
2017-04-15 09:46 | Torr Samaho | Note Added: 0017132 | |
2017-04-15 09:47 | Torr Samaho | Status | assigned => needs testing |
2017-04-15 09:47 | Torr Samaho | Target Version | => 3.0 |
2017-04-16 07:03 | Torr Samaho | Relationship added | related to 0002634 |
2017-04-16 12:24 | Korshun | Note Added: 0017150 | |
2017-04-17 14:40 | Ru5tK1ng | Status | needs testing => resolved |
2017-04-17 14:40 | Ru5tK1ng | Resolution | open => fixed |
2017-04-17 14:40 | Ru5tK1ng | Fixed in Version | => 3.0 |
2018-09-30 21:47 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |