View Single Post
03-22-05, 08:56 AM   #1
Remelio
 
Remelio's Avatar
Join Date: Dec 2004
Posts: 696
Content Patch 3/22

Here are some additional changes that concern the UI:

* Level information is no longer available to the scripting system for dangerously high-level enemies.
-- This will now be reported as -1
* When you are using group loot or need before greed looting systems and are looting a bind on pick up item, the "This item will bind to you" yes/no dialog box pops up after you click the "roll dice" button, but before it accepts your roll.
-- For those of you using a UI mod that already does this, you might want to remove that UI mod
* Added UI to the addon customization screen to specify how much memory is available to the scripting system.
* Added the "date" and "time" functions to the UI scripting system.
-- Lua functions date() and time()
* If you have files in the Interface\FrameXML folder, they will be moved to Interface\FrameXML.old after a patch.
* Added IsMovable(), SetMovable(), IsResizable(), SetResizable() member functions to frames in the scripting system.
* Added the "pcall" and "xpcall" functions to the UI scripting system.
-- Lua functions pcall() and xpcall()
* The .toc file for addons supports a new keyword: "DefaultState," which can be enabled or disabled, and specifies whether or not an addon is enabled or disabled by default when first installed.
-- Useful for including options in a UI that not everybody would want on by default
* Fixed framerate problem with UI modifications that use overlapping buttons.
-- As posted before, you might want to make sure that these values are set properly now that the bug has been corrected (For more info see This Thread)
* UnitFacing() is no longer available.
* GetDate() is no longer available.
* GetBuildVersion() is no longer available.
* GetCurrentPosition() is no longer available.
* If the scripting system exceeds available memory and then recovers (by cleaning up variables, etc.), a new event will be sent "MEMORY_RECOVERED", and the out of memory dialog will be hidden.

Also, please note that if you have a clock based on Telo's Clock you will need to get an updated version (Keep an eye here for it) - It used GetCurrentPosition() to calculate your run speed, and thus is broken with the current patch. Also note this goes for almost all other ui mods that calculate your run speed - they will be broken and need patching.
  Reply With Quote