WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   OpenRDX: Community Chat (https://www.wowinterface.com/forums/forumdisplay.php?f=107)
-   -   5.4 Ptr (https://www.wowinterface.com/forums/showthread.php?t=46842)

Fhait 07-21-13 05:34 AM

5.4 Ptr
 
I took a look at the 5.4 PTR today.

All my addons seem to be loading, except for RDX.

RDX appears to be running however. I get the VFL messages when I log in, and when I type /RDX HELP I get the usual /RDX commands (/rdx toggledesk, /rdx show, etc)

The RDX button is missing however. And my regular desktop (Totorox) doesn't load. I tried a /rdx masterreset and got the dialog window asking me to confirm. When I clicked YES the UI reloaded like its supposed to but no RDX button appears.

Any ideas ?

= F

Bethan 07-27-13 02:38 PM

disclaimer : I am not a dev from RDX, I don't really understand how RDX is working, I just try changing "random" stuff to make it work and worked out this fix that work in my case, I do not claim that it work for everyone nor that it's the best way to fix it.

this is the hack I used to fix this on the ptr (and rdx seem to be working normaly afterward) :

in the Interface/Addon/RDX/PanelMgr/ClassicMenuBar.lua

line 184 :

txtpower:SetFont("Interface\\Addons\\RDX_mediapack\\sharedmedia\\fonts\\Acme7W.ttf", 8);

change to :

txtpower:SetFont("Fonts\\FRIZQT__.TTF",8);
txtpower:SetFont("Interface\\Addons\\RDX_mediapack\\sharedmedia\\fonts\\Acme7W.ttf", 8);


line 194

txtrdx:SetFont("Interface\\Addons\\RDX_mediapack\\sharedmedia\\fonts\\Adventure.ttf", 20);

change to :

txtrdx:SetFont("Fonts\\FRIZQT__.TTF",20);
txtrdx:SetFont("Interface\\Addons\\RDX_mediapack\\sharedmedia\\fonts\\Adventure.ttf", 20);


(in the end it should "just" add two line in the file).
Ideally, wait for sigg to make a "real" fix though.

Dridzt 08-01-13 02:55 AM

The problem is that the order of events firing during the loading process has changed again at least in the current PTR builds.

What I'm talking about is this.
http://wowpedia.org/AddOn_loading_pr...iables_Loading

A lot of addons have come to depend on events firing in a specific order and code as if that's a given without safeguards in place.
Assume that PLAYER_LOGIN will always fire after ADDON_LOADED for your addon so it's safe to do addon initialization at PLAYER_LOGIN etc.

Well as it happens that order is not guaranteed and is no longer the case in 5.4.
So if things don't change between the current PTR builds and 5.4 going live, addons will have to be smarter and not make assumptions on event order during the loading process.

Fhait 08-01-13 01:56 PM

PTR and RDX
 
Thanks for the description of the problem Dridzt.

For the record, it would appear that the most recent build of the PTR has restored functionality to RDX.

Bethan, it is possible that your 'hacks' to the fonts did not actually fix anything for you but rather, while you were modifying your files, Blizzard fixed the issues on the PTR.

I am noticing one minor error that I will post in a separate thread.

= F


All times are GMT -6. The time now is 12:54 AM.

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