Showing results 1 to 25 of 62
Search took 0.00 seconds.
Search: Posts Made By: pas06
Forum: Lua/XML Help 07-17-21, 01:12 PM
Replies: 1
Views: 1,067
Posted By pas06
thats pretty straight forward. local frame =...

thats pretty straight forward.


local frame = CreateFrame("frame")
frame:RegisterEvent("PLAYER_LOGIN")
local function doStuff()
-- do whatever you want
end
frame:SetScript("OnEvent", function()...
Forum: Lua/XML Help 08-16-19, 03:47 PM
Replies: 5
Views: 2,058
Posted By pas06
Some notes without looking into all the details;...

Some notes without looking into all the details; also i dont have a active wow subscription right now so it could be that i am not 100% right with what i am saying. i could read up some Blizzard Code...
Forum: Lua/XML Help 08-16-19, 12:30 PM
Replies: 9
Views: 2,052
Posted By pas06
Exactly, this is why i said he should post in...

Exactly, this is why i said he should post in forum and just write me a PM so i notice it and will answer in public so everyone can benefit :)
Forum: Lua/XML Help 08-15-19, 02:47 PM
Replies: 9
Views: 2,052
Posted By pas06
sure, i am always down to help. just create a new...

sure, i am always down to help.
just create a new topic in the forums. Since i dont check the forums every day feel free to write me a pm this way i cant miss it.
Forum: Lua/XML Help 08-15-19, 02:21 PM
Replies: 9
Views: 2,052
Posted By pas06
just delete the colon in this line then it should...

just delete the colon in this line then it should be fine. Sorry :)
Forum: Lua/XML Help 08-15-19, 01:43 PM
Replies: 9
Views: 2,052
Posted By pas06
I did a rewrite of your code, i could tell its...

I did a rewrite of your code, i could tell its really messy :D

Check it out and tell me if it works as desired, i kept your way of canceling the...
Forum: Lua/XML Help 08-15-19, 12:47 PM
Replies: 9
Views: 2,052
Posted By pas06
You could fix this by using a boolean variable...

You could fix this by using a boolean variable for show/hide. set the value to true OnEnter and to false OnLeave. In your function in which you set the alpha value you check this variable and only...
Forum: Lua/XML Help 07-30-19, 01:48 PM
Replies: 2
Views: 1,977
Posted By pas06
i feel like this should definitely work....

i feel like this should definitely work.



self.frame:SetScript("OnEvent", function()
print("original function");
end);

