Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: Infus
Forum: Legion Beta archived threads 11-28-16, 09:03 AM
Replies: 7
Views: 7,573
Posted By Infus
I should at least mention that as far as we addon...

I should at least mention that as far as we addon developers can tell, the backup mechanism only ever creates a .bak file if it doesn't exists. Which is pretty pointless.
Forum: Legion Beta archived threads 11-28-16, 06:50 AM
Replies: 7
Views: 7,573
Posted By Infus
Sure there's more going on. But 600k calls to...

Sure there's more going on. But 600k calls to WriteFile will take the majority of that time. That's 60k calls per second, or 60 calls per ms. I'm pretty sure from my experience as a software...
Forum: Legion Beta archived threads 11-27-16, 11:14 AM
Replies: 7
Views: 7,573
Posted By Infus
Addon settings take excessive amount of time/syscalls

TLDR: WoW uses ~600.000 WriteFile calls to write a 3MB settings file and that takes 9s. That is a order of magnitude slower than it needs to be.

I took a look at how World of Warcraft saves addon...
Forum: Legion Beta archived threads 11-12-16, 10:55 AM
Replies: 1
Views: 5,183
Posted By Infus
Mouse Events and ScrollFrames being broken in 7.1

This code creates a scrollframe and 10 buttons inside that scrollframe. Those buttons are clipped by the scrollframe. And thus only the top 3.5 are visible. In 7.1, the scrollframe no longer clips...
Forum: Legion Beta archived threads 08-31-16, 12:19 PM
Replies: 0
Views: 4,431
Posted By Infus
GetSpellCooldown("Fury of Elune") returns 0,0

Fury of Elune's cooldown can only be retrieved via the spell id, while the player has the "Fury of Elune" buff.

That is GetSpellCooldown("Fury of Elune") returns 0,0, 1 while the spell is on cd, but...
Forum: Legion Beta archived threads 08-20-16, 06:38 AM
Replies: 3
Views: 2,818
Posted By Infus
TheDanW on irc.

TheDanW on irc.
Forum: Legion Beta archived threads 08-09-16, 03:14 PM
Replies: 3
Views: 2,818
Posted By Infus
This will be fixed in 7.1

This will be fixed in 7.1
Forum: Legion Beta archived threads 08-08-16, 02:54 PM
Replies: 3
Views: 2,818
Posted By Infus
ScrollFrame clipping issue

The following code that was extracted from WeakAuras + AceGui shows rather strange behaviour.

There are nested scroll frames, the inner scrollframes are 32x32 pixels and should clip the contained...
Forum: Legion Beta archived threads 07-11-16, 02:13 PM
Replies: 1
Views: 1,747
Posted By Infus
Scrollframes:SetPoint and clipping

In this code a scrollframe is moved to a different position. Doing that naively, results in the clipping not correctly updating. Hiding the scrollframe before setting the new position and then...
Forum: General Authoring Discussion 07-10-16, 08:51 AM
Replies: 92
Views: 72,064
Posted By Infus
Not in my experience. The code I posted uses...

Not in my experience. The code I posted uses SetRadians and works.
Forum: General Authoring Discussion 07-09-16, 08:29 AM
Replies: 92
Views: 72,064
Posted By Infus
And somehow this broke in Legion. I'm not at the...

And somehow this broke in Legion. I'm not at the bottom of all the problems, but I have something that works on Legion.


-- Usage:
-- spinner = CreateSpinner(parent)
--...
Forum: Legion Beta archived threads 07-08-16, 10:58 AM
Replies: 0
Views: 1,675
Posted By Infus
Spurious OnCursorChanged events

On certain widths of a editbox and lengths of the contained texts, I get spurious OnCursorChanged events. (Which are a problem, because in the original code the cursor is scrolled to the...
Forum: Legion Beta archived threads 07-08-16, 04:57 AM
Replies: 0
Views: 1,741
Posted By Infus
Game crash, Assertion failure in CSimpleEditBox.cpp 2105, m_cursorPos out of bounds

With the following minimimal code example I can always reproduce a crash in CSimpleEditBox.cpp:

local frame = CreateFrame("Frame", nil, UIParent)

local editBox = CreateFrame("EditBox", "1Edit",...
Showing results 1 to 13 of 13