Showing results 1 to 25 of 109
Search took 0.00 seconds.
Search: Posts Made By: kerrang
Forum: General Authoring Discussion 11-29-08, 03:17 PM
Replies: 9
Views: 5,247
Posted By kerrang
Thanks for that - bit scary as most mods use ACE...

Thanks for that - bit scary as most mods use ACE so you can't see how it's done - but it's nice to get it sorted :)
Forum: General Authoring Discussion 11-29-08, 02:04 PM
Replies: 9
Views: 5,247
Posted By kerrang
Cracked it - I needed to double backslash texture...

Cracked it - I needed to double backslash texture name/paths!!

I'll leave this here for people to learn from (DON'T do it this way perhaps!!)
Forum: General Authoring Discussion 11-29-08, 01:56 PM
Replies: 9
Views: 5,247
Posted By kerrang
Using that and some other mods as a guideline...

Using that and some other mods as a guideline I've ended up with

SLFrame =...
Forum: General Authoring Discussion 11-29-08, 12:36 PM
Replies: 9
Views: 5,247
Posted By kerrang
Help converting XML into LUA please

I'm a bit stuck here trying to convert some XML into straightforward LUA

The XML is...

<Frame name="ShieldLeft_Frame" enableMouse="true" movable="true" parent="UIParent">...
Forum: General Authoring Discussion 09-14-08, 09:42 AM
Replies: 47
Views: 23,848
Posted By kerrang
This comment is the funniest thing I've read here...

This comment is the funniest thing I've read here in some time - it's also the last thing I'll be reading in here tbh...
Forum: General Authoring Discussion 09-14-08, 08:49 AM
Replies: 47
Views: 23,848
Posted By kerrang
Whilst I started this 'discussion' not knowing...

Whilst I started this 'discussion' not knowing whether any form of in-game promotion would be beneficial or even desirable - the 'fervent' nature of people's dislike for the idea, whilst not a BIG...
Forum: General Authoring Discussion 09-13-08, 05:39 PM
Replies: 47
Views: 23,848
Posted By kerrang
I find it interesting you took my comments as...

I find it interesting you took my comments as being aimed at just you...
Forum: General Authoring Discussion 09-13-08, 05:38 PM
Replies: 47
Views: 23,848
Posted By kerrang
On the idea of links - I used no link in my...

On the idea of links - I used no link in my 'test' as it seemed overly pushy - I'm interested in a little viral marketting here - not selling Big Macs :)



Humour is undoubtedly the way forward -...
Forum: General Authoring Discussion 09-13-08, 12:07 PM
Replies: 47
Views: 23,848
Posted By kerrang
I'm the sort of person who tends to play "devils...

I'm the sort of person who tends to play "devils advocate" and I'm obviously "on the fence" about this idea or I'd have done it already - so when people started saying "it's SPAM" or "it's a BAD...
Forum: General Authoring Discussion 09-13-08, 03:04 AM
Replies: 47
Views: 23,848
Posted By kerrang
Froma community of people dedicated to making...

Froma community of people dedicated to making (amongst other things) 50 different anti-spam addons - it's not a great surprise :)

Given the amount of 'noise' which exists in-game alrady tho - I do...
Forum: General Authoring Discussion 09-12-08, 06:43 PM
Replies: 3
Views: 3,400
Posted By kerrang
They're just variables which store a time at...

They're just variables which store a time at which something happened - we then check that against the current time regularly and when the correct 'delay' has happened, we run our code.

The OnUpdate...
Forum: General Authoring Discussion 09-12-08, 06:36 PM
Replies: 47
Views: 23,848
Posted By kerrang
I don't really care how many people use my addons...

I don't really care how many people use my addons - but I AM interested in the process by which people choose and use addons - hence my curiousity on the issue as a whole...

I disagree that a single...
Forum: General Authoring Discussion 09-12-08, 01:01 PM
Replies: 47
Views: 23,848
Posted By kerrang
Popup Blockers aren't the best example...

Popup Blockers aren't the best example because

a) the VAST majority of people using the web don't use them
b) if more people DID use them, the economy of the Net would unravel as SO much of the Net...
Forum: General Authoring Discussion 09-11-08, 07:07 PM
Replies: 47
Views: 23,848
Posted By kerrang
Thoughts on in-game addon advertising...

