Download
(1Kb)
Download
Updated: 12-10-09 12:07 AM
Pictures
File Info
Updated:12-10-09 12:07 AM
Created:08-16-09 03:32 AM
Downloads:2,911
Favorites:26
MD5:

PatchFix

Version: 1.1
by: SDPhantom [More]

Note: PatchFix has been discontinued. All observed errors have been fixed as of patch 3.3.3.

PatchFix is now aware of the running client's build number and will refuse to load and display a warning message in chat if it differs from the build it was coded for. When this happens, please delete PatchFix and check back for any updates. This is to prevent conflicts within the default UI when Blizzard issues a permanent fix to these problems.



Coded for build #10958 (Dec 1 2009)



Temporarily fixes the following errors in patch 3.3.0:

  • BasicControls.xml:48 - message() references old frame name. ScriptErrors was changed to BasicScriptErrors
  • WatchFrame.lua:244 - Default value not set for WatchFrame.baseAlpha. It's set by VARIABLES_LOADED, but the calling event, PLAYER_ENTERING_WORLD, occasionally fires beforehand, causing a math operation on this variable.



Version history:
  • ** - Build Increment to 10958 (3.3.0) (No change)
  • ** - Build Increment to 10505 (3.2.2a) (No change)
  • ** - Build Increment to 10482 (3.2.2) (BattlefieldMinimap load error fixed by patch)
  • ** - Build Increment to 10314 (3.2.0a) (No change)
  • 1.1 - Added build checking code
  • 1.0 - Initial release



Notes to add:

This code only fixes errors within the default UI.
Undocumented changes a patch brings that breaks other addons will NOT be covered.
This includes, but is not limited to the name change of GetDifficultyColor() to GetQuestDifficultyColor().

Post A Reply Comment Options
Unread 04-29-10, 02:16 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2324
File comments: 132
Uploads: 38
I've returned for the moment to check up on WoW. It seems they fixed the problem with the message() function. I'm not seeing any of the other errors appear as of yet.

I did notice a glitch, when the Barbershop UI is forced to load, the banner pops up, this is because the banner wasn't created as a hidden frame on load.

I do have a fix made for this, but its priority isn't high enough to warrant an upload just for it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 12:28 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2324
File comments: 132
Uploads: 38
np

I wrote this fix a few weeks ago to get rid of the errors at load time so I can start debugging my addons for the 3.2 patch. It took me a while to track down the BattlefieldMinimap load glitch causing a chain reaction for UIParentLoadAddOn() to fail and figure a way around the call to BattlefieldMinimap:Show() running regardless of if BattlefieldMinimap actually loaded or not.

I only recently moved this code into its own addon from my live code testing addon because frequent syntax errors developing code would nullify this fix and the default UI errors would overwrite the error explaining why the script wasn't run.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 07:21 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Thank you!

Thanks from this fix. Was driving me completely mad.



Who said that?!?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.