Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 290
Search took 0.02 seconds.
Search: Posts Made By: gmarco
Forum: Lua/XML Help 04-06-20, 12:52 PM
Replies: 6
Views: 1,166
Posted By gmarco
Ciao Fizzlemizz. I am doing this in the first...

Ciao Fizzlemizz.

I am doing this in the first part of the addon ...


local ADDON, namespace = ...
local L = namespace.L

GMEXP_NAMES = GMEXP_NAMES or {}
GMEXP_CFG = GMEXP_CFG or {}
Forum: Lua/XML Help 04-06-20, 11:55 AM
Replies: 6
Views: 1,166
Posted By gmarco
Uhm I have to rewritten it in this way: if...

Uhm I have to rewritten it in this way:


if event == "PLAYER_LOGIN" then
local GMEXP_DEFAULTS = { LONGNRFMT = false, SCALE = 1, LIST = true, MAXLIST = 12 }
for k in pairs(GMEXP_DEFAULTS) do
if...
Forum: Lua/XML Help 04-06-20, 11:22 AM
Replies: 6
Views: 1,166
Posted By gmarco
I think in this way it could be fine to write and...

I think in this way it could be fine to write and it seems to works to :)


if event == "PLAYER_LOGIN" then
local GMEXP_DEFAULTS = { LONGNRFMT = false, SCALE = 1, LIST = true, MAXLIST = 12 }
for...
Forum: Lua/XML Help 04-06-20, 11:12 AM
Replies: 6
Views: 1,166
Posted By gmarco
Hi Fizzlemizz, now I understand why I usually...

Hi Fizzlemizz,


now I understand why I usually never found upvalued with same name.
And in my case that I string.format a couple of vars I think I dont need at all :)



Thanks for input on...
Forum: Lua/XML Help 04-06-20, 06:33 AM
Replies: 6
Views: 1,166
Posted By gmarco
upvalue functions and default key values of an array

Hi,

I'd like to ask a couple of questions.

1) Is fine to upvalue a function using it's same name ?

Something like:

local string.format = string.format
Forum: Lua/XML Help 03-30-20, 08:07 AM
Replies: 8
Views: 1,135
Posted By gmarco
I see what you mean ... the problem is for my way...

I see what you mean ... the problem is for my way of writing that usually I create the frames in the last part of the code of the addon and if I put the create of LDB object there I was unable to...
Forum: Lua/XML Help 03-29-20, 01:43 PM
Replies: 6
Views: 765
Posted By gmarco
Hi myrroddin, I always start my addons in this...

Hi myrroddin,

I always start my addons in this way:


local ADDON, namespace = ...
local L = namespace.L

-- bla bla
Forum: Lua/XML Help 03-29-20, 01:38 PM
Replies: 8
Views: 1,135
Posted By gmarco
Thanks sp much Seerah. I have tried to write in...

Thanks sp much Seerah.

I have tried to write in both way and they obviusly works but before rewrite all addons in the same way and try to write everytime in the same ways I wanted to be sure :)

And...
Forum: Lua/XML Help 03-29-20, 11:54 AM
Replies: 8
Views: 1,135
Posted By gmarco
Hi myrroddin, So it is better to write functions...

Hi myrroddin,

So it is better to write functions in this way ?


dataobject.OnClick = function(object, button)
-- open configuration
end
Forum: Lua/XML Help 03-29-20, 11:44 AM
Replies: 6
Views: 765
Posted By gmarco
Hi myrroddin, thanks so much for your reply. At...

Hi myrroddin,

thanks so much for your reply.

At the moment I am using only a minimal set of libraries.


libs\LibStub.lua
libs\CallbackHandler-1.0.lua
libs\LibDataBroker-1.1.lua
Forum: Lua/XML Help 03-29-20, 07:48 AM
Replies: 8
Views: 1,135
Posted By gmarco
how is better to write ...

Hi all,

having a lot of times in this period I am here polishing and refreshing my addons code ...

A couple of questions:

1) having code like this:


local ldb =...
Forum: Lua/XML Help 03-29-20, 03:46 AM
Replies: 6
Views: 765
Posted By gmarco
LibDBIcon ... how to hide ?

Hi everyone.

I have done a lot of addon using LDB (and recently I am trying to convert them to libqtip).
Some friends of mine dont use a databroker display so I thought to use the minimap to attach...
Forum: Lua/XML Help 03-20-20, 08:38 PM
Replies: 15
Views: 1,282
Posted By gmarco
Hi, I did it infact in the version I...

