View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018713 | Return of Reckoning | General | public | 2023-08-13 04:24 | 2023-08-13 04:24 |
Reporter | ReturnOfReckoning | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Summary | 0018713: Guild calendar tab resets incorrectly | ||||
Description | Reporter: Filip-88 If you try to make a new event or open the details of a existing event in the guild calendar you will be "kicked out" (reset to default calendar tab view) whenever the guild gets exp. (SystemData.Events.GUILD_EXP_UPDATED fires) **Expected behavior and actual behavior:** You should stay in the current view. **Steps to reproduce the problem:** 1. click on a event in the guild calendar, or press "new". 2. wait for the guild to earn exp (SystemData.Events.GUILD_EXP_UPDATED) **Possible fix?** in "GuildWindowTabCalendar.lua" change method "GuildWindowTabCalendar.UpdateCalendarWatermark" to: ``` function GuildWindowTabCalendar.UpdateCalendarWatermark() local calendarUnlocked = (GameData.Guild.m_GuildRank >= GuildWindowTabCalendar.RankUnlocked) WindowSetShowing( "GuildWindowCalendar", calendarUnlocked ) WindowSetShowing( "GWCalendarFilters", calendarUnlocked ) WindowSetShowing( "GWCalendarNewAppointmentButton", calendarUnlocked ) WindowSetShowing( "GWCalendarAppointmentSeperator", calendarUnlocked ) WindowSetShowing( "GWCalendarAppointments", calendarUnlocked ) WindowSetShowing( "GWCalendarVertSeparator", calendarUnlocked ) WindowSetShowing( "GWCalendarTotalAppointments", calendarUnlocked ) if( calendarUnlocked ) then GuildWindowTabCalendar.SetAppointmentMode(GuildWindowTabCalendar.Appointment_Mode) GuildWindowTabCalendar.UpdateAppointmentList() end WindowSetShowing( "GWCalendarLocked", calendarUnlocked == false) if calendarUnlocked == false then LabelSetText("GWCalendarLockedText", GetFormatStringFromTable( "guildstrings", StringTables.Guild.TEXT_CALENDAR_UNLOCKS_AT_RANK_X, {GuildWindowTabCalendar.RankUnlocked} ) ) end end ``` The only change is: **GuildWindowTabCalendar.SetAppointmentMode(GuildWindowTabCalendar.Appointment_Mode)** intead of: GuildWindowTabCalendar.SetAppointmentMode(0) This seems to work fine for me when I tried by hook from a addon. | ||||
Tags | Guilds | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-13 04:24 | ReturnOfReckoning | New Issue | |
2023-08-13 04:24 | ReturnOfReckoning | Tag Attached: Guilds |