ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   API 100009 and Patch 1.4.3 (https://www.esoui.com/forums/showthread.php?t=2241)

Kraeius 09/16/14 05:00 AM

API 100009 and Patch 1.4.3
 
I experience some anchor related problems on InfoHub after I patched to 1.4.3. Is there any change about it? And you guys have missing addon name characters on addon selection menu or its just me? Its like third word on an addon's name which coloured with hex codes are missing. But not all of them.

Garkin 09/16/14 10:12 AM

Quote:

Originally Posted by Kraeius (Post 12154)
I experience some anchor related problems on InfoHub after I patched to 1.4.3. Is there any change about it? And you guys have missing addon name characters on addon selection menu or its just me? Its like third word on an addon's name which coloured with hex codes are missing. But not all of them.

It seems that addon title can't have more then 32 characters now.

merlight 09/16/14 11:13 AM

I'm slowly getting tired of this kind of changes. Why break something that works (1) without actually improving anything (2)? Would be nice if they just said "Hey guys, stop fcoloring your add-on names".

1) Previously if you had long addon name with colored parts, it got cut off where it should... well, almost. If you had a long texture filename in the title, it would happily cut in between |t tags so it came up as a white rectangle.

2) Colored names still don't order properly

Ayantir 09/16/14 11:23 AM

I up this topic to ask if someone else than me got problem with LINK_HANDLER features ?..

I cannot do a LINK_HANDLER:RegisterCallback anymore, Unregister, Clean too.. code is simply ignored ?
Some functions have been removed, but this one still exists but does anything...:confused:

Garkin 09/16/14 11:57 AM

Quote:

Originally Posted by Ayantir (Post 12164)
I up this topic to ask if someone else than me got problem with LINK_HANDLER features ?..

I cannot do a LINK_HANDLER:RegisterCallback anymore, Unregister, Clean too.. code is simply ignored ?
Some functions have been removed, but this one still exists but does anything...:confused:

I don't really understand why there are two different events for clicks (LINK_HANDLER.LINK_CLICKED_EVENT, LINK_HANDLER.LINK_MOUSE_UP_EVENT), but it was not hard to make DerpURL work again with the latest changes in EsoUI. Unfortunately I was not able to make it work with the latest changes you have made to pChat. What kind of magic did you use to break custom links? ;)

merlight 09/16/14 11:59 AM

Another ridiculous change - paths to Lua files in manifest are now limited to 48 characters. Anything longer is not loaded.

Ayantir 09/16/14 01:06 PM

Quote:

Originally Posted by Garkin (Post 12168)
I don't really understand why there are two different events for clicks (LINK_HANDLER.LINK_CLICKED_EVENT, LINK_HANDLER.LINK_MOUSE_UP_EVENT), but it was not hard to make DerpURL work again with the latest changes in EsoUI. Unfortunately I was not able to make it work with the latest changes you have made to pChat. What kind of magic did you use to break custom links? ;)

I rewrited ZO_LinkHandler_OnLinkClicked .. but if you get a better solution, I take it :D
*reading code of Copy Item Link *

Hum. ok, I read derpurl & your Copy Item Link. And Yes i did those changes, and nothing worked for me. still don't understand.
edit2: ok.. found. was very easy in fact. maybe i need coffee. still don't understand why need to register the 2 handlers now.

Garkin 09/17/14 08:45 AM

Quote:

Originally Posted by merlight (Post 12169)
Another ridiculous change - paths to Lua files in manifest are now limited to 48 characters. Anything longer is not loaded.

It works a bit different way, it is not 48 characters written in the addon manifest, it's a lenght of the file path including the addon folder name.

For example this works (69 characters):
Code:

InventoryInsightFromAshes/libs/LibMediaProvi/LibMediaProvider-1.0.lua
This does not work (70 characters):
Code:

InventoryInsightFromAshes/libs/LibMediaProvid/LibMediaProvider-1.0.lua
Also this works (69 characters):
Code:

Azurah/TestWithLibrary1/LibMediaProvider-1.0/LibMediaProvider-1.0.lua
This does not (70):
Code:

Azurah/TestWithLibrary12/LibMediaProvider-1.0/LibMediaProvider-1.0.lua
Don't ask me why 69 characters, I have no idea. Probably there should be included also "AddOns/" and maybe something else (tested with EU client).

merlight 09/17/14 10:49 AM

Quote:

Originally Posted by Garkin (Post 12179)
Don't ask me why 69 characters, I have no idea. Probably there should be included also "AddOns/" and maybe something else (tested with EU client).

Afterwards I thought it might count more than the relative path, but was too lazy to test thoroughly. It's silly anyway, even if you took the full path, it'd be around 120 characters (depending on login name), whereas PATH_MAX or how's that constant named on Windows has been 260 since when? DOS? :D

Garkin 09/17/14 11:06 AM

Quote:

Originally Posted by merlight (Post 12180)
Afterwards I thought it might count more than the relative path, but was too lazy to test thoroughly. It's silly anyway, even if you took the full path, it'd be around 120 characters (depending on login name), whereas PATH_MAX or how's that constant named on Windows has been 260 since when? DOS? :D

Full path for me is 130 characters:
Code:

c:\Users\Garkin\Documents\Elder Scrolls Online\liveeu\AddOns\InventoryInsightFromAshes\libs\LibMediaProvi\LibMediaProvider-1.0.lua
So it will be probably 128 characters limit for:
Code:

\Users\Garkin\Documents\Elder Scrolls Online\liveeu\AddOns\InventoryInsightFromAshes\libs\LibMediaProvi\LibMediaProvider-1.0.lua

Wykkyd 09/17/14 01:29 PM

This kind of unannounced crap pisses me off. Just makes all of us look bad, when really it's their poor judgement and bad decisions at fault.

mctaylor 09/17/14 05:46 PM

Quote:

Originally Posted by merlight (Post 12180)
Afterwards I thought it might count more than the relative path, but was too lazy to test thoroughly. It's silly anyway, even if you took the full path, it'd be around 120 characters (depending on login name), whereas PATH_MAX or how's that constant named on Windows has been 260 since when? DOS? :D

I would guess (pure speculation) that it was a change in the core Lua modules made to fix issues / work within limitations for consoles environments.

That or some sort of strange memory usage reduction or yak shaving exercise.

Garkin 09/17/14 06:56 PM

Quote:

Originally Posted by ZOS_ChipHilseberg
These bugs were a result of fixing some long path name crashes. We will be expanding the add-on name back to 64 characters and the path to 302 characters. We also have code in the works to add an author name column to save space in the add-on title (where names were often put), and code to fix sorting when color markup is used to begin the name. The changes relating to author and sorting will be a bit later on.

Source: http://forums.elderscrollsonline.com...omment_1275009

Seerah 09/17/14 06:57 PM

This was posted in Wykkyd's thread just a little bit ago:
Quote:

ZOS_ChipHilseberg mod
September 17 Staff Post
These bugs were a result of fixing some long path name crashes. We will be expanding the add-on name back to 64 characters and the path to 302 characters. We also have code in the works to add an author name column to save space in the add-on title (where names were often put), and code to fix sorting when color markup is used to begin the name. The changes relating to author and sorting will be a bit later on.
http://forums.elderscrollsonline.com...mes-file-paths

/edit: and Garkin beat me!

merlight 09/17/14 10:05 PM

Thanks for squeezing a response from ZOS. It shed some light on two blurry and one really, really dark matter...


All times are GMT -6. The time now is 08:15 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI