Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 98
Search took 0.01 seconds.
Search: Posts Made By: doofus
Forum: Lua/XML Help Today, 12:49 AM
Replies: 1
Views: 86
Posted By doofus
Classic WoW interface reference

Hello guys,

Is there a dedicated Classic WoW reference to be looking at, similar to for example,...
Forum: Lua/XML Help 07-10-19, 02:44 PM
Replies: 6
Views: 1,736
Posted By doofus
When I did something similar you got to listen...

When I did something similar you got to listen for GET_ITEM_INFO_RECEIVED

if ( event == "GET_ITEM_INFO_RECEIVED" ) then
-- STL_LogTextLine( "STL - GET_ITEM_INFO_RECEIVED " );
local arg1,...
Forum: Lua/XML Help 07-09-19, 02:15 AM
Replies: 24
Views: 2,097
Posted By doofus
I initially used wipe() as per suggestions,...

I initially used wipe() as per suggestions, thinking it would eliminate a memory leak and was monitoring performance by hovering the mouse over the ? (wow menu). I realised that if I had a table...
Forum: Lua/XML Help 07-09-19, 02:06 AM
Replies: 24
Views: 2,097
Posted By doofus
Nah, my code is many thousands of lines, I would...

Nah, my code is many thousands of lines, I would not even know where to start looking, let alone which sections to upload for public scrutiny.

The "error" was not obvious, you'd have to sit in range...
Forum: Lua/XML Help 07-08-19, 07:56 AM
Replies: 24
Views: 2,097
Posted By doofus
OK I have traced deeper into the problem and have...

OK I have traced deeper into the problem and have better news (for me).

To recap:

WoW was getting progressively slow, to the point of crawling to a halt. It took a couple of hours to reach that...
Forum: Lua/XML Help 07-07-19, 12:39 AM
Replies: 24
Views: 2,097
Posted By doofus
I was 99.9% sure it was bad GC, and I wrote a big...

I was 99.9% sure it was bad GC, and I wrote a big message yesterday, but then I re-wrote the whole message to make it simpler and forgot to mention the GC in the new edit.

OK so after some...
Forum: Lua/XML Help 07-06-19, 05:04 PM
Replies: 24
Views: 2,097
Posted By doofus
OK, ignore all this. a lua file...

OK, ignore all this.

a lua file has

...
...
...
local BA_Data1 = { };

...
Forum: Lua/XML Help 07-06-19, 04:03 PM
Replies: 24
Views: 2,097
Posted By doofus
My favourite addon leaks memory

So I have realised that my favourite addon (which I wrote) is misbehaving. Wow, slowly gets worse and worse, until it slows to a crawl. A /reload fixes it until a little while later it does it...
Forum: Lua/XML Help 06-26-19, 02:19 AM
Replies: 12
Views: 1,214
Posted By doofus
Just to explain, I do not know how to combine a...

Just to explain, I do not know how to combine a /script with /cast - eg

/script if (true) then /cast Moonfire; else /cast Sunfire; end;

Is that even possible ?
Forum: Lua/XML Help 06-25-19, 05:31 PM
Replies: 12
Views: 1,214
Posted By doofus
OK, this is the macro that might be needed....

OK, this is the macro that might be needed. Unfortunately we are severely limited by the macro buffer size as well as I do not know how to cast spells however I used print statements to show what the...
Forum: Lua/XML Help 06-25-19, 04:21 PM
Replies: 12
Views: 1,214
Posted By doofus
Thanks for the ingenious macro...

Thanks for the ingenious macro coding.

Unfortunately it does not work, if Prowl is on CD it should just go to cat, but it just waits for Prowl to become available once more.

I will see if I can...
Forum: Lua/XML Help 06-25-19, 10:06 AM
Replies: 12
Views: 1,214
Posted By doofus
LUA inside macro?

I was looking to swap forms depending on conditions, and I have looked at some published macros but they use terminology which I do not understand, they do not work, or a bit of both.

