Fox Guild Calendar

Guild Calendar

File Details

FoxGuildCal.zip

  • R
  • Sep 19, 2025
  • 28.64 KB
  • 52
  • 1.15.7
  • Classic

File Name

FoxGuildCal.zip

Supported Versions

  • 1.15.7

 FoxGuildCal 버그 수정 완료

  발견된 문제점:

  1. 개인 일정이 길드 일정으로 잘못 전달되는 버그
    - 원인: Sync.lua의 getEventsSince 함수에서 개인 일정도 동기화
  데이터에 포함시켜 다른 길드원에게 전송하고 있었음
    - 개인 일정이 길드 동기화 시 다른 사람들에게 공유되어 길드
  일정으로 저장됨
  2. 일정 삭제 불가 문제
    - 버그로 인해 개인 일정이 길드 일정으로 전달되면서 작성자 정보가
   꼬여 본인도 삭제 불가
    - 삭제 권한이 정확한 작성자명 일치만 확인하여 제한적이었음

  적용된 수정사항:

  1. Sync.lua 수정
    - 개인 일정을 동기화 대상에서 완전히 제외
    - BroadcastEvent 함수에서 개인 일정은 전송하지 않도록 차단
  2. Calendar.lua 수정
    - 삭제 버튼: 닉네임이 같으면 삭제 가능하도록 개선
    - DeleteEvent 함수: 버그로 생성된 일정도 삭제 가능하도록 수정
  3. Core.lua 수정
    - 데이터 정리 함수 CleanupBuggedEvents 추가
    - /fgc cleanup 명령어로 잘못된 데이터 정리 가능

  사용 방법:
  - /fgc cleanup - 버그로 인한 잘못된 일정 정리
  - /fgc help - 명령어 도움말
  - 이제 자신의 닉네임으로 된 모든 일정 삭제 가능

  ---
  English Explanation

  FoxGuildCal Bug Fixes Completed

  Issues Found:

  1. Personal Events Incorrectly Synced as Guild Events
    - Cause: The getEventsSince function in Sync.lua was including
  personal events in sync data, broadcasting them to other guild
  members
    - Personal events were being shared and saved as guild events
  for others
  2. Unable to Delete Events
    - Due to the bug, personal events transferred as guild events
  had incorrect author information, preventing even the creator from
   deleting them
    - Delete permissions were too restrictive, requiring exact
  author name match

  Fixes Applied:

  1. Sync.lua Modified
    - Completely excluded personal events from synchronization
    - BroadcastEvent function now blocks personal events from being
  transmitted
  2. Calendar.lua Modified
    - Delete button: Now allows deletion if character names match
    - DeleteEvent function: Can now delete bugged events
  3. Core.lua Modified
    - Added CleanupBuggedEvents function for data cleanup
    - /fgc cleanup command available for fixing corrupted data

  Usage:
  - /fgc cleanup - Clean up bugged events
  - /fgc help - Show command help
  - You can now delete all events created with your character name