Hi,

I did it infact in the version I published:


-- GUILD
row,col = tooltip:AddLine(_G["NAME"],_G["LEVEL"],_G["ZONE"],_G["RANK"])

-- BNET
row,col =...
Forum: Lua/XML Help 03-20-20, 03:45 AM
Replies: 15
Views: 1,282
Posted By gmarco
Hi all, everything is working ... thanks so much...

Hi all,

everything is working ... thanks so much to everyone.

After all your help and suggestions I made a little addon to manage guild and friends.
Not so much features, but for my needs it is...
Forum: Lua/XML Help 03-19-20, 07:58 PM
Replies: 15
Views: 1,282
Posted By gmarco
Thanks so much Vrul. Now it seems everything is...

Thanks so much Vrul.

Now it seems everything is fine.
Tomorrow morning I double check everything and let you know :)

Now it's time to go in bed it's 3 AM here (eheheh :)

Thanks again !!!!
Forum: Lua/XML Help 03-19-20, 06:35 PM
Replies: 15
Views: 1,282
Posted By gmarco
I think you got it !!! I was testing all the...

I think you got it !!!

I was testing all the other databroker and all had the same behaviour.
Now I removed that part of code and almost everything works :))))

The last problem is the tooltip...
Forum: Lua/XML Help 03-19-20, 06:02 PM
Replies: 15
Views: 1,282
Posted By gmarco
Hi Vrul, you are right it works ... with your...

Hi Vrul,

you are right it works ... with your dockingstation :)

I was testing with chocolatebar and it doesnt works there.
I have also disable all addons and loaded only your code and...
Forum: Lua/XML Help 03-19-20, 05:21 PM
Replies: 15
Views: 1,282
Posted By gmarco
Hi Vrul, thanks so much for your help, but with...

Hi Vrul,

thanks so much for your help, but with your code I am unable to enter in the tooltip.

when I leave the databroker area to enter in the tooltip it disappears.

Have I miss something...
Forum: Lua/XML Help 03-19-20, 03:41 PM
Replies: 15
Views: 1,282
Posted By gmarco
Hi, local ADDON = ... local function...

Hi,

local ADDON = ...

local function Button_OnClick(rowline, name, button)
print("Never arrives here")
end

local LibQTip = LibStub('LibQTip-1.0')
local ldb =...
Forum: Lua/XML Help 03-19-20, 02:11 PM
Replies: 15
Views: 1,282
Posted By gmarco
Hi Fizzlemizz, If I enter the databroker the...

Hi Fizzlemizz,

If I enter the databroker the tooltip correctly appears.
I can then move out the tooltip and it correctly disappears or I can move inside it and it correctly stay.

But if I move on...
Forum: Lua/XML Help 03-19-20, 01:20 PM
Replies: 15
Views: 1,282
Posted By gmarco
LibQTip tooltip hides when there is a script on line or cell

Hi all.

Being confined in home in Italy in this period (and I stayed in home also from november to january with a broken leg) :( I decided to rewrite some of my addons in a (better) way.

I try to...
Forum: Lua/XML Help 03-19-20, 12:58 PM
Replies: 10
Views: 875
Posted By gmarco
Yes ! Now it works like a charm :) Thanks so...

Yes !

Now it works like a charm :)

Thanks so much :)
Forum: Lua/XML Help 03-19-20, 12:09 PM
Replies: 10
Views: 875
Posted By gmarco
Omg :) I saw the finger but not the moon :) It...

Omg :)

I saw the finger but not the moon :)
It does work now as expected :)

The Seerah's solution had to work, I have found on internet a lot of evidences of it after she proposed but it doesn't...
Forum: Lua/XML Help 03-19-20, 09:00 AM
Replies: 10
Views: 875
Posted By gmarco
Thanks so much for your reply Fizzlemizz. The...

Thanks so much for your reply Fizzlemizz.

The tab name was the wrong one :) but finally you give me the advice to find how to find the right name.

Google gives me 2 results, one was...
Forum: Lua/XML Help 03-18-20, 10:24 PM
Replies: 10
Views: 875
Posted By gmarco
Hi, thanks so much for help, but both solutions...

Hi,

thanks so much for help, but both solutions dont work :/ .

May I miss something ?

Thanks .
Showing results 1 to 25 of 290