Showing results 1 to 25 of 67
Search took 0.01 seconds.
Search: Posts Made By: Sharparam
Forum: Lua/XML Help 05-22-14, 03:06 AM
Replies: 6
Views: 465
Posted By Sharparam
At least if Blizzard has finally decided how to...

At least if Blizzard has finally decided how to handle cross-realm stuff across the board. It seemed to be going back and forth several times over. Removing and adding realm suffixes like crazy...
Forum: Lua/XML Help 05-22-14, 01:20 AM
Replies: 6
Views: 465
Posted By Sharparam
But what if you don't have a unit handy?

But what if you don't have a unit handy?
Forum: AddOn Search/Requests 04-29-14, 03:42 AM
Replies: 3
Views: 357
Posted By Sharparam
Working on an xp sharing addon at...

Working on an xp sharing addon at https://github.com/SharpWoW/ShareXP

For XP only, no quest sharing, but there are a number of addons that include that functionality (Carbonite is the only one I can...
Forum: AddOn Search/Requests 04-22-14, 08:20 AM
Replies: 18
Views: 1,181
Posted By Sharparam
But what are these errors you are getting?

But what are these errors you are getting?
Forum: AddOn Search/Requests 04-22-14, 05:21 AM
Replies: 18
Views: 1,181
Posted By Sharparam
As Phanx, I haven't experienced any issues with...

As Phanx, I haven't experienced any issues with overachiever either, and I use it all the time. Could this be some collision with another addon?

Edit: It would also help if you told us what errors...
Forum: Lua/XML Help 04-17-14, 06:07 AM
Replies: 13
Views: 814
Posted By Sharparam
Pretty sure that's how it works. The garbage...

Pretty sure that's how it works. The garbage collector goes through objects and disposes of any that don't have any variables referencing them.
Forum: Lua/XML Help 04-17-14, 05:52 AM
Replies: 13
Views: 814
Posted By Sharparam
This is not correct. By doing t.func = nil you...

This is not correct. By doing t.func = nil you are just making t.func no longer reference that function. Any other references to the function are still valid.

You are assigning nil to t.func, not...
Forum: Dev Tools 03-14-14, 05:23 PM
Replies: 11
Views: 4,159
Posted By Sharparam
Also, there is a RESTful API to query item data...

Also, there is a RESTful API to query item data on battle.net: http://blizzard.github.io/api-wow-docs/

Example for castlebreaker bracers: http://eu.battle.net/api/wow/item/103759
(Replace eu with us...
Forum: AddOn Search/Requests 03-14-14, 05:17 AM
Replies: 4
Views: 1,035
Posted By Sharparam
http://www.wowinterface.com/downloads/info4077-Sto...

http://www.wowinterface.com/downloads/info4077-StopTheSpam.html

Is that the AddOn you were thinking about?

It hasn't been updated in quite a while, so it's possible it doesn't work at all anymore...
Forum: AddOn Search/Requests 02-06-14, 06:20 PM
Replies: 14
Views: 1,105
Posted By Sharparam
To fix that error in Phanx's code, remove the...

To fix that error in Phanx's code, remove the parantheses on line 20:

for i = 1, numGroupMembers() do

So it becomes this:

for i = 1, numGroupMembers do

(Seems like she mixed up the local variable...
Forum: AddOn Search/Requests 02-06-14, 06:06 PM
Replies: 14
Views: 1,105
Posted By Sharparam
That's what I get for dry-coding :P I didn't...

That's what I get for dry-coding :P

I didn't really take optimizing into mind though, as this isn't code that gets called 20+ times a second.

Didn't know about GetUnitName, that's a neat function.
Forum: AddOn Search/Requests 02-06-14, 03:56 PM
Replies: 14
Views: 1,105
Posted By Sharparam
You will have to post your AutoMessage.lua as it...

You will have to post your AutoMessage.lua as it seems to be different from the code I posted (line numbers are different). I couldn't find where it would be thrown by looking at the code i...
Forum: AddOn Search/Requests 02-06-14, 05:33 AM
Replies: 14
Views: 1,105
Posted By Sharparam
It's a function in the WoW API to clear a table's...

It's a function in the WoW API to clear a table's values. I believe it's not available in standard Lua.
Forum: AddOn Search/Requests 02-06-14, 03:03 AM
Replies: 14
Views: 1,105
Posted By Sharparam
I thought this would be a lot simpler to...

I thought this would be a lot simpler to implement, but then I was reminded about cross-realm and all the issues that brings. I wrote something up that might work:


-- Add SHARPARAM_GROUP_WHISPER to...
Forum: Lua/XML Help 11-21-13, 08:50 AM
Replies: 13
Views: 1,031
Posted By Sharparam
This line: local daftSellGrays =...

This line:
local daftSellGrays = CreateFrame("Frame", "daftSellGrays", UIParent)

Seems to suggest creating a local variable to hold the frame, but also telling CreateFrame to define a global named...
Forum: Lua/XML Help 05-18-13, 11:37 AM
Replies: 7
Views: 1,450
Posted By Sharparam
Oh derp, missed those :P

Oh derp, missed those :P
Forum: Lua/XML Help 05-18-13, 10:49 AM
Replies: 7
Views: 1,450
Posted By Sharparam
Unless I'm missing something, the "Open", "Close"...

Unless I'm missing something, the "Open", "Close" vars et.c are all declared as local.
Forum: Lua/XML Help 04-10-13, 10:35 AM
Replies: 6
Views: 1,529
Posted By Sharparam
Not sure where you're getting "can't bypass"...

Not sure where you're getting "can't bypass" from, that is definitely possible:


Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> function g() print "hello world" end
> local function g() print...
Forum: Chit-Chat 04-09-13, 03:41 PM
Replies: 8
Views: 3,064
Posted By Sharparam
Why thank you ^^

Why thank you ^^
Forum: Chit-Chat 04-09-13, 02:27 PM
Replies: 8
Views: 3,064
Posted By Sharparam
Happy birthday! :D It's my birthday too :)

Happy birthday! :D It's my birthday too :)
Forum: Lua/XML Help 04-07-13, 10:29 AM
Replies: 19
Views: 3,210
Posted By Sharparam
If it's a global, then the "PS_" prefix seems a...

If it's a global, then the "PS_" prefix seems a bit short to identify an addon. There is probably quite a few with the "PS" initials. Perhaps use the full addon name for the global prefix, to avoid...
Forum: Lua/XML Help 04-07-13, 07:38 AM
Replies: 19
Views: 3,210
Posted By Sharparam
Why would PS_EnableAddon ever have a string...

Why would PS_EnableAddon ever have a string value, when it only ever gets set to true/false? But each to their own I guess :P
Forum: Lua/XML Help 04-07-13, 05:47 AM
Replies: 19
Views: 3,210
Posted By Sharparam
On a slightly unrelated note, the...

On a slightly unrelated note, the following:


Can be simplified to:

if PS_EnableAddon and PS_SoundEffect then


There's no need to have a separate if-clause for every boolean, and booleans can be...
Forum: Tutorials & Other Helpful Info. 04-05-13, 12:39 PM
Replies: 9
Views: 2,794
Posted By Sharparam
SublimeText's styling files are not encrypted,...

SublimeText's styling files are not encrypted, they are located under %APPDATA%\Sublime Text 2\ under windows and can be edited with any text editor.
Forum: Lua/XML Help 04-01-13, 07:04 PM
Replies: 23
Views: 3,637
Posted By Sharparam
Someone write a site that pulls this data from...

Someone write a site that pulls this data from wowhead and displays it in a nice format :P
Showing results 1 to 25 of 67