Showing results 1 to 25 of 47
Search took 0.00 seconds.
Search: Posts Made By: ProfOak
Forum: Lua/XML Help 02-04-08, 08:51 AM
Replies: 21
Views: 10,411
Posted By ProfOak
Hi. First on my original post, I put a line...

Hi.

First on my original post, I put a line with:

MyAddon = {}

and your using MyAddon = {OnTheRoad}, which is wrong.

MyAddon = {} -- is used to create an empty table. You shouldn't put anything...
Forum: Lua/XML Help 02-01-08, 10:48 AM
Replies: 21
Views: 10,411
Posted By ProfOak
Thanks for the tip Shirik :P Stonedpossum, I...

Thanks for the tip Shirik :P

Stonedpossum, I forgot to add some important info that you'll need in your toc file:

MyAddon.toc
## Interface: 20300
## Title: My Addon
## Notes: This is my first...
Forum: Lua/XML Help 02-01-08, 08:58 AM
Replies: 21
Views: 10,411
Posted By ProfOak
Hi! You can make it like this: -- the file that...

Hi!

You can make it like this:

-- the file that will call your files:
MyAddon.toc
-- add the next code line
MyAddon.lua

-- the file that will contain the code:
Forum: Lua/XML Help 01-30-08, 05:59 AM
Replies: 0
Views: 3,235
Posted By ProfOak
Is it possible to access a char attributes ?

Hi!

I was wondering, is it possible to have access to char attributes like how much is a player's reg mana while casting and not casting ?
I know you can see this info via tooltip in-game, but i...
Forum: Lua/XML Help 01-30-08, 03:51 AM
Replies: 2
Views: 4,066
Posted By ProfOak
Thanks :D I'll try it as soon as I get a chance...

Thanks :D

I'll try it as soon as I get a chance :P

P.S. I knew there was a reason for ppl calling me a noobie ^^
Forum: Lua/XML Help 01-29-08, 06:36 AM
Replies: 2
Views: 4,066
Posted By ProfOak
Hooking or not to hock, there is the question

Hi all.

After start reading posts and finding a bit time, I decide to remake a little addon I made some time ago, that is why u prolly start seing a lot of posts by me :P

Remaking the addon in...
Forum: Lua/XML Help 01-29-08, 05:24 AM
Replies: 2
Views: 3,644
Posted By ProfOak
Ok, Thks for ur reply :P

Ok,

Thks for ur reply :P
Forum: Lua/XML Help 01-28-08, 09:27 AM
Replies: 11
Views: 10,823
Posted By ProfOak
Hi. I'm having a bit of trouble understanding...

Hi.

I'm having a bit of trouble understanding this replys tbh :/

For local zone coords I use:

SetMapToCurrentZone();
local px, py = GetPlayerMapPosition("player");

for print:
Forum: Lua/XML Help 01-28-08, 04:38 AM
Replies: 2
Views: 3,644
Posted By ProfOak
Event triggered when a target get back to life

Hi.

I'm trying to find out which event is triggered when you have a target that dies and without desselecting it, either it is rezzed or it rezzes after being dead.

No clue if I'm explaning right...
Forum: Lua/XML Help 12-20-07, 09:38 AM
Replies: 0
Views: 3,014
Posted By ProfOak
Best way to organize an addon

Hi,

I've made an addon that implements alot of usefull things.
Target's life and mana/rage/energy, little bar on top screen with some inf regarding coords, gold and stuff like that, it displays...
Forum: Lua/XML Help 04-27-07, 06:13 PM
Replies: 6
Views: 3,576
Posted By ProfOak
:D thank u all 4 the help :D Will sure look @...

:D thank u all 4 the help :D

Will sure look @ the link u posted, shirik. gave it a quick look but @ the time I made this reply I was almost asleep on top of the keyboard. So, after a good night...
Forum: Lua/XML Help 04-27-07, 06:41 AM
Replies: 6
Views: 3,576
Posted By ProfOak
Let me thank u both 4 ur replys :P Shirik, thank...

Let me thank u both 4 ur replys :P

Shirik, thank u 4 that detailed info concerning memory alocation.

