Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 75
Search took 0.01 seconds.
Search: Posts Made By: Kakjens
Forum: AddOn Help/Support 06-12-18, 06:02 PM
Replies: 2
Views: 322
Posted By Kakjens
I see a strange stat Spirit which was supposedly...

I see a strange stat Spirit which was supposedly in patch 7.0.3. Hit chance and expertise shouldn't be visible either...
Forum: Lua/XML Help 06-09-18, 06:03 AM
Replies: 6
Views: 269
Posted By Kakjens
You could add print(elpased) after local x, y =...

You could add
print(elpased)
after
local x, y = GetCursorPosition()
to understand what happens.
I think you might want to use UPDATE_MOUSEOVER_UNIT event though.
Forum: Lua/XML Help 06-06-18, 06:55 PM
Replies: 14
Views: 959
Posted By Kakjens
local index = 1 local frameNum = 1 local filter =...

local index = 1
local frameNum = 1
local filter = nil
could be moved after lastUpdate = 0.
frame.displayedUnit gets accessed quite often, so maybe a local variable is warranted.
I would suggest...
Forum: Lua/XML Help 05-19-18, 01:04 PM
Replies: 12
Views: 508
Posted By Kakjens
Before printing you might want to sort the...

Before printing you might want to sort the suggestions in, for example, descending benefit.
How should your addon treat profession bags? What about bags that are in (or for) bank?
Forum: Lua/XML Help 04-13-18, 04:49 PM
Replies: 4
Views: 446
Posted By Kakjens
Shouldn't this work: local needs_to_setpoint =...

