WoWRoster Profiler Changes..

Front Page news articles

WoWRoster Profiler Changes..

Postby Ulminia » Fri Sep 14, 2012 8:02 am

Soon ial be releasing a new version of Profiler this will be a GP and CP all in 1 addon .... doing so will solve all current db issues with the addon. Making it a lil larger but faster and more user friendly :)
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: WoWRoster Profiler Changes..

Postby tuigii » Thu Sep 20, 2012 11:57 am

:thumright:

That should take care of the issues with the Guild Profiler addon.

What I can reproduce every time:
addon: wowrgp_2.3.0.zip - file wowrgp - line 123:
frame:OnEvent(event, arg1) - the ADDON_LOADED is fired.
The function frame:startup(); (line 141) will be called.
The nasty thing: Line 143: Guild_name = GetGuildInfo("player"); will (some times / every time /...) result in a NIL value.
So the rest of the init process will bail out and pop a nice LUA error box.
Replacing everywhere GetGuildInfo("player") with GetGuildInfo("Nowwhat") (my Officer main) will solve all issues.
So, "player" isn't known when ADDON_LOADED is fired - it will be valid afterwards in the "wow boot" process, like after http://www.wowwiki.com/AddOn_loading_process the event PLAYER_LOGIN.

I know this is NOT logic at all, the other addon, wowrgp_2.3.0.zip, inits the same way - and does the job...

I could reproduce this on 3 PC differently. All using EU - FRfr official wow servers. Clean installs, empty savedvariables LUA files - or not.

I patched the addon "" with the test code I found over here: http://www.wowwiki.com/API_GetGuildInfo
The error I'm talking about is even discussed over there:
If using with UnitId "player" on loading it happens that this value is nil even if the player is in a guild. I wrote a little function which checks in the GUILD_ROSTER_UPDATE and PLAYER_GUILD_UPDATE events, if guild name is available. As long as it is not, no actions are fired by my guild event handling.

Merging these two addons to one will be a "should have done that years ago" solution :thumright:

Btw: Look here: downloads/?cat=3
When clicking on "WoWRoster-Profiler" the downlaod proposed is "wowrgp_2.3.0.zip" (7,5 Kb in size).
When clicking on"WoWRoster-GuildProfiler" the download proposed is "wowrcp_2.3.0.zip" (123,16 KB size).
This inversion could introduce this movement :bash:

Note also that "Libs\AceDB-3.0\AceDB-3.0.xml" is mentioned in the TOC file wowrcp - but that part of the ACE lib is missing - check your wow error log file.

Anywway: keep up the good work :thumbs:
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: WoWRoster Profiler Changes..

Postby Ulminia » Thu Sep 20, 2012 4:37 pm

i fixed the downloads
Im going to test the PLAYER_LOGIN event and see if i can fix the guild issue which is still causing issues with gp side of cp ><
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: WoWRoster Profiler Changes..

Postby Ulminia » Thu Sep 20, 2012 9:20 pm

Solved the guild issue ... GUILD_ROSTER_UPDATE fires untill all data is aval but the addon now uses this multi even to see when the guild name and server are set then when they are then loads/creates the guild profile and the addon functions as intended
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to Headlines

Who is online

Users browsing this forum: No registered users and 0 guests

cron