The table I'm talking about is a dynamic 1, that will store some info regarding the mobs a char...
Forum: Lua/XML Help 04-26-07, 07:21 AM
Replies: 6
Views: 3,576
Posted By ProfOak
Best way to make an optimized table

Hi!

Thank u 4 having to time to read my post :P

I have a question regarding the best way to create an optimized table.
My addon needs a table that will store massive info, so I was wondering which...
Forum: Lua/XML Help 01-06-07, 05:46 AM
Replies: 1
Views: 2,907
Posted By ProfOak
Just found out that it is called PVPFrame now, so...

Just found out that it is called PVPFrame now, so problem is fixed :P
Forum: Lua/XML Help 12-18-06, 03:25 AM
Replies: 9
Views: 4,775
Posted By ProfOak
Will give it a shoot m8 :D Thank all for your...

Will give it a shoot m8 :D

Thank all for your help :D

Cheers
Forum: Lua/XML Help 12-11-06, 08:02 AM
Replies: 9
Views: 4,775
Posted By ProfOak
I was thinking using something like the button...

I was thinking using something like the button Cladhaire posted but more like this:

CreateFrame("Button", "MyButton", UIParent,...
Forum: Lua/XML Help 12-11-06, 04:16 AM
Replies: 9
Views: 4,775
Posted By ProfOak
Just 2 more questions, is it possible using the...

Just 2 more questions, is it possible using the buttons u posted above to chose the rank to be casted ? and is it possible, also using buttons, to use post a chat msg (party/raid/whisper) and then...
Forum: Lua/XML Help 12-08-06, 03:21 PM
Replies: 9
Views: 4,775
Posted By ProfOak
OMG :( Then my addon is dead and useless...

OMG :(
Then my addon is dead and useless :'(

Thank You for the help m8
Forum: Lua/XML Help 12-08-06, 08:35 AM
Replies: 1
Views: 2,907
Posted By ProfOak
Can't show a frame attached to HonorFrame

Thank you for having the time to read my post and try to help me.
Before update 2.0, this frame appear very time honorframe was displayed, it appear as part of honorframe.

<Frame name="PODA_ShwRank"...
Forum: Lua/XML Help 12-08-06, 08:14 AM
Replies: 9
Views: 4,775
Posted By ProfOak
Thank you for you're reply m8, but there's 1...

Thank you for you're reply m8, but there's 1 thing, is it possible to use my "MyCastFunction" instead of a specific spell ? because I don't always won't to use, for exemple, healing touch rank 10,...
Forum: Lua/XML Help 12-08-06, 05:29 AM
Replies: 9
Views: 4,775
Posted By ProfOak
How to work around protected build-in function in v2.0 ?

Hi!
Thanks for taking the time to read my cry for help :P
With all new changes in 2.0 my addon stoped working and I can't find a way to work around this :(

I have macros that call my addon...
Forum: Lua/XML Help 10-09-06, 02:56 AM
Replies: 8
Views: 14,268
Posted By ProfOak
-- YourLuaFile.lua -- function...

-- YourLuaFile.lua --
function something_OnLoad()
SLASH_YOURCOMMAND = "/raresist"; -- you can add multiple comands
SLASH_YOURCOMMAND2 = "/raresist2"; -- you can add multiple comands
...
Forum: Lua/XML Help 10-04-06, 08:18 AM
Replies: 5
Views: 4,203
Posted By ProfOak
Well, it works, but... I didn't understand to...

Well, it works, but...

I didn't understand to what "OnShow" you refered to, since i don't have a particular frame on were to use this, so I added your code to a file that is loaded by the addon.
I...
Forum: Lua/XML Help 09-30-06, 12:51 PM
Replies: 5
Views: 4,203
Posted By ProfOak
Ok. Gonna give it a try. Thank You again for...

Ok. Gonna give it a try.

Thank You again for your help :P
Forum: Lua/XML Help 09-30-06, 05:22 AM
Replies: 5
Views: 4,203
Posted By ProfOak
Thks for your help m8 :P Most of my posts here...

Thks for your help m8 :P Most of my posts here are answerd by you, so REALLY REALLY Thank You :D

I still have a doubt, althou I haven't try it yet, from what or where shall I call that funciton?
How...
Showing results 1 to 25 of 47