Prat 3.0

Prat 3.0

26M Downloads

Classic: Attempt to register unknown event "PARTY_MEMBERS_CHANGED"

DanSheps opened this issue ยท 2 comments

commented

Describe the bug
Lua error:

Attempt to register unknwon event "PARTY_MEMBERS_CHANGED"

To Reproduce
Steps to reproduce the behavior:

  1. Enable Prat
  2. Login/Reload
  3. See error

Expected behavior
No error on login/reload

Screenshots
image

Version Information (please complete the following information):

  • Wow Version: 3.4.0 45942 Oct 3 2020 30400
  • Prat Version: cff8080ff3.0

Addons you are running
Lots

Lua Error

Date: 2022-10-10 12:25:04
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua line 33:
   Attempt to register unknown event "PARTY_MEMBERS_CHANGED"
Debug:
   [string "=[C]"]: RegisterEvent()
   [string "@Ace3\AceEvent-3.0\AceEvent-3.0.lua"]:33: OnUsed()
   [string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:142: RegisterEvent()
   [string "@Prat-3.0\modules\PlayerNames.lua"]:1132: OnModuleEnable()
   [string "@Prat-3.0\addon\modules.lua"]:189:
      Prat-3.0\addon\modules.lua:178
   [string "=[C]"]: ?
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:70:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:65
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:527: EnableAddon()
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:540: EnableAddon()
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:630:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:615
   [string "=[C]"]: LoadAddOn()
   [string "@ArkInventory\Core\ArkInventory.lua"]:10512: LoadAddOn()
   [string "@ArkInventory\Core\ArkInventory.lua"]:10534: BlizzardAPIHook()
   [string "@ArkInventory\Core\ArkInventory.lua"]:2780:
      ArkInventory\Core\ArkInventory.lua:2750
   [string "=[C]"]: ?
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:70:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:65
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:527: EnableAddon()
   [string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:630:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:615
Locals:
None
AddOns:
  Swatter, v3.4.6817 (SwimmingSeadragon)
  Ace3, vRelease-r1281
  ACP, v3.5.7 
  alaChat, v304r.220915
  Altoholic, v2.5.008
  AngryAssignments, vv1.14.2tbc
  ArkInventory, v30968
  ArkInventoryRules, v30968
  ArkInventoryRulesExample, v3.09.68
  ArkInventorySearch, v30968
  Atlas, vv1.51.06
  AtlasBurningCrusade, vv1.51.02
  AtlasClassicWoW, vv1.51.02
  AtlasLootClassic, vv3.0.6
  AtlasLootClassicData, vv3.0.6
  AtlasLootClassicDungeonsAndRaids, vv3.0.6
  ATTClassic, v1.1.3
  Attune, v308
  AucAdvanced, v3.4.6825 (SwimmingSeadragon)
  AucFilterBasic, v3.4.6803 (SwimmingSeadragon)
  AucStatHistogram, v3.4.6805 (SwimmingSeadragon)
  AucStatiLevel, v3.4.6809 (SwimmingSeadragon)
  AucStatPurchased, v3.4.6806 (SwimmingSeadragon)
  AucStatSimple, v3.4.6807 (SwimmingSeadragon)
  AucStatStdDev, v3.4.6808 (SwimmingSeadragon)
  AucUtilFixAH, v3.4.6810 (SwimmingSeadragon)
  Bartender4, v4.12.0
  BeanCounter, v3.4.6811 (SwimmingSeadragon)
  BeStride, v@project-version@
  ClassicLootManager, vv2.3.1
  DataStore, v2022.08.05
  DataStoreAgenda, v2.5.008
  DataStoreAuctions, v2.5.008
  DataStoreCharacters, v2022.06.05
  DataStoreContainers, v2.5.008
  DataStoreCrafts, v2.5.008
  DataStoreInventory, v2.5.008
  DataStoreMails, v2022.06.05
  DataStoreQuests, v2.5.008
  DataStoreReputations, v2.5.008
  DataStoreTalents, v2.5.008
  DBMCore, vbcd53f2
  DBMStatusBarTimers, vbcd53f2
  DBMVPVEM, v1b93adf
  Details, v
  DetailsEncounterDetails, v
  DetailsRaidCheck, v
  DetailsTinyThreat, v
  DetailsVanguard, v
  Enchantrix, v3.4.6821 (SwimmingSeadragon)
  EnchantrixBarker, v3.4.6813 (SwimmingSeadragon)
  ExRT, v4660
  Gargul, v4.8.5
  GearQuipperTBC, v42
  GTFO, v4.69
  GuildRosterManager, v1.92991
  HandyNotes, vv1.6.8
  HealBarsClassic, v
  KiwiItemInfo, vv2.3.6
  LeatrixMaps, v3.0.22
  LeatrixPlus, v3.0.25
  LFGBulletinBoard, v3.05
  LibStub, v
  MikScrollingBattleText, v5.7.153
  MRT, v4660
  NovaInstanceTracker, v1.36
  NovaWorldBuffs, v2.39
  PallyPower, vv1.5.0-classic
  PitBull4, vv4.3.11-classic
  Prat30, v3.9.1
  Prat30Libraries, v
  Questie, v7.3.2
  Reputable, v1.29-bcc
  SexyMap, vv9.2.11
  SimpleItemLevel, v1
  SlideBar, v3.4.6815 (SwimmingSeadragon)
  Stubby, v3.4.6816 (SwimmingSeadragon)
  ThreatClassic2, v2.45
  TipTac, v22.09.02
  TipTacItemRef, v22.09.02
  TitanClassic, v1.5.3.30400
  TitanClassicAmmo, v1.5.3.30400
  TitanClassicBag, v1.5.3.30400
  TitanClassicClock, v1.5.3.30400
  TitanClassicGold, v1.5.3.30400
  TitanClassicLocation, v1.5.3.30400
  TitanClassicLootType, v1.5.3.30400
  TitanClassicPerformance, v1.5.3.30400
  TitanClassicRegen, v1.5.3.30400
  TitanClassicRepair, v1.5.3.30400
  TitanClassicRestPlus, v1.0.0.2
  TitanClassicVolume, v1.5.3.30400
  TitanClassicXP, v1.5.3.30400
  TitanProfessionsMulti, vv9.0.1
  WeakAuras, v4.1.4
  WIM, v3.9.8
  BlizRuntimeLib_enUS v3.4.0.30400 <none>
  (ck=b1a)
commented

Caused by:

if select(4, GetBuildInfo()) < 80000 and select(4, GetBuildInfo()) >= 20000 then
self:RegisterEvent("PARTY_MEMBERS_CHANGED", "updateParty")
end

Should be:

    if select(2, GetBuildInfo()) >= 15464 then
      self:RegisterEvent("GROUP_ROSTER_UPDATE", "updateParty")
    elseif select(4, GetBuildInfo()) < 80000 and select(4, GetBuildInfo()) >= 20000 then
      self:RegisterEvent("PARTY_MEMBERS_CHANGED", "updateParty")
    end
commented