Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 260
Search took 0.02 seconds.
Search: Posts Made By: Mayron
Forum: Chit-Chat 02-28-19, 12:59 PM
Replies: 0
Views: 476
Posted By Mayron
I wish I knew more about our community

Hi all,

You all seem like such a lovely bunch of people and so glad to have had the pleasure of talking to some of you. I have learned a lot from my time on WoWInterface and through my discussions...
Forum: Lua/XML Help 02-10-19, 06:56 AM
Replies: 2
Views: 408
Posted By Mayron
Ah sorry, my problem actually turned out to be a...

Ah sorry, my problem actually turned out to be a script that moves a blizzard frame (the spell frame) while in combat. Got mixed up. Doesn't look like you can move the spell frame through a drag...
Forum: Lua/XML Help 02-10-19, 03:31 AM
Replies: 2
Views: 408
Posted By Mayron
Is there a way to call a Blizzard widget script securely?

I am not sure if Blizzard added support for this over the years and I missed it but is it possible to get a blizzard frame, replace a script (such as OnDragStart, for example) with a custom script...
Forum: Lua/XML Help 02-07-19, 05:35 AM
Replies: 1
Views: 345
Posted By Mayron
I worked out that, for each unique string, it...

I worked out that, for each unique string, it must store this in memory. So, if it is a random number (using math.random), and converted to a string, then the addon memory will perpetually increase,...
Forum: Lua/XML Help 02-07-19, 05:18 AM
Replies: 1
Views: 345
Posted By Mayron
Calling SetText on a FontString inside OnUpdate

I am calling a function every 0.05 seconds in an OnUpdate script and it has this line in it:

timeRemaining:SetText(math.random());

This causes a memory leak issue where my AddOn's memory will keep...
Forum: Lua/XML Help 12-25-18, 02:29 AM
Replies: 6
Views: 970
Posted By Mayron
I was going to do that but there are many helper...

I was going to do that but there are many helper functions I use which use pairs and ipairs so rather than try to avoid them I decided to add a "GetTable" method to my "proxy table" to get the "real...
Forum: Lua/XML Help 12-24-18, 03:00 PM
Replies: 6
Views: 970
Posted By Mayron
Thank you, I thought that might be the case....

Thank you, I thought that might be the case. Looks like there won't be an update for a very long time, if ever. I know it's a giant risk for any company to update something so critically important...
Forum: Lua/XML Help 12-24-18, 01:28 PM
Replies: 6
Views: 970
Posted By Mayron
Damn. Managed to test it out and sadly it's not...

Damn. Managed to test it out and sadly it's not supported. Still, is there a way to find what version of Lua is being used?
Forum: Lua/XML Help 12-24-18, 01:20 PM
Replies: 6
Views: 970
Posted By Mayron
Is there a way to find what version of Lua WoW is using?

A common problem that plagues me is not being able to control what pairs and ipairs is targetting when used with metatables. I tend to use a "proxy" table attached to a metatable and use __newindex...
Forum: General Authoring Discussion 08-25-18, 04:34 PM
Replies: 3
Views: 777
Posted By Mayron
I wanted a very basic OOP system that was quick...

I wanted a very basic OOP system that was quick in performance. Originally I created some basic functions to create metatables in a more user-friendly way for inheritance, like using the __call...
Forum: General Authoring Discussion 08-25-18, 08:03 AM
Replies: 3
Views: 777
Posted By Mayron
Added support for Generic Types with my OOP library

I'm trying to make a better error detection framework for my addons so I made an OOP framework to support strong typing. This has proven to be really useful for me as it has simplified all my...
Forum: General Authoring Discussion 08-28-17, 07:36 AM
Replies: 5
Views: 1,172
Posted By Mayron
Thanks for pointing that out. I recently altered...

Thanks for pointing that out. I recently altered the code examples and only managed to find a few line number notes that needed changing.

I also added text emphasizing that strict typing of...
Forum: General Authoring Discussion 08-27-17, 04:47 AM
Replies: 5
Views: 1,172
Posted By Mayron
Updated to version 2.0. The new version...

