Thread Tools Display Modes
03-30-18, 11:15 AM   #21
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Originally Posted by runamonk View Post
My guess is doing your whole interface with WA is going to be the issue for sure. Wow man. I don't think that was the original intention of WA hehe. That seems a bit excessive. Well that was easy.

Now the hard part is going to be recreating what you need from your old interface to another addon either oUF as the framework and create your own layout. I would start by grabbing one layout that uses the oUF framework and start messing with it and learning how it works. That's what I did with mine. I started with oUF P3lim and oUF Lumen and I've basically created a whole new layout from using those as starter baseline.

Just get one element/unit working and go from there.

Out of curiosity could you post a screen shot of your UI?


I tried some weeks to create one frame, but i just not understand how to do it with or without oUF

Here are screenshots:

https://imgur.com/a/AvT2j
https://imgur.com/a/3uiTo
https://imgur.com/a/vnaGG
https://imgur.com/a/xdd6t
https://imgur.com/a/GiSGW
https://imgur.com/a/lU8cs
https://imgur.com/a/47pKe

It has icons, locale flags, raid/group targeting count. HP bar changes the color, if there dispellable debuff on a player, like poison (green) disease (brown) etc... All frames are clickable.

In group shows role icon.

Party frames are set to alpha 0.6 if too far away. Else set on 1
  Reply With Quote
03-31-18, 01:14 AM   #22
runamonk
A Theradrim Guardian
 
runamonk's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 61
Love the interface. You could reproduce most of that with just about any units addon though; without having to make your own layout in oUF.

Although if you like doing a bit of coding it's more fun with oUF and it will perform better in WoW that having to do it all in wa.

Have you done any coding at all in any language? If not it's going to make it a bit harder for you to do a layout with oUF.

Here is a basic screenshot of what I've done with my layout for oUF. All the bottom panels are frames created with basic lua with a basic texture applied to them.

My minimal layout.

Last edited by runamonk : 03-31-18 at 04:30 AM.
  Reply With Quote
03-31-18, 05:46 AM   #23
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
unfortenately, i have never messed with any language.
  Reply With Quote
03-31-18, 11:47 AM   #24
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Troubleshooting

This is a good list of steps for troubleshooting addons. Give it a look and see if anything can help you locate the source of your lag (unless it is 700 Weak Auras). Your whole UI is made from Weak Auras? <mind blown>
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
03-31-18, 03:14 PM   #25
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Originally Posted by JDoubleU00 View Post
This is a good list of steps for troubleshooting addons. Give it a look and see if anything can help you locate the source of your lag (unless it is 700 Weak Auras). Your whole UI is made from Weak Auras? <mind blown>
Only unit frames, and some other stuff, like rogue combo points. And there is not 700 auras enabled at same time

I think i know what can be cause laggs. Many auras has the same code on init, like:

local char
local string_byte = string.byte
local sub = sub

local function chsize(char)
if not char then
return 0
elseif char > 240 then
return 4
elseif char > 225 then
return 3
elseif char > 192 then
return 2
else
return 1
end
end

function aura_env.custom_utf8sub(str, startChar, numChars)
if not str then return "" end
local startIndex = 1
while startChar > 1 do
local char = string_byte(str, startIndex)
startIndex = startIndex + chsize(char)
startChar = startChar - 1
end

local currentIndex = startIndex

while numChars > 0 and currentIndex <= #str do
local char = string_byte(str, currentIndex)
currentIndex = currentIndex + chsize(char)
numChars = numChars -1
end
return str:sub(startIndex, currentIndex - 1)
end

function aura_env.utf8len(str)
if not str then return 0 end
local len = 0
local currIndex = 1
while currIndex <= #str do
local char = string_byte(str, currIndex)
currIndex = currIndex + chsize(char)
len = len + 1
end
return len
end

But normally it should be loaded only one time. Or for example if i have the same code for color box, that loads twice, like player and target. That can be the issue, but im not at 100% sure.

Last edited by GreyFox777 : 03-31-18 at 03:27 PM.
  Reply With Quote
03-31-18, 04:52 PM   #26
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You are using WA for **way** more than it was originally intended. You are putting tons of strain on WA, and your code is inefficient because you are working within the constraints of WA. This is why you are having performance problems.