I've considered, on a number of occasions, putting some sort of 'plug' or 'advert' into my O-Wheely! mod...

e.g. During BG Preparation a message into local chat something like

[FRED] just buffed...
Forum: General Authoring Discussion 09-11-08, 07:03 PM
Replies: 3
Views: 3,400
Posted By kerrang
OK - here's something to get you started... You...

OK - here's something to get you started...

You don't need an .XML file - just a .LUA file which contains the following...


-- define a frame
local OurPoisonMod = CreateFrame("Frame")

-- create a...
Forum: Site help, bugs, suggestions/questions 09-11-08, 12:31 PM
Replies: 1
Views: 570
Posted By kerrang
Deleting Addons

If is possible for an author to completely delete an addon from WOWI?

I ask mainly as the 'VBuff' addon I have in the BETA section was changed to a 'live' addon some time ago and could easily be...
Forum: AddOn Search/Requests 09-10-08, 08:32 AM
Replies: 2
Views: 4,620
Posted By kerrang
Weapon Enchants...

I've not seen it mentioned in any of the official 3.0 changes lists - but has anyone seen any mention of them fixing GetWeaponEnchant() so that it tells you WHICH enchant a weapon has - instead of...
Forum: General Authoring Discussion 09-08-08, 05:17 PM
Replies: 39
Views: 13,429
Posted By kerrang
Thanks for the time mik - very informative :) On...

Thanks for the time mik - very informative :)

On the Frame thing - and using it as your 'namespace' - surely you could define your frame as a global for that purpose?

Then that means ALL your...
Forum: General Authoring Discussion 09-08-08, 04:31 PM
Replies: 39
Views: 13,429
Posted By kerrang
I've noticed some mods declare their functions...

I've noticed some mods declare their functions within their Frame - I assume this is just another way of having a 'namespace' (as a frame is just a table too?)

e.g.


local eventFrame =...
Forum: General Authoring Discussion 09-08-08, 04:28 PM
Replies: 39
Views: 13,429
Posted By kerrang
So a variable declared in a LOCAL function is...

So a variable declared in a LOCAL function is still GLOBAL!? That's surprising and it means my function from earlier needs to be messy...


function test()
local name,stack,duration,timeleft
if...
Forum: General Authoring Discussion 09-08-08, 04:09 PM
Replies: 39
Views: 13,429
Posted By kerrang
In the end I'm using PLAYER_LOGIN and...

In the end I'm using PLAYER_LOGIN and unregistering it after it's first call - PLAYER_ENTERING_WORLD should work in the say way but as PL worked I didn't try it...
Forum: General Authoring Discussion 09-08-08, 03:23 PM
Replies: 39
Views: 13,429
Posted By kerrang
Surely if I declare a namespace (which is just a...

Surely if I declare a namespace (which is just a global table variable?)

e.g. OW = {}; OW.myfunc = .....

and someone else declares the same namespace/table - same problem? :)
Forum: General Authoring Discussion 09-08-08, 03:08 PM
Replies: 39
Views: 13,429
Posted By kerrang
So if we take this function function test() if...

So if we take this function

function test()
if IS_WRATH then
name,_,_,stack,_,duration,timeleft = UnitBuff(target,n)
else
name,_,_,stack,duration,timeleft = UnitBuff(target,n)
end
...
Forum: General Authoring Discussion 09-08-08, 02:19 PM
Replies: 39
Views: 13,429
Posted By kerrang
Back on the SV thing - taking this code that Mik...

Back on the SV thing - taking this code that Mik posted earlier


local function OnAddonLoaded(self)
-- Initialize your SV if they don't already exist...
if not MyModSV then
MyModSV = {
...
Forum: General Authoring Discussion 09-08-08, 02:14 PM
Replies: 15
Views: 5,274
Posted By kerrang
Sorry - yesterday was a long and miserable day of...

Sorry - yesterday was a long and miserable day of coding and I was snappy - I shouldn't have been so snippy!!

I'm amazed you got that to work too - in every case I tried (and I tried a LOT!) it...
Showing results 1 to 25 of 109