Updated to version 2.0. The new version includes:


Package exporting and importing
An Object:Parent() function so that you can choose to run Parent functions from child instances, instead of the...
Forum: General Authoring Discussion 08-26-17, 02:59 AM
Replies: 34
Views: 3,259
Posted By Mayron
This is ridiculous. As a content creator, the...

This is ridiculous. As a content creator, the first project you do is always going to be bad compared to those with years of experience. My first projects were awful and to some extent still are. I...
Forum: General Authoring Discussion 08-24-17, 02:26 AM
Replies: 2
Views: 824
Posted By Mayron
I'm glad I decided to start using these forums...

I'm glad I decided to start using these forums again. I tend to never use CurseForge (not for any particular reason), but maybe I should. I mainly put it off because of the tedious process of...
Forum: General Authoring Discussion 08-24-17, 12:19 AM
Replies: 12
Views: 1,892
Posted By Mayron
I use Visual Studio Code as you can integrate a...

I use Visual Studio Code as you can integrate a source control such as Git, or Subversion, and can easily upload code. I also use a bunch of plugins. I still always use Notepad++ now and again. I...
Forum: General Authoring Discussion 08-23-17, 11:48 PM
Replies: 5
Views: 1,172
Posted By Mayron
Thank you for pointing that out. I'll try to...

Thank you for pointing that out. I'll try to think of another name ><

EDIT: Renamed to LibObjectLua
Forum: General Authoring Discussion 08-23-17, 03:36 PM
Replies: 5
Views: 1,172
Posted By Mayron
Uploaded a new library for object-oriented lua programming

In my current UI pack (MayronUI Gen5), I am using a system for creating classes and encapsulating private data for instances of classes. I wanted to create a more powerful library to replace this and...
Forum: Lua/XML Help 08-05-17, 01:13 PM
Replies: 5
Views: 1,809
Posted By Mayron
@Kanegasi I've made a few things like this myself...

@Kanegasi I've made a few things like this myself for a timer bars tracking addon except it executes the update function for each frame in the pool iteratively and probably not as intricate as your...
Forum: Lua/XML Help 08-05-17, 11:16 AM
Replies: 5
Views: 1,809
Posted By Mayron
This is perfect. I wasn't sure what the main...

This is perfect. I wasn't sure what the main object was called. Thank you!
I'll start running some tests and figure out how it all fits together :)
Forum: Lua/XML Help 08-05-17, 09:51 AM
Replies: 5
Views: 1,809
Posted By Mayron
How to properly use CreateFramePool() ?

I've been seeing a lot of Blizzard code using CreateFramePool() and I'm wondering if it's worth using this myself as opposed to creating my own stack-like data structure. However, maybe it does...
Forum: General Authoring Discussion 04-26-17, 05:05 AM
Replies: 1
Views: 949
Posted By Mayron
Updated this library to make it much more user...

Updated this library to make it much more user friendly. Also, the documentation on the download page is much nicer to read and understand.

Functions have been renamed, an OnStart function has been...
Forum: General Authoring Discussion 03-02-17, 03:19 PM
Replies: 1
Views: 949
Posted By Mayron
Created a new database Library

For a while my UI has been using my own database library, but now I have modified it for general use.

It has additional functionality compared to the standard AceDB that you might find...
Forum: Lua/XML Help 11-18-16, 05:50 PM
Replies: 1
Views: 1,034
Posted By Mayron
Reputation data incorrect - Fixed!

EDIT: I FIXED THE PROBLEM!: I'm stupid. I need to use the minimum value and minus it from the value and max value. I have no idea why the minimum value is not 0. I'm sure there is a good...
Forum: Lua/XML Help 11-08-16, 08:07 AM
Replies: 11
Views: 2,044
Posted By Mayron
Thank you for the help! The problem was that I...

Thank you for the help! The problem was that I was using:

if (type(OrderHallCommandBar.TroopSummary) == "table") then

instead of:

local info =...
Showing results 1 to 25 of 260