Showing results 1 to 25 of 248
Search took 0.02 seconds.
Search: Posts Made By: cokedrivers
Forum: Lua/XML Help 12-15-14, 03:55 PM
Replies: 13
Views: 438
Posted By cokedrivers
@Phanx the noobie I was talking about is me...

@Phanx the noobie I was talking about is me :P

@Resike thanks for all your help.

This is what I'm going to stick with I'm not going to make it public so no need to add options because I wont change...
Forum: Lua/XML Help 12-15-14, 02:25 PM
Replies: 13
Views: 438
Posted By cokedrivers
Question: Savedvariables are pretty much for...

Question: Savedvariables are pretty much for different profiles correct. So if I just want it simple I could do something like:


local enableUnitframes = true

-- then I could do
if enableUnitframes...
Forum: Lua/XML Help 12-15-14, 02:04 PM
Replies: 13
Views: 438
Posted By cokedrivers
@Phanx - I was using your code from your addon...

@Phanx - I was using your code from your addon BetterBattlePetTooltip-6.0.2.66 as a guide for the checkbox.

As for the OnDisable() I remember from when I tried to use ace this function was used and...
Forum: Lua/XML Help 12-15-14, 12:54 PM
Replies: 13
Views: 438
Posted By cokedrivers
@Resike thank you for the code, I put it to...

@Resike thank you for the code, I put it to use.

I cant seem to get my function for the options to work.

I can see my frame, I can see the checkbox created with it checked but when I uncheck it...
Forum: Lua/XML Help 12-14-14, 10:23 AM
Replies: 13
Views: 438
Posted By cokedrivers
Work In Progress

Below is my code for my Unitframes addon.


--[[
I would like to thank all the programmers at WoWInterface for the help
they have given me over the years without them this addon would not...
Forum: Lua/XML Help 12-08-14, 07:13 PM
Replies: 1
Views: 220
Posted By cokedrivers
LibJostle-3.0 not working correctly in WoD

I have been using LibAdjust(known as LibJostle) to move the mainmenubar above my panel it is working and yet not working.

It hides my panel but does not drop the mainbar down on any of the WoD...
Forum: Lua/XML Help 12-04-14, 11:53 PM
Replies: 18
Views: 650
Posted By cokedrivers
Thank You

Phanx I just want to say Thank You for the help you have given me with coding, below is a screenshot of all the work (even tho to most it will look like the normal wow UI)

Coke
Forum: Lua/XML Help 12-03-14, 11:51 PM
Replies: 18
Views: 650
Posted By cokedrivers
I FINALLY took the time and read what you posted...

I FINALLY took the time and read what you posted instead of glancing over it.

Thank You
Coke
Forum: Lua/XML Help 12-01-14, 09:00 PM
Replies: 18
Views: 650
Posted By cokedrivers
so would something like this work? local...

so would something like this work?

local partyPosition = CreateFrame("Frame")
partyPosition:RegisterEvent("PARTY_MEMBERS_CHANGED")
partyPosition:SetScript("OnEvent", function(self, event)
if (event...
Forum: Lua/XML Help 12-01-14, 03:38 PM
Replies: 18
Views: 650
Posted By cokedrivers
Thank You again like always for the help. I went...

Thank You again like always for the help.

I went with a simple approach when creating this new UI. If I would have kept on with BasicUI I would be totally lost. im using the (local _, ns = ...) for...
Forum: Lua/XML Help 12-01-14, 01:04 PM
Replies: 18
Views: 650
Posted By cokedrivers
I tried this before and it threw up errors. I...

I tried this before and it threw up errors. I will try once more.


This seems to be the size NeavUi was and it seems to work for me :)

would I be able to put all this:

-- Player...
Forum: Lua/XML Help 12-01-14, 09:48 AM
Replies: 9
Views: 406
Posted By cokedrivers
Phanx linked me to here...

Phanx linked me to here (http://www.townlong-yak.com/framexml/19116) maybe this will help you.

Coke
Forum: Lua/XML Help 12-01-14, 09:07 AM
Replies: 18
Views: 650
Posted By cokedrivers
Worked like a...

Worked like a charm...

Player:

hooksecurefunc("PlayerFrame_UpdateLevelTextAnchor", function(level)
if ( level >= 100 ) then
PlayerLevelText:SetPoint("CENTER", PlayerFrameTexture, "CENTER",...
Forum: Lua/XML Help 11-30-14, 02:26 PM
Replies: 18
Views: 650
Posted By cokedrivers
I think it need to be done in some kinda function...

I think it need to be done in some kinda function because nothing seems to be moving it, maybe its because of me scaling it up not sure, but thanks for the attempt.

Coke
Forum: Lua/XML Help 11-30-14, 01:16 PM
Replies: 18
Views: 650
Posted By cokedrivers
I get this error: 5x CokeUI\Unitframes.lua:115:...

I get this error:

5x CokeUI\Unitframes.lua:115: attempt to index global 'TargetFrameLevelText' (a nil value)
CokeUI\Unitframes.lua:115: in main chunk


also here is my Unitframes.lua...
Forum: Lua/XML Help 11-30-14, 01:08 PM
Replies: 18
Views: 650
Posted By cokedrivers
so would this one: <FontString...

so would this one:

<FontString name="$parentLevelText" inherits="GameFontNormalSmall">


end up being:

TargetFrameLevelText:ClearAllPoints()
TargetFrameLevelText:SetPoint('CENTER', TargetFrame,...
Forum: Lua/XML Help 11-30-14, 12:15 PM
Replies: 18
Views: 650
Posted By cokedrivers
Centering Level Text

Attached is a Target frame default (with a couple of modifacations) I was wondering how I would center the Level Text to look better?

I searcher playerframeleveltext and found this in the...
Forum: Lua/XML Help 11-25-14, 08:54 PM
Replies: 6
Views: 4,872
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,872
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: 460
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: 460
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: 730
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: 730
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: 730
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: 730
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...
Showing results 1 to 25 of 248