Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: hairy_palms
Forum: Lua/XML Help 04-01-11, 11:04 AM
Replies: 9
Views: 5,061
Posted By hairy_palms
thanks for the help guys, i didnt change...

thanks for the help guys, i didnt change anything, but when i logged in today and the code i got from Mischback worked.
local frame = CreateFrame('Frame', nil,...
Forum: Lua/XML Help 03-31-11, 03:15 PM
Replies: 9
Views: 5,061
Posted By hairy_palms
whether its a logout or just a /reload i get the...

whether its a logout or just a /reload i get the same result, i tried your code just changing the names

local frame = CreateFrame('Frame', nil,...
Forum: Lua/XML Help 03-31-11, 01:07 PM
Replies: 9
Views: 5,061
Posted By hairy_palms
SavedVariables Problem

im trying to save a single variable for my addon, and theres something wrong with my code, the variable doesnt exist everytime, is there something im missing

this is in my ToC file
##...
Forum: Lua/XML Help 03-21-11, 11:55 AM
Replies: 1
Views: 6,787
Posted By hairy_palms
Scrolling Editbox

Hey, ive been trying to make an editbox that has a scrollbar, however, it doesnt seem to work, i cant see what im doing wrong, hoping a clever person here can tell me where ive messed up :(

local...
Forum: oUF (Otravi Unit Frames) 11-14-10, 09:04 AM
Replies: 3
Views: 3,836
Posted By hairy_palms
ah, thanks, that was what i was after :)

ah, thanks, that was what i was after :)
Forum: oUF (Otravi Unit Frames) 11-14-10, 06:03 AM
Replies: 3
Views: 3,836
Posted By hairy_palms
numDebuffs

hi, ive been trying to set up a frame using numdebuffs to only show 2 debuffs at a time, my code is
self.Debuffs = CreateFrame("Frame", nil,...
Forum: Lua/XML Help 07-15-10, 04:24 AM
Replies: 1
Views: 3,850
Posted By hairy_palms
ScrollFrames make me sad :(

so ideally i wanted to make a scroll frame for a regular frame, i thought by reading the API it should work like this

local Parentpanel = CreateFrame("Frame", "Parentpanel",...
Forum: Lua/XML Help 07-09-10, 03:24 AM
Replies: 8
Views: 7,811
Posted By hairy_palms
hmm is there a way to get the frame that caused...

hmm is there a way to get the frame that caused the event from its ID then? the ID itself is just a number that increments on its own which is no good, it doesnt reset when rolls are completed
Forum: Lua/XML Help 07-08-10, 05:46 PM
Replies: 8
Views: 7,811
Posted By hairy_palms
thanks for all the help so far guys! ive been...

thanks for all the help so far guys!
ive been working at this and ive come up with this debugging function

local function printname(self, id)
local texture, name, count, quality =...
Forum: Lua/XML Help 07-08-10, 01:31 PM
Replies: 11
Views: 7,907
Posted By hairy_palms
way to stop it running every single time u update...

way to stop it running every single time u update the bags is something like

if event == "BAG_UPDATE" then
yourframename:UnRegisterEvent("BAG_UPDATE")
end

at the end of the loop
Forum: Lua/XML Help 07-08-10, 10:12 AM
Replies: 8
Views: 7,811
Posted By hairy_palms
if i did need the if event, since im using more...

if i did need the if event, since im using more than 1 event in the finished code, they just arent implemented yet, so if i understand rightly

function printname(self, event, id)
if event ==...
Forum: Lua/XML Help 07-08-10, 09:56 AM
Replies: 8
Views: 7,811
Posted By hairy_palms
loot roll event parsing

im trying to write some lua that just prints the items name when a loot roll starts, yet all it seems to print is nil, am i getting the rollid the wrong way?


function printname(self, event,...
Forum: Lua/XML Help 07-08-10, 09:37 AM
Replies: 11
Views: 7,907
Posted By hairy_palms
just one question. are you firing it from a...

just one question. are you firing it from a PLAYER_ENTERING_WORLD or PLAYER_LOGIN event?
Forum: Lua/XML Help 07-05-10, 06:28 AM
Replies: 9
Views: 5,919
Posted By hairy_palms
that works great thx torhal, didnt realise you...

that works great thx torhal, didnt realise you couldnt use a string.

@vrul, yeah that does work much better, i just dont understand how it works :o i tried hiding things once at first by just...
Forum: Lua/XML Help 07-04-10, 04:36 PM
Replies: 9
Views: 5,919
Posted By hairy_palms
last problem i promise, im trying to anchor...

last problem i promise, im trying to anchor frames to open bags as i create them.
if i set it explicitly to ContainerFrame1 then it works,
but then all the frames are anchored to the same bag i want...
Forum: Lua/XML Help 07-04-10, 10:52 AM
Replies: 9
Views: 5,919
Posted By hairy_palms
ah i was making it harder than needed, didnt...

ah i was making it harder than needed, didnt realise BAG_OPEN was deprecated, all i needed was

local function hideBG()
ContainerFrame1MoneyFrame:Hide()
for i = 1, NUM_CONTAINER_FRAMES...
Forum: Lua/XML Help 07-04-10, 10:13 AM
Replies: 9
Views: 5,919
Posted By hairy_palms
hopefully my next mistake is just as obvious...

hopefully my next mistake is just as obvious :)

im trying to hide the backgrounds of the default backpacks, running the commands individually ingame as /script works fine, i thought i might be...
Forum: Lua/XML Help 07-03-10, 09:05 AM
Replies: 9
Views: 5,919
Posted By hairy_palms
ah thanks a bunch :) knew i'd done something silly

ah thanks a bunch :) knew i'd done something silly
Forum: Lua/XML Help 07-03-10, 08:05 AM
Replies: 9
Views: 5,919
Posted By hairy_palms
Bag Lua Problem

ive written an addon to try and open/close my bags when i go to the AH or mail or vendor, so far it works 50%, the bags open perfectly, but they dont close when i leave the vendor/AH, can anyone see...
Forum: Lua/XML Help 03-06-10, 04:17 PM
Replies: 5
Views: 3,636
Posted By hairy_palms
thats what happens with my current code, full...

thats what happens with my current code, full size in combat scaled out of combat :(


gave the same result, scaling out of combat and not scaling in combat :(
Forum: Lua/XML Help 03-06-10, 03:11 PM
Replies: 5
Views: 3,636
Posted By hairy_palms
just that on its own doesnt work at all, without...

just that on its own doesnt work at all, without hooking into the worldmaps onshow event.
if i change it to

WorldMapFrame:HookScript("OnShow", function() WorldMapFrame:SetScale(0.7) end)

its the...
Forum: Lua/XML Help 03-06-10, 01:31 PM
Replies: 5
Views: 3,636
Posted By hairy_palms
Map Error

Ive been using 1 Line of Lua to scale my worldmap, and it works fine, but it errors out if i try and open the map while in combat, not sure why combat would change the world map frame :( code is...
Forum: oUF (Otravi Unit Frames) 02-08-10, 10:54 AM
Replies: 5
Views: 4,771
Posted By hairy_palms
omniCC doesnt do what i want, and cooldowns only...

omniCC doesnt do what i want, and cooldowns only commented out untill i can get the text to show up, besides, im trying to make a simple target debuff tracker partly as a learning exercise and just...
Forum: oUF (Otravi Unit Frames) 02-08-10, 06:53 AM
Replies: 5
Views: 4,771
Posted By hairy_palms
hmm u might be right, should i call self.timeleft...

hmm u might be right, should i call self.timeleft from UnitAura("Target", index, "HARMFUL")?


the function function(self,elapsed) could probably be function(self) i think but all the other ouf...
Forum: oUF (Otravi Unit Frames) 02-08-10, 05:55 AM
Replies: 5
Views: 4,771
Posted By hairy_palms
Newb Issue

ive been trying to write my first ever addon with ouf, but ive hit some issues pretty early, its only supposed to show debuffs at the moment, which it does, but i want a text timer on it which doesnt...
Showing results 1 to 25 of 25