Showing results 1 to 25 of 257
Search took 0.02 seconds.
Search: Posts Made By: cokedrivers
Forum: Lua/XML Help 01-01-15, 11:57 AM
Replies: 23
Views: 2,422
Posted By cokedrivers
Just found out you need to add: currency =...

Just found out you need to add:

currency = true,

to the linktypes table if you would like to see your Apex Crystals and your Fragments Tooltips.

Coke
Forum: Lua/XML Help 01-01-15, 11:12 AM
Replies: 23
Views: 2,422
Posted By cokedrivers
I do have Bugger and Bugsack installed an have...

I do have Bugger and Bugsack installed an have them on at all times. I just didn't post the errors because like you posted in [4] it was throwing errors for SetOwner and Hide.

And believe it or not...
Forum: Lua/XML Help 01-01-15, 11:06 AM
Replies: 23
Views: 2,422
Posted By cokedrivers
is there a SetPoint I can use to have the tooltip...

is there a SetPoint I can use to have the tooltip for the hyperlink show above my chatframe instead of above my mainmenubar?

I guess what im asking is were would I put this code:


local i
for i =...
Forum: Lua/XML Help 01-01-15, 10:31 AM
Replies: 23
Views: 2,422
Posted By cokedrivers
so I figured it out (kinda on my own :P) in...

so I figured it out (kinda on my own :P)

in Phanx's original code the linkType the T was no capitalized in the function code so it was not finding the table.

local linktypes = {
-- These use...
Forum: Lua/XML Help 01-01-15, 09:56 AM
Replies: 23
Views: 2,422
Posted By cokedrivers
The above code works when I add it to my "local...

The above code works when I add it to my "local function ModChat(self)" but the whole point of the "mouseover tooltip is to have it show and hide with mouseover, this shows the tooltip but then you...
Forum: Lua/XML Help 12-31-14, 08:56 PM
Replies: 19
Views: 2,363
Posted By cokedrivers
Thank You Phanx I removed the "if button ......

Thank You Phanx I removed the "if button ... end"

Finally almost complete with my personal UI

Still to do:
A) Find/work out a slim downed (with only the option I want) chat mod like PhanXChat or...
Forum: Lua/XML Help 12-31-14, 08:36 PM
Replies: 23
Views: 2,422
Posted By cokedrivers
Hyperlink Tooltip Help

This code has been around for a while and (first found it with NeavUI) but it seems to wrk for most item links except battle pets is there something im missing? Does a battle pet link have it own...
Forum: Lua/XML Help 12-30-14, 07:30 PM
Replies: 19
Views: 2,363
Posted By cokedrivers
Thank you everyone for the advice and help. So...

Thank you everyone for the advice and help.

So here is what I have came up withy for the cBuffs.lua


BuffFrame:SetScale(1.193)

local origSecondsToTimeAbbrev = _G.SecondsToTimeAbbrev
local function...
Forum: Lua/XML Help 12-28-14, 12:23 PM
Replies: 19
Views: 2,363
Posted By cokedrivers
Which is Better?

Which code is written in a more correct way or are they both the same?

Style A:

local cBuffs = CreateFrame("Frame")
cBuffs:RegisterEvent("ADDON_LOADED")
cBuffs:SetScript("OnEvent", function(self,...
Forum: Lua/XML Help 12-15-14, 03:55 PM
Replies: 13
Views: 1,892
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: 1,892
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: 1,892
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: 1,892
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: 1,892
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: 870
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: 2,058
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: 2,058
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: 2,058
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: 2,058
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: 2,058
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: 1,669
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: 2,058
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: 2,058
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: 2,058
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: 2,058
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,...
Showing results 1 to 25 of 257