Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Adapt
Forum: Lua/XML Help 06-20-20, 11:27 PM
Replies: 10
Views: 6,042
Posted By Adapt
To continue with this thread, is there a way to...

To continue with this thread, is there a way to catch XP awarded through exploring a new zone? Those don't seem to get captured by CHAT_MSG_COMBAT_XP_GAIN.

Thanks
Forum: Lua/XML Help 06-16-20, 08:49 AM
Replies: 10
Views: 6,042
Posted By Adapt
I wrote a small .net application to do it. Here...

I wrote a small .net application to do it. Here is the meat of the code - not elegant, and specific to the addon I made, but does the job.

Use at your own risk, I take no responsibility.

private...
Forum: Lua/XML Help 06-15-20, 02:33 PM
Replies: 10
Views: 6,042
Posted By Adapt
Thanks. Seems for some reason I needed to restart...

Thanks. Seems for some reason I needed to restart client, not just /reload.

The last piece I think is now logging each XP gain in a table.

Edit: All sorted. Sharing below for those...
Forum: Lua/XML Help 06-15-20, 02:12 PM
Replies: 10
Views: 6,042
Posted By Adapt
Ha! Yes, I more meant if all logic needed to be...

Ha! Yes, I more meant if all logic needed to be inside the ADDON_LOADED event.
Forum: Lua/XML Help 06-15-20, 12:57 PM
Replies: 10
Views: 6,042
Posted By Adapt
Thanks for your kind help and quick response....

Thanks for your kind help and quick response. Does this mean that any logic in relation to interacting with that variable needed to come after that event has fired?

i.e.

local Congrats_EventFrame =...
Forum: Lua/XML Help 06-15-20, 10:20 AM
Replies: 10
Views: 6,042
Posted By Adapt
Post Logging all XP gains

Hi all,
I am making a small addon for Classic that logs all XP gains to a SavedVariables file that I can then parse later for analysis. I am struggling a bit with the SavedVariables piece. Hoping...
Showing results 1 to 6 of 6