In pseudo code...
Forum: Lua/XML Help 06-25-19, 09:52 AM
Replies: 4
Views: 1,032
Posted By doofus
Guys thanks, I did not know about these two API...

Guys thanks, I did not know about these two API calls.

However both IsSpellKnown(213771) and IsPlayerSpell(213771) (Swipe) return false, even when I know the spell and have just casted it!

I have...
Forum: Lua/XML Help 06-21-19, 03:40 AM
Replies: 4
Views: 1,032
Posted By doofus
Druid Swipe at low levels

I am levelling some Horde toons, and noticed that Swipe appears to LUA as being always available, even though it is not until level 32:

local playerSpellSwipeUseable = IsUsableSpell("Swipe");
or
...
Forum: Lua/XML Help 06-17-19, 12:22 PM
Replies: 2
Views: 490
Posted By doofus
OK, currently I load my bindings during the...

OK, currently I load my bindings during the PLAYER_LOGIN event. I will use the save function then to make sure but will still load my bindings during every PLAYER_LOGIN just to be sure.
Forum: Lua/XML Help 06-17-19, 04:34 AM
Replies: 2
Views: 490
Posted By doofus
Binding simple keys from LUA

I have observed the following:

The key bindings are stored in "D:\Games\World of Warcraft\_retail_\WTF\Account\XYZ\bindings-cache.wtf"

If you reset all your key bindings to default, then this file...
Forum: Lua/XML Help 06-17-19, 04:08 AM
Replies: 4
Views: 667
Posted By doofus
Thank you. I have not had time to analyse the...

Thank you. I have not had time to analyse the second part yet, as I am still trying to find my way around the best way to do what I want to do.
Forum: Lua/XML Help 05-17-19, 12:10 PM
Replies: 4
Views: 667
Posted By doofus
OK thanks. The first example allows me to set up...

OK thanks. The first example allows me to set up a macro from the addon, without using the WoW client. This is good, if it means I do not have to litter the WoW client with macros.

The second...
Forum: Lua/XML Help 05-11-19, 03:24 AM
Replies: 4
Views: 667
Posted By doofus
Binding a spell @cursor

I would like to do "alt click" and it to drop D&D where the cursor is, no questions asked. I can do "SetBindings("ALT-BUTTON1", "SPELL Death and Decay") but it's missing the "@cursor". The way around...
Forum: Lua/XML Help 05-11-19, 03:08 AM
Replies: 3
Views: 374
Posted By doofus
Thanks for the replies, guys.

Thanks for the replies, guys.
Forum: Lua/XML Help 05-08-19, 05:45 PM
Replies: 3
Views: 374
Posted By doofus
Target markers placed automatically

I was doing some mythics earlier and it seems there is an addon, Weak Auras and something else, which would place a Moon over a particular target out of a pack of enemies (in this case the one with...
Forum: Lua/XML Help 04-04-19, 03:11 PM
Replies: 3
Views: 521
Posted By doofus
OK thanks!

OK thanks!
Forum: Lua/XML Help 03-29-19, 01:46 AM
Replies: 3
Views: 521
Posted By doofus
Direction and distance to enemy

I have asked this some time ago and was told there is no way but I am trying my luck once more.

Blizzard have lately implemented a "/cast [@cursor] Spell" and "/cast [@player] Spell". However they...
Forum: Lua/XML Help 01-16-19, 03:25 AM
Replies: 4
Views: 430
Posted By doofus
I think it is academic now, the reason I was...

I think it is academic now, the reason I was interested is because my DH could not move due to a spider's "Vile Webbing" I think the debuff was...

Is there a way to acquire a loss of control debuff...
Forum: Lua/XML Help 01-15-19, 12:08 PM
Replies: 4
Views: 430
Posted By doofus
How to tell if player is unable to move

I would like to know whether "player" is rooted and I could look for the appropriate debuff but there are so many of them that ave same effect. Is there an API function that could tell me?
Showing results 1 to 25 of 98