8000 UnitBuff API changes · Issue #17 · tmg-pub/crossrp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UnitBuff API changes #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pnorman opened this issue Aug 15, 2024 · 0 comments · Fixed by #18
Closed

UnitBuff API changes #17

pnorman opened this issue Aug 15, 2024 · 0 comments · Fixed by #18

Comments

@pnorman
Copy link
Contributor
pnorman commented Aug 15, 2024
1644x CrossRP/CrossRP.lua:316: attempt to call global 'UnitBuff' (a nil value)
[string "@CrossRP/CrossRP.lua"]:316: in function `UnitHasElixir'
[string "@CrossRP/CrossRP.lua"]:340: in function `TouchTest'
[string "@CrossRP/CrossRP.lua"]:356: in function `OnMouseoverUnit'
[string "@CrossRP/CrossRP.lua"]:256: in function <CrossRP/CrossRP.lua:255>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ons/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@AdvancedInterfaceOptions/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@AskMrRobot/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <AskMrRobot/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
unit = "mouseover"
ELIXIR_OF_TONGUES = 2336
buff_expiry = nil
(for index) = 1
(for limit) = 40
(for step) = 1
i = 1
(*temporary) = nil
(*temporary) = "mouseover"
(*temporary) = 1
(*temporary) = "attempt to call global 'UnitBuff' (a nil value)"

It looks like the section should be switched to use C_TooltipInfo.GetUnitBuffByAuraInstanceID instead of looping through the unit buffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0