🐛 [Bug Report] Vanilla/TBC/WotLK - wrong variable gets written to/used for the realmlist #3669
Labels
Expansion: Classic (1.12)
Issues relating to the Classic Expansion (1.12).
Expansion: TBC (2.4.3)
Issues relating to the TBC Expansion (2.4.3).
Expansion: WotLK (3.3.5)
Issues relating to the WotLK Expansion (3.3.5).
Info: Needs Replication
Issue needs replication before further action.
Type: Feature Request
Issue is a CMaNGOS Extensions request.
Bug Details
Vanilla/TBC/WotLK - wrong variable gets written to/used for the realmlist
Steps to Reproduce
World::updateRealmList
(it's in src/game/World/World.cpp) sets the timezone column to the value ofrealm_zone
realm_zone
value gets set just the line before togetConfig(CONFIG_UINT32_REALM_ZONE)
World::LoadConfigSettings
to the value of the config file mit the keyRealmZone
or if not set defaulting to REALM_ZONE_DEVELOPMENT (the default value might might give you a clue what this went wrong here)RealmZone
:timezone
😳Expected behavior
The config value of
TimeZoneOffset
(or if that's missing, then the default0
), available as inm_timeZoneOffset= sConfig.GetIntDefault("TimeZoneOffset", 0) * HOUR;
) for columntimezone
Suggested Workaround
Crash Log
No errors shown, as the server never gets aware of the issue to begin with
Core SHA1 Commit Hash
Yes
Database SHA1 Commit Hash
Yes
Operating System
Yes
Client Version
1.12.1 (Classic)
The text was updated successfully, but these errors were encountered: