Showing results 1 to 25 of 231
Search took 0.02 seconds.
Search: Posts Made By: cokedrivers
Forum: Lua/XML Help 11-25-14, 08:54 PM
Replies: 6
Views: 4,591
Posted By cokedrivers
Thank You Phanx for all you knowledge and wisdom...

Thank You Phanx for all you knowledge and wisdom with wow and lua.

Coke
Forum: Lua/XML Help 11-23-14, 01:10 PM
Replies: 6
Views: 4,591
Posted By cokedrivers
How would you use these defaults in your addon...

How would you use these defaults in your addon would it be MyAddonDB.x ?

of would this function replace your:

local cfg = MyAddonDB.defaults

MyFrame = CreateFrame("frame")
MyFrame:SetPoint(cfg.p,...
Forum: General Authoring Discussion 11-15-14, 12:22 PM
Replies: 4
Views: 367
Posted By cokedrivers
Thank You for this. Coke

Thank You for this.

Coke
Forum: General Authoring Discussion 11-15-14, 09:33 AM
Replies: 4
Views: 367
Posted By cokedrivers
Programmer WANTED!

I've been racking my brain trying to get this to work, I would love to be able to do what I see most everyone here doing and that is creating add-ons to make there WoW experience much better for them...
Forum: Lua/XML Help 11-14-14, 07:23 AM
Replies: 13
Views: 539
Posted By cokedrivers
So by looking at all the codes posted (BTW thank...

So by looking at all the codes posted (BTW thank you to you code gurus for helping) it seems that this setup should give me the results I am looking for.


-- Main Code provided by Zork from...
Forum: Lua/XML Help 11-13-14, 08:54 AM
Replies: 13
Views: 539
Posted By cokedrivers
Now with multiple bosses like the second boss in...

Now with multiple bosses like the second boss in the deadlines would this still work once the BossFrame1 gets removed, cause once you lol the big guy the little guy hopes off his shoulders.

Or...
Forum: Lua/XML Help 11-12-14, 11:11 PM
Replies: 13
Views: 539
Posted By cokedrivers
Thank you for this it collapses the tracker...

Thank you for this it collapses the tracker nicely, but knowing my luck I would forget to bring it back and mis something. But thank you for the code.



All three work, I like the fade in fade out...
Forum: Lua/XML Help 11-10-14, 05:29 PM
Replies: 13
Views: 539
Posted By cokedrivers
How Do I Hide the Quest Watcher Frame when im fighting a Boss?

How would one go about hiding the ObjectiveTrackerFrame you incounter a boss?

Would it be something like:

local f = CreateFrame("Frame")
f:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT")
if event...
Forum: Lua/XML Help 11-03-14, 06:08 PM
Replies: 7
Views: 468
Posted By cokedrivers
In order to not throw a error I had to change the...

In order to not throw a error I had to change the main nData:UpdatePlayerRole() to this:

function nData:UpdatePlayerRole()
local spec = GetSpecialization()
if not spec then
self.playerRole =...
Forum: Lua/XML Help 11-03-14, 02:11 PM
Replies: 7
Views: 468
Posted By cokedrivers
So my function nData:UpdatePlayerRole() is in my...

So my function nData:UpdatePlayerRole() is in my main nData.lua file. When I add local playerRole to the top of my nData.lua file it will not pass the playerRole onto the plugins, do I need to move...
Forum: Lua/XML Help 11-03-14, 10:42 AM
Replies: 7
Views: 468
Posted By cokedrivers
I have no idea on how to "debug" a add-on. I...

I have no idea on how to "debug" a add-on. I probably should not be doing any of this stuff beings I have no high school diploma nor a college education and no training in programming or LUA coding....
Forum: Lua/XML Help 11-02-14, 10:48 AM
Replies: 7
Views: 468
Posted By cokedrivers
Stat Switching Unexpectedly

Below is my current Stat that keeps switching from Melee to Caster for my hunter.

This seems to only happens when I take a portal from Shrine.

Here is the playerRole Function:

function...
Forum: Lua/XML Help 10-29-14, 07:35 PM
Replies: 22
Views: 2,760
Posted By cokedrivers
Im not sure if this will work for a LDB and...

Im not sure if this will work for a LDB and maybe you can add or adjust some of the code, But this is what I use on nData for professions:

local nData =...
Forum: Lua/XML Help 10-26-14, 01:23 PM
Replies: 5
Views: 354
Posted By cokedrivers
So old school TargetFrame:SetScale() no longer...

So old school TargetFrame:SetScale() no longer works?
Forum: Lua/XML Help 10-26-14, 09:19 AM
Replies: 5
Views: 354
Posted By cokedrivers
LUA Error when in raid

I keep getting this error when in a Raid:

4x [ADDON_ACTION_BLOCKED] AddOn 'BasicUI' tried to call the protected function 'Boss2TargetFrame:Show()'.
!BugGrabber\BugGrabber.lua:586: in function...
Forum: Lua/XML Help 10-20-14, 04:08 PM
Replies: 5
Views: 414
Posted By cokedrivers
Combined both methods to get the required...

Combined both methods to get the required result.


function nData:UpdatePlayerRole()

if UnitLevel("player") >= 10 then
local _, class = UnitClass("player")
local spec =...
Forum: Lua/XML Help 10-20-14, 03:58 PM
Replies: 5
Views: 414
Posted By cokedrivers
Nevermind, It does show the "Melee" stat now but...

Nevermind, It does show the "Melee" stat now but it shows it all the time... grr back to the drawing board
Forum: Lua/XML Help 10-20-14, 03:50 PM
Replies: 5
Views: 414
Posted By cokedrivers
Ty, yes it worked for the Pally but I had to add...

Ty, yes it worked for the Pally but I had to add a lookup for the shaman for Agi.

function nData:UpdatePlayerRole()

if UnitLevel("player") >= 10 then
local spec = GetSpecialization()
local...
Forum: Lua/XML Help 10-20-14, 01:05 PM
Replies: 5
Views: 414
Posted By cokedrivers
Player Role

Phanx was kind enough to help me with this last time.

Trying to set up a new Statistics Stat for my Datapanel.

So far this is what I have Statisctics.lua (http://pastebin.com/YAT6Jmnn)

Everything...
Forum: Lua/XML Help 06-15-14, 12:26 PM
Replies: 23
Views: 2,554
Posted By cokedrivers
Getting and Error

I get a error with the following code when ever someone refuses or I do not accept the LFG Invite. Is there a way to say "if nil then" ?

Thanks
Coke


-- Code provided by Phanx from...
Forum: Lua/XML Help 05-20-14, 07:53 AM
Replies: 14
Views: 1,800
Posted By cokedrivers
Not sure if your trying to show this on the...

Not sure if your trying to show this on the Battle Net Popup or in stat. You can look at nMinimap, nData, or TukUI, or ElvUI, all the previous add-ons have a friends stat that shows you who is logged...
Forum: Lua/XML Help 05-19-14, 02:18 PM
Replies: 23
Views: 2,554
Posted By cokedrivers
Ok so here is the code I'm currently using is...

Ok so here is the code I'm currently using is anyone is interested in adding it to one of there addons.

LFG:

-- Code provided by Phanx from WoWInterface.com

local PROPOSAL_DURATION = 60

local...
Forum: Lua/XML Help 05-15-14, 09:47 AM
Replies: 23
Views: 2,554
Posted By cokedrivers
Thank You again Phanx. Works like a charm. Coke.

Thank You again Phanx. Works like a charm.

Coke.
Forum: Lua/XML Help 05-11-14, 09:15 PM
Replies: 23
Views: 2,554
Posted By cokedrivers
From what I can find seems to be the normal staic...

From what I can find seems to be the normal staic popup timer to close the window.

Sources are:
http://wowprogramming.com/utils/xmlbrowser/test/FrameXML/LFGFrame.lua

In this function:
function...
Forum: Lua/XML Help 05-11-14, 08:28 AM
Replies: 23
Views: 2,554
Posted By cokedrivers
Well this did work either, I did figure it out...

Well this did work either, I did figure it out tho thanks to an addon close to the results I was looking for.

This addon is called SafeQueue (http://www.curse.com/addons/wow/safequeue).

Here is the...
Showing results 1 to 25 of 231