Showing results 1 to 25 of 169
Search took 0.02 seconds.
Search: Posts Made By: Choonstertwo
Forum: Lua/XML Help 02-18-15, 06:38 PM
Replies: 4
Views: 228
Posted By Choonstertwo
You could use StopSound...

You could use StopSound (http://wow.gamepedia.com/API_StopSound) with the sound handle returned by PlaySoundFile to stop the file immediately after playing it during the testing phase.
Forum: Lua/XML Help 02-13-15, 07:35 AM
Replies: 24
Views: 960
Posted By Choonstertwo
Ro posted a talent-swapping macro here...

Ro posted a talent-swapping macro here (http://us.battle.net/wow/en/forum/topic/9377380018#7), but apparently it's not always reliable when trying to switch multiple talent tiers at once.

You could...
Forum: Lua/XML Help 02-04-15, 10:27 AM
Replies: 15
Views: 601
Posted By Choonstertwo
That's only in XML. Passing nil to CreateFrame in...

That's only in XML. Passing nil to CreateFrame in Lua actually passes nil.
Forum: Lua/XML Help 02-04-15, 09:34 AM
Replies: 15
Views: 601
Posted By Choonstertwo
Just use nil:newButton = CreateFrame("Button",...

Just use nil:newButton = CreateFrame("Button", nil, ORC_UserFrame);
Forum: AddOn Search/Requests 02-03-15, 11:15 AM
Replies: 6
Views: 444
Posted By Choonstertwo
Here's a direct link...

Here's a direct link (http://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code).
Forum: General Authoring Discussion 02-03-15, 03:10 AM
Replies: 14
Views: 552
Posted By Choonstertwo
Even though Lua doesn't have constants, there's...

Even though Lua doesn't have constants, there's nothing stopping you from using a normal local variable like a constant:
local RIPTIDE_ID = 61295

-- ...

if GetSpellCooldown(RIPTIDE_ID) == 0...
Forum: Lua/XML Help 02-03-15, 03:07 AM
Replies: 4
Views: 317
Posted By Choonstertwo
ntex:SetVertexColor("color_normal") You're...

ntex:SetVertexColor("color_normal")

You're passing a string to SetVertexColor instead of the RGBA values it expects.

This is what you want:ntex:SetVertexColor(unpack(color_normal))

This unpacks...
Forum: Lua/XML Help 01-31-15, 04:41 AM
Replies: 21
Views: 687
Posted By Choonstertwo
This isn't actually stripping properly, it's just...

This isn't actually stripping properly, it's just broken in such a way that it looks like it's working.

ť and Í are both two-byte characters that share their first byte. When you use ť in the...
Forum: Lua/XML Help 01-30-15, 08:09 PM
Replies: 21
Views: 687
Posted By Choonstertwo
You could use a slightly less restrictive pattern...

You could use a slightly less restrictive pattern that matches everything after the first dash:("PLAYERNAME-Aggra(PortuguÍs)"):gsub("%-.+", "")

You could also use the WoW-specific strsplit...
Forum: AddOn Search/Requests 01-29-15, 11:01 AM
Replies: 17
Views: 607
Posted By Choonstertwo
Are you aware that Carbonite is being actively...

Are you aware that Carbonite is being actively developed (http://www.wowinterface.com/downloads/cat138.html) for 6.0? Your post kind of gave me the impression that you thought Carbonite was dead.

If...
Forum: General Authoring Discussion 01-29-15, 10:55 AM
Replies: 6
Views: 362
Posted By Choonstertwo
I haven't tested it with Garrison Resource...

I haven't tested it with Garrison Resource vendors, but my BulkBuy (http://www.wowinterface.com/downloads/info21442-BulkBuy.html) AddOn can bulk buy items that cost other non-gold currencies.
Forum: AddOn Search/Requests 01-22-15, 10:59 PM
Replies: 12
Views: 815
Posted By Choonstertwo
Run this command while mousing over one of the...

Run this command while mousing over one of the graphics and it will output the name of the frame. This might point to which AddOn is creating them.

/run local f = GetMouseFocus() print(f and...
Forum: Dev Tools 01-17-15, 08:21 PM
Replies: 20
Views: 2,524
Posted By Choonstertwo
I was getting 404 errors from the AddOn...

I was getting 404 errors from the AddOn repository's webhook until I changed the URL from https://<APP_NAME>.herokuapp.com/webhook to https://<APP_NAME>.herokuapp.com/. Once I changed the URL and...
Forum: Dev Tools 01-16-15, 08:48 PM
Replies: 20
Views: 2,524
Posted By Choonstertwo
This looks awesome. I already use Git with...

This looks awesome. I already use Git with GitHub/CurseForge and tag each release, so this should fit in well with my existing process.
Forum: Site help, bugs, suggestions/questions 01-14-15, 08:32 PM
Replies: 6
Views: 799
Posted By Choonstertwo
I was going to say that they weren't displayed in...

I was going to say that they weren't displayed in the forum itself for some reason, but then I realised it was only showing threads from the last 2 months by default. I'm not used to having a time...
Forum: Lua/XML Help 01-14-15, 05:55 PM
Replies: 25
Views: 934
Posted By Choonstertwo
You'll need to show us the code that's creating...

You'll need to show us the code that's creating the button and setting the texture.
Forum: Lua/XML Help 01-11-15, 10:33 AM
Replies: 6
Views: 523
Posted By Choonstertwo
I just replied on the official forums, but I...

I just replied on the official forums, but I thought I'd reply here as well. The issue is probably that I was using LoadsWith instead of LoadWith (the correct tag).
Forum: AddOn Help/Support 01-09-15, 11:13 PM
Replies: 2
Views: 606
Posted By Choonstertwo
Use this as the custom text...

Use this as the custom text function:function()
if UnitExists("target") then
local name = UnitName("target")
local current, max = UnitHealth("target") UnitHealthMax("target")

return ("%s -...
Forum: AddOn Search/Requests 01-06-15, 10:43 AM
Replies: 3
Views: 555
Posted By Choonstertwo
This should be fairly easy to do yourself. ...

This should be fairly easy to do yourself.


Download the icon (http://wow.zamimg.com/images/wow/icons/large/inv_garrison_hearthstone.jpg) from Wowhead
Open it in an image editing program like GIMP...
Forum: Lua/XML Help 01-03-15, 11:02 AM
Replies: 10
Views: 1,067
Posted By Choonstertwo
%Z is the time zone name (without the offset), so...

%Z is the time zone name (without the offset), so it's not much use without a hardcoded mapping of time zone names to offsets.

%z is the time zone offset on Mac, but it's an alias of %Z on...
Forum: UI Screenshots, Feedback and Design Discussion 01-03-15, 09:41 AM
Replies: 4
Views: 903
Posted By Choonstertwo
The orb in the bottom centre looks like...

The orb in the bottom centre looks like rBottomBarStyler (http://www.wowinterface.com/downloads/info12975-rBottomBarStylerDiablo.html), but I'm not sure which AddOn provides the crystals on either...
Forum: Macro Help 12-23-14, 12:11 AM
Replies: 41
Views: 44,462
Posted By Choonstertwo
/run for n,i in...

/run for n,i in pairs{Honor1=36057,Honor2=37458,Honor3=37459,Gold1=36054,Gold2=37454,Gold3=37455,GR1=36056,GR2=37456,GR3=37457,Apexis1=36055,Apexis2=37452,Apexis3=37453}do if...
Forum: Carbonite Archive 12-21-14, 12:08 AM
Replies: 35
Views: 30,958
Posted By Choonstertwo
The newest development version...

The newest development version (https://github.com/Rythal/Carbonite) is already pretty modular, much more so than the original version.
Forum: Site help, bugs, suggestions/questions 12-18-14, 12:42 PM
Replies: 9
Views: 934
Posted By Choonstertwo
It would be extremely useful to auto-upload...

It would be extremely useful to auto-upload Curse-packaged AddOn updates to WoWI. I'm looking forward to this API/script.
Forum: Site help, bugs, suggestions/questions 12-17-14, 03:33 PM
Replies: 9
Views: 934
Posted By Choonstertwo
That data is in JSON (http://json.org/) format, a...

That data is in JSON (http://json.org/) format, a common data format used by web APIs. Applications can send a HTTP request to that URL to get that list of AddOns by a particular author and then do...
Showing results 1 to 25 of 169