self:HookScript(self.frame, "OnEvent", function()
print("hooked...
Forum: Lua/XML Help 10-14-17, 09:03 AM
Replies: 13
Views: 2,046
Posted By pas06
please Show your whole Code. Looks like you never...

please Show your whole Code. Looks like you never call the New function
Forum: AddOn Help/Support 09-09-17, 02:20 PM
Replies: 6
Views: 1,995
Posted By pas06
I haven't thought about that its that complicated...

I haven't thought about that its that complicated to get the actual position of a frame. I thougth that there is some sort of database of each frame and its position (so that the points don't need to...
Forum: AddOn Help/Support 09-09-17, 01:49 PM
Replies: 6
Views: 1,995
Posted By pas06
Thanks, this really helped a lot, it now works...

Thanks, this really helped a lot, it now works without any lag. So i will change my code to only anchor one Point and set the width for each individual button. And i thought this way of positioning...
Forum: AddOn Help/Support 09-09-17, 12:20 PM
Replies: 6
Views: 1,995
Posted By pas06
yeah, i know, but this is not whats causing this...

yeah, i know, but this is not whats causing this huge durations
Edit: Just a side note, i commented all SetScripts out to make shure that this problem is not caused by any attached scripts.
Forum: AddOn Help/Support 09-09-17, 11:38 AM
Replies: 6
Views: 1,995
Posted By pas06
Chain Positioning of buttons

Hi,

I did some tests today with my Addon https://mods.curse.com/addons/wow/274066-battlegroundenemies
I wanted to test how it would look like with 30 or 40 players in a row. I noticed that it gets...
Forum: Lua/XML Help 08-07-17, 11:34 AM
Replies: 16
Views: 3,525
Posted By pas06
i am not sure if there is an event but...

i am not sure if there is an event but /eventtrace https://wow.gamepedia.com/Eventtrace tells you whenever a event fires
i just tested it and PLAYER_TALENT_UPDATE, PLAYER_PVP_TALENT_UPDATE and...
Forum: Lua/XML Help 08-07-17, 07:01 AM
Replies: 40
Views: 8,421
Posted By pas06
what is this outer for loop good for?

what is this outer for loop good for?
Forum: Lua/XML Help 08-05-17, 04:00 PM
Replies: 13
Views: 6,594
Posted By pas06
Just use the following. local name, realm =...

Just use the following.
local name, realm = UnitName(unitID)
if realm then name = name.."-"..realm end
Forum: Lua/XML Help 08-05-17, 02:47 PM
Replies: 13
Views: 6,594
Posted By pas06
Thats probably because UnitName() has two return...

Thats probably because UnitName() has two return values https://wow.gamepedia.com/API_UnitName
Forum: Lua/XML Help 08-05-17, 09:43 AM
Replies: 13
Views: 6,594
Posted By pas06
Sorry, but i don't understand what you wanted to...

Sorry, but i don't understand what you wanted to do with COMBAT_LOG_EVENT_UNFILTERED.
I also don't understand what you are tying todo with your table moblist. If you want the desired mobnames in a...
Forum: Lua/XML Help 08-05-17, 09:02 AM
Replies: 13
Views: 6,594
Posted By pas06
use event NAME_PLATE_UNIT_ADDED, argument is a...

use event NAME_PLATE_UNIT_ADDED, argument is a unitID, check the mobs's name with UnitName(unitID) then you can get the nameplate with C_NamePlate.GetNamePlateForUnit(unitID). i guess you will also...
Forum: Lua/XML Help 07-25-17, 02:13 PM
Replies: 8
Views: 4,716
Posted By pas06
As i said i am not familiar with that function...

As i said i am not familiar with that function but what about doing this:
local function HSelector(self)
local toSort = {}

for k in pairs(BangCharHateds) do
toSort[#toSort + 1] =...
Forum: Lua/XML Help 07-25-17, 12:58 PM
Replies: 8
Views: 4,716
Posted By pas06
i never used the function...

i never used the function UIDropDownMenu_Initialize (which is an global function of WoW's Api), but you are basically overwriting this global function (not really overwriting globally but for this...
Forum: Lua/XML Help 06-21-17, 01:55 AM
Replies: 3
Views: 1,786
Posted By pas06
My bad didn't check that. Then this should do...

My bad didn't check that. Then this should do it:

local Blinding_Peck = GetSpellInfo(195561)
local Group_UnitIDs = {
player = true,
party1 = true,
party2 = true,
party3 = true,
party4 = true
}
Forum: Lua/XML Help 06-20-17, 01:10 PM
Replies: 3
Views: 1,786
Posted By pas06
First thing i notice: UnitDebuff is not an event....

First thing i notice: UnitDebuff is not an event. Events are written in all capital letters. The event you are looking for is UNIT_AURA.

this should do it: local Blinding_Peck =...
Forum: Lua/XML Help 06-14-17, 02:45 PM
Replies: 2
Views: 2,121
Posted By pas06
GetSpellTexture() in 7.2.5

Hi, i noticed that Blizzard added a new return value to the function GetSpellTexture. In Blizzard_ArenaUI.lua it says: local spellTexture, spellTextureNoOverride = GetSpellTexture(spellID)
Does...
Forum: RealUI 06-14-17, 10:28 AM
Replies: 1
Views: 1,275
Posted By pas06
i guess thats the addon Overachiever which needs...

i guess thats the addon Overachiever which needs an update
Showing results 1 to 25 of 62