Showing results 1 to 25 of 36
Search took 0.00 seconds.
Search: Posts Made By: Exawatt
Forum: Lua/XML Help 06-04-09, 12:07 PM
Replies: 10
Views: 8,172
Posted By Exawatt
That only has one argument (which only says...

That only has one argument (which only says "MOUNT") and it fires when the mount appears (end of casting), as well as when the mount is unsummoned (but does not differentiate between the two)....
Forum: Lua/XML Help 05-29-09, 07:54 PM
Replies: 7
Views: 3,483
Posted By Exawatt
I'm going to echo the other posters: Programming...

I'm going to echo the other posters: Programming in Lua (http://www.lua.org/pil/) (and the demo page (http://www.lua.org/cgi-bin/demo)) was the best introductory guide for me, but I had some...
Forum: General Authoring Discussion 05-28-09, 05:57 PM
Replies: 2
Views: 3,267
Posted By Exawatt
Mac client functions on wowprogramming.com...

Mac client functions on wowprogramming.com (http://wowprogramming.com/docs/api_categories#mac)

/me walks away, mumbling about not having those functions in Windows and having to use FRAPS...
Forum: General Authoring Discussion 05-28-09, 11:47 AM
Replies: 28
Views: 10,812
Posted By Exawatt
I believe XML is processed before Swatter is...

I believe XML is processed before Swatter is loaded. It shows run-time Lua errors only. If you want to check for XML errors, the client dumps them into a log file located at "..\World of...
Forum: Lua/XML Help 05-27-09, 02:57 PM
Replies: 5
Views: 9,801
Posted By Exawatt
What's the rest of the code? Are you sure you're...

What's the rest of the code? Are you sure you're not trying to access it out-of-scope (the code has it as a local)?
Forum: Lua/XML Help 05-23-09, 01:24 PM
Replies: 10
Views: 8,172
Posted By Exawatt
Well the version I'm using now uses method tsadok...

Well the version I'm using now uses method tsadok proposed. The person mounting up changes their mount action into a macro which includes sending an addon message, then the AddOn frame listens for...
Forum: Graphics Help 05-23-09, 09:11 AM
Replies: 4
Views: 9,555
Posted By Exawatt
BLP and TGA files (only two accepted) need to...

BLP and TGA files (only two accepted) need to have dimensions of power-of-two numbers (up to 2^10). By that I mean only 16, 32, 64, 128, 256, 512, and 1024 are valid as either width or height. They...
Forum: Lua/XML Help 05-17-09, 10:47 PM
Replies: 10
Views: 8,172
Posted By Exawatt
I wasn't getting it to fire at all. The code in...

I wasn't getting it to fire at all. The code in the first post has another check made on "arg1" in the same if conditional, but it was separate in tests. The main problem was the event wasn't showing...
Forum: General Authoring Discussion 05-17-09, 10:43 PM
Replies: 3
Views: 3,564
Posted By Exawatt
Continuing from kraftman; you could use four...

Continuing from kraftman; you could use four individual frames to achieve multiple colors, then control whether they're hidden or not with the checks (instead of changing colors on a single...
Forum: Lua/XML Help 05-17-09, 01:26 PM
Replies: 10
Views: 8,172
Posted By Exawatt
It was originally going to say "Ryan is mounting"...

It was originally going to say "Ryan is mounting" (then give options to mount), but now I'm going to have it toss in a randomly-occuring message to "Mount Ryan!", just for that gem. :D



I had it as...
Forum: Lua/XML Help 05-17-09, 07:41 AM
Replies: 10
Views: 8,172
Posted By Exawatt
Mounting event

My girlfriend and I quest together all the time, and she's quite fond of /follow. This addon I'm making for her is supposed to display a "Mount Me" button when I begin to mount up while she's...
Forum: Lua/XML Help 05-12-09, 01:20 AM
Replies: 5
Views: 4,044
Posted By Exawatt
This has been discussed before. Short of a /who...

This has been discussed before. Short of a /who request, the only other way is trying to directly access that character is via tell, SendAddonMessage() (http://www.wowwiki.com/API_SendAddonMessage)...
Forum: General Authoring Discussion 05-11-09, 12:10 AM
Replies: 18
Views: 6,626
Posted By Exawatt
I meant inefficient. Every time I think my code...

I meant inefficient. Every time I think my code is good, I'll read something else on the forum where someone pulls this crazy-fast little-known function out of their hat... So now I just always...
Forum: General Authoring Discussion 05-10-09, 10:06 PM
Replies: 18
Views: 6,626
Posted By Exawatt
GetGameTime() returns in 24-hour format....

GetGameTime() returns in 24-hour format. So...

hour, minute = GetGameTime()
if hour >= 12 then
--PM
else
--AM
end
Forum: General Authoring Discussion 05-10-09, 07:08 PM
Replies: 18
Views: 6,626
Posted By Exawatt
Here's an inefficient way to do it: --get hour...

Here's an inefficient way to do it:

--get hour (01-12)
local hour = date("%I")

--check if first char is a leading zero
if( string.sub(hour, 1, 1) == "0" ) then
--grab everything but leading...
Forum: General Authoring Discussion 05-05-09, 10:47 AM
Replies: 6
Views: 3,870
Posted By Exawatt
These are redundant.

These are redundant.
Forum: Lua/XML Help 05-04-09, 11:24 PM
Replies: 2
Views: 3,941
Posted By Exawatt
I didn't realize the "Okay" button functioned...

I didn't realize the "Okay" button functioned that way. This actually helps me solve the same problem I've been having with my addons. Thanks. :)
Forum: General Authoring Discussion 05-04-09, 11:17 PM
Replies: 6
Views: 3,870
Posted By Exawatt
The code worked fine for me. The problem must be,...

The code worked fine for me. The problem must be, as Torhal mentions, in the TOC or in naming.

Or possibly in something you removed when you posted the code, as I'm assuming you're not actually...
Forum: Lua/XML Help 05-02-09, 07:52 PM
Replies: 6
Views: 5,539
Posted By Exawatt
Depending on how they're going to be accessed,...

Depending on how they're going to be accessed, you could try using one table, like so
colors = {
[1] = 255, --1r
[2] = 0, --1g
[3] = 0, --1b
[4] = 255, --2r
[5] = 255, --2g
[6] = 0, --2b
}
Then...
Forum: Lua/XML Help 04-28-09, 03:48 PM
Replies: 1
Views: 2,492
Posted By Exawatt
You need to watch for the PLAYER_DEAD event. See...

You need to watch for the PLAYER_DEAD event. See HOWTO: Handling Events (http://www.wowwiki.com/Handling_events) on WoWWiki.
Forum: General Authoring Discussion 04-23-09, 11:13 PM
Replies: 10
Views: 5,219
Posted By Exawatt
Couldn't you use GetNetStats()...

Couldn't you use GetNetStats() (http://wowprogramming.com/docs/api/GetNetStats) to estimate how long it'll take maximum for the server to let you know the player isn't online?

_, _, latency =...
Forum: Site help, bugs, suggestions/questions 04-23-09, 09:45 PM
Replies: 4
Views: 1,554
Posted By Exawatt
I'm going to go with Yhor on this one. It'd be...

I'm going to go with Yhor on this one. It'd be alot cooler if you bundled this in an addon. You could even make your own interface for accessing the sounds (sort of like how Atlas Loot organizes...
Forum: General Authoring Discussion 04-23-09, 09:33 PM
Replies: 10
Views: 5,219
Posted By Exawatt
EDIT: Didn't read the post right, and ended up...

EDIT: Didn't read the post right, and ended up posting code to iterate through a /who (which is what I did in my AddOn).
Forum: General Authoring Discussion 04-21-09, 11:45 PM
Replies: 3
Views: 3,477
Posted By Exawatt
http://www.wowinterface.com/forums/showthread.php?...

http://www.wowinterface.com/forums/showthread.php?t=107

http://www.wowinterface.com/downloads/cat35.html
Forum: Lua/XML Help 04-20-09, 01:25 PM
Replies: 8
Views: 8,306
Posted By Exawatt
It didn't in my trials. If you do what I said in...

It didn't in my trials. If you do what I said in my first post, you'll get this on the screen:
http://img.photobucket.com/albums/v293/ImWeirdEnough/WoWScrnShot_042009_151149.jpg
(I had to change the...
Showing results 1 to 25 of 36