You should find addons that do what you want (or write your own), rather than abusing WA. I understand that is the purpose for your thread here.

If you need help with oUF, that is what this forum section is for. If you need help with learning how to write addons, there is the IRC channel and these forum sections. Be sure to check out the stickied threads.

But let's get you away from WA for everything but what it's original purpose is.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-01-18, 06:42 PM   #27
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
I don't want to beat the dead horse but ye, I think you answered what your problem is when you use WA for way more than it was intended.

This kinda reminds me of this XKCD: https://xkcd.com/1172/

__________________
My oUF Layout: oUF Lumen

Last edited by neverg : 04-02-18 at 06:19 AM.
  Reply With Quote
04-04-18, 12:46 PM   #28
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Is there any Discord channel for UI creating?
  Reply With Quote
04-04-18, 01:09 PM   #29
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
There is an irc mirror afaik but most people just hang out at irc.freenode.net#wowuidev

Last edited by Ammako : 04-04-18 at 01:13 PM.
  Reply With Quote
04-04-18, 01:27 PM   #30
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Originally Posted by Ammako View Post
There is an irc mirror afaik but most people just hang out at irc.freenode.net#wowuidev
irc.freenode.net: Terminated

i don't know why it's not working
  Reply With Quote
04-04-18, 01:36 PM   #31
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Works for me using HexChat. What client are you using?
  Reply With Quote
04-04-18, 01:36 PM   #32
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Can some one show me please, how to anchor a texture to clickable panel (like making texture clickable)?
  Reply With Quote
04-04-18, 02:31 PM   #33
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Originally Posted by Ammako View Post
Works for me using HexChat. What client are you using?
I get it to work, but they are not helpfull... they just redirecting me to ouF forum.



Im disappointed...
  Reply With Quote
04-04-18, 08:15 PM   #34
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 308
The reason they're not being very helpful in the manner you seek is bc that chat is not there for you to just ask for people to code this and that for you. They've directed you to oUF in hopes you would teach yourself how to create your own oUF layout and go from there.
__________________
AddOns: Tim @ WoWInterface
Characters: Mage, Priest, Devoker, Pally
Battle Tag: Mysterio#11164
Current PC Setup: PCPartPicker List
  Reply With Quote
04-05-18, 04:12 AM   #35
runamonk
A Theradrim Guardian
 
runamonk's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 61
Learn some basic lua and how to create your own addon first. It will help you understand what to do.
  Reply With Quote
04-05-18, 06:09 AM   #36
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
What has been said and get to look at someone else's code. Pick a simple addon and see how things are done.

This should help you out:

https://us.battle.net/forums/en/wow/topic/20742244205

http://wowwiki.wikia.com/wiki/AddOn_...l/Introduction

http://wowprogramming.com/

https://wow.gamepedia.com/World_of_Warcraft_API

Then take a look at some addons, you can explore what Roth in his addons for instance: https://github.com/zorker/rothui/tree/master/wow7.0
__________________
My oUF Layout: oUF Lumen
  Reply With Quote
04-05-18, 09:28 AM   #37
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
If you've never done any lua nor made any addons yourself before, going straight into making your own oUF layout may be a bit over-ambitious. If you aren't able to understand the tutorial layout Rainrider linked you, you're probably better off starting by making more basic addons until you get a better grasp for it.

If you don't want to learn, then you'll probably be better served by using someone else's layout that they uploaded on here or on Curse (or any other UI addons; it doesn't have to be oUF.) A custom UI doesn't have to be self-made, if you're just wanting to replace all your WeakAuras.
  Reply With Quote
04-05-18, 12:23 PM   #38
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 75
Or i just rent some coder
  Reply With Quote
04-05-18, 05:30 PM   #39
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by GreyFox777 View Post
Or i just rent some coder
I hope you've got some really really deep pockets, 'cause coders don't come cheap (IF they charge the going rate for coding, at least).
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
04-07-18, 04:34 AM   #40
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
If you hire someone, keep in mind that with the next expansion stuff might change and you might have to look for somebody to fix your layout again.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Beginner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off