Showing results 1 to 25 of 93
Search took 0.01 seconds.
Search: Posts Made By: AlleyKat
Forum: Lua/XML Help 12-27-14, 06:43 PM
Replies: 7
Views: 4,064
Posted By AlleyKat
It's not true OOP language, things like function...

It's not true OOP language, things like

function MyTable:GetSomething()
return self.something;
end

looks stupid
Forum: Lua/XML Help 12-26-14, 11:37 AM
Replies: 7
Views: 4,064
Posted By AlleyKat
lua is not OOP language, keep it in mind

lua is not OOP language, keep it in mind
Forum: Lua/XML Help 12-02-14, 10:55 AM
Replies: 14
Poll: lua language
Views: 5,731
Posted By AlleyKat
First, to build a ship, you need some timber

First, to build a ship, you need some timber
Forum: Lua/XML Help 11-12-14, 07:55 AM
Replies: 5
Views: 3,167
Posted By AlleyKat
I made better infinite table example for u local...

I made better infinite table example for u

local setmetatable = setmetatable;
local rawget = rawget;
local type = type;
local secondLayer, getVal;

local newTable = function()
return...
Forum: General WoW Chat 11-10-14, 03:06 AM
Replies: 15
Views: 16,219
Posted By AlleyKat
http://media.giphy.com/media/jMJA8hFDVjwaY/giphy.g...

http://media.giphy.com/media/jMJA8hFDVjwaY/giphy.gif
Forum: Tech Chat 11-09-14, 04:13 AM
Replies: 67
Views: 80,738
Posted By AlleyKat
SS Sensei or Genius NetScroll 100

SS Sensei or Genius NetScroll 100
Forum: Lua/XML Help 11-03-14, 09:28 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
hey look, hey local t, M = ...; setfenv(1,...

hey look, hey
local t, M = ...;
setfenv(1, setmetatable(M, { __index = _G }));
Forum: Lua/XML Help 11-03-14, 08:49 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
Nope, if I want to use already created build-in...

Nope, if I want to use already created build-in table as main storage for my addon functions and data
Forum: Lua/XML Help 11-03-14, 08:29 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
Nope, not pointless, my build-in table now has...

Nope, not pointless, my build-in table now has frame atrrs, and table of original frame works as build-in

local title, M = ...;

local anotherFrame = CreateFrame("Frame", "SomeFrame", M);

another...
Forum: Lua/XML Help 11-03-14, 07:09 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
I said about userdata, not tables

I said about userdata, not tables
Forum: Lua/XML Help 11-03-14, 09:02 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
There are no objects in lua, frame is metatable...

There are no objects in lua, frame is metatable with userdata, where userdata is real frame object, we are not coping userdata, so we are not creating two objects, we are just using object from...
Forum: Lua/XML Help 11-03-14, 02:26 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
Btw my method is used only to extend build-in...

Btw my method is used only to extend build-in table, not to make it global, makes it global - side affect of frame, and I don't recommend use it only to make your table global
Forum: Lua/XML Help 11-03-14, 01:53 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
Standard metatable functions in frame case we...

Standard metatable functions
in frame case we redirect all get and set notfound operations to build-in
in build-in we adding frame api
and now we don't care what table to use, coz they are same
Forum: Lua/XML Help 11-03-14, 01:45 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
In my way I can access to my frame via local...

In my way I can access to my frame via
local title, M = ...;

in your way I must

local title = ...;
local M = _G[title];
Forum: Lua/XML Help 11-02-14, 10:43 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
I like to store my data in build-in table, also I...

I like to store my data in build-in table, also I like to use my main storage as frame-type-table (events and etc..), and my storage must be available outside. What is pointless? Make a lot of global...
Forum: Lua/XML Help 11-02-14, 01:48 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
now key from frame ~= key from build-in table

now key from frame ~= key from build-in table
Forum: Lua/XML Help 11-02-14, 01:45 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
Ah, my RegisterEvent function not from frame

Ah, my RegisterEvent function not from frame
Forum: Lua/XML Help 11-02-14, 01:33 AM
Replies: 31
Views: 11,389
Posted By AlleyKat
local title, M = ...; M:SetScript("OnEvent",...

local title, M = ...;

M:SetScript("OnEvent", function(self, ...)
-- ...
-- where self ~= M, but self[key] == M[key]
end);


my build-in table now acting like frame
and frame with addon's name tag...
Forum: Lua/XML Help 11-01-14, 11:27 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
No, this way is correct to expose your addon to...

No, this way is correct to expose your addon to other addons


or

local t, n = ...;
_G[t] = n;

or my way
Forum: Lua/XML Help 10-30-14, 07:02 PM
Replies: 31
Views: 11,389
Posted By AlleyKat
Object's tags (like CreateFrame("Frame",...

Object's tags (like CreateFrame("Frame", "FrameTag", ...); ), SavedVariablesm, slash and addon build-in table (like local t, n = ...; ADDON_NAME = n; )
Forum: News 08-04-14, 11:36 PM
Replies: 141
Views: 105,696
Posted By AlleyKat
finaly:banana::banana: thx

finaly:banana::banana: thx
Forum: News 08-04-14, 12:57 PM
Replies: 141
Views: 105,696
Posted By AlleyKat
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta Wizard ༼ つ ◕_◕ ༽つ...

Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ ◕_◕ ༽つ Give WoDbeta
Wizard ༼ つ...
Forum: UI Screenshots, Feedback and Design Discussion 08-04-14, 10:20 AM
Replies: 121
Views: 92,897
Posted By AlleyKat
use ScrollFrame frame type to create "view...

use ScrollFrame frame type to create "view ports"
like here:

https://dl.dropboxusercontent.com/u/7347170/2/WoWScrnShot_080414_201349.jpg
Forum: UI Screenshots, Feedback and Design Discussion 08-04-14, 07:52 AM
Replies: 7
Views: 9,488
Posted By AlleyKat
https://dl.dropboxusercontent.com/u/7347170/1/1388...

https://dl.dropboxusercontent.com/u/7347170/1/13885976655805.jpg
Forum: UI Screenshots, Feedback and Design Discussion 02-17-14, 10:14 AM
Replies: 34
Views: 40,031
Posted By AlleyKat
A lot of people ask me about dis interface. I...

A lot of people ask me about dis interface. I made thi interface for lulz and test some stuff.
Currently I haven`t much time. Btw, I am working on another interface.

You can take a super unstable...
Showing results 1 to 25 of 93