Shouldn't this work:
local needs_to_setpoint = true
local function yOffset(Frame,y)
if needs_to_setpoint
needs_to_setpoint = false
local P = { Frame:GetPoint() }
Frame:SetPoint(P[1], P[2],...
Forum: AddOn Help/Support 03-19-18, 12:55 PM
Replies: 7
Views: 668
Posted By Kakjens
Where did you get information about...

Where did you get information about COMBAT_RATING_UPDATE' s variables...
Forum: AddOn Help/Support 02-14-18, 03:31 PM
Replies: 14
Views: 743
Posted By Kakjens
https://www.wowinterface.com/forums/showthread.php...

https://www.wowinterface.com/forums/showthread.php?t=43637, http://www.wowinterface.com/forums/showthread.php?t=1236 .
Forum: Lua/XML Help 02-11-18, 02:22 PM
Replies: 11
Views: 700
Posted By Kakjens
You won't be able to break too many things....

You won't be able to break too many things. There's even certain goblin starting quest where you are asked to use the ability, the icon of which was just displayed.
You might be interested to check...
Forum: Lua/XML Help 02-09-18, 07:07 PM
Replies: 33
Views: 1,297
Posted By Kakjens
Is there need for UpdateHP(bar)? For me more...

Is there need for UpdateHP(bar)? For me more natural would be checks which status-bars need to be updated.
I sense a bug and possible fix for it, though.
But, leaving scoping aside, most of my...
Forum: Lua/XML Help 02-04-18, 07:31 AM
Replies: 6
Views: 401
Posted By Kakjens
Read the sticky...

Read the sticky (https://www.wowinterface.com/forums/showthread.php?t=43637).
Forum: AddOn Help/Support 01-17-18, 04:15 AM
Replies: 10
Views: 825
Posted By Kakjens
As mentioned above, reuse of code is the fastest...

As mentioned above, reuse of code is the fastest way to get things done. Is Blizzard's code good - maybe. Is Blizzard's code the best - definitely not. See, for example, how they implemented...
Forum: AddOn Help/Support 01-15-18, 01:43 AM
Replies: 34
Views: 1,869
Posted By Kakjens
Ammako, could you reword your example? At least...

Ammako, could you reword your example? At least for me, it sounded confusing.
Edit. OK, this should be more clear:
During ADDON_LOADED event cleanExit obtains the saved value (for example, true). In...
Forum: AddOn Help/Support 01-02-18, 05:10 AM
Replies: 12
Views: 663
Posted By Kakjens
/fstack might help to see what needs to be...

/fstack might help to see what needs to be changed.
Forum: Lua/XML Help 12-08-17, 06:17 PM
Replies: 40
Views: 1,260
Posted By Kakjens
Something similar to this: if UnitName("target")...

Something similar to this:
if UnitName("target") == "somename" then
CastSpellByname("Polymorph")
else
if UnitName("target") == "someothername" then
CastSpellByname("Fire Blast")
...
Forum: Lua/XML Help 11-26-17, 05:09 PM
Replies: 8
Views: 599
Posted By Kakjens
With a use of variable "event" is possible to...

With a use of variable "event" is possible to avoid unnecessary getPlayerColors(unit) calls.
What's the reason for UpdateColor:RegisterEvent("UNIT_FACTION")?
For me it feels...
Forum: Lua/XML Help 11-26-17, 10:40 AM
Replies: 8
Views: 599
Posted By Kakjens
Was it meant as "it doesn't work"? I believe you...

Was it meant as "it doesn't work"?
I believe you might want to...
Forum: Lua/XML Help 11-17-17, 04:54 AM
Replies: 4
Views: 430
Posted By Kakjens
It seems like Fizzlemizz forgot to provide a link...

It seems like Fizzlemizz forgot to provide a link (https://us.battle.net/forums/en/wow/topic/20759525847) for people who might have similar problem.
Forum: Lua/XML Help 11-16-17, 12:42 PM
Replies: 4
Views: 430
Posted By Kakjens
I suggest to paste whole code, instead of...

I suggest to paste whole code, instead of snippets. For example, I don't see what calls runTests().
Additional issue is use of global functions. While in debugging phase it's OK but "good" add-ons...
Forum: AddOn Help/Support 11-07-17, 03:09 AM
Replies: 15
Views: 2,927
Posted By Kakjens
Ammako, human language is relatively...

Ammako, human language is relatively fault-tolerant (unlike programming ones), so was able to guess what you intended to write.
Thanks for explaining the result of this loop with gsub and link. No...
Forum: AddOn Help/Support 11-07-17, 01:27 AM
Replies: 15
Views: 2,927
Posted By Kakjens
hikokun, while debugging I suggest in line 16 of...

hikokun, while debugging I suggest in line 16 of this code to add print(formatted). And in your code, in line 11 to replace curhp with formatPlayerNumbers(curhp), and maxhp with...
Forum: AddOn Help/Support 11-06-17, 05:31 PM
Replies: 15
Views: 2,927
Posted By Kakjens
Could you explain what happens in lines 9-14...

Could you explain what happens in lines 9-14 because for something that should have a simple display the code seems too complex.
Forum: Lua/XML Help 10-19-17, 11:46 AM
Replies: 5
Views: 371
Posted By Kakjens
Some trivial suggestions: 1. Formalizing what you...

Some trivial suggestions:
1. Formalizing what you mean by "boss". Only raid bosses? Or dungeon bosses as well? What about faction leaders? Or some gnoll leader ir Redridge Mountains? There are cases...
Forum: Lua/XML Help 09-28-17, 04:02 PM
Replies: 6
Views: 551
Posted By Kakjens
Glad that I was able to be of assistance. The...

Glad that I was able to be of assistance.
The logic still feels wrong. Separating creation and visibility of objects is a good start.
Don't see the reason why
if not currency[counter].tooltipinfo...
Forum: Lua/XML Help 09-28-17, 02:09 PM
Replies: 6
Views: 551
Posted By Kakjens
I suggested something like this local currency =...

I suggested something like this
local currency = {}
local function getCurrencies()
if not OrderHallCommandBar then return end
local prevName
for better scoping (and resetting) of variable...
Forum: Lua/XML Help 09-28-17, 11:54 AM
Replies: 6
Views: 551
Posted By Kakjens
In my addon that does something similar I used...

In my addon that does something similar I used :Hide() before making the object visible.
Minor fix: after if not OrderHallCommandBar then return end you might want to declare a local prevName
Showing results 1 to 25 of 75