Site menu


[DS]: Half-Life Server
[DS]: Half-Life Server


[DS]: CS:S GunGame v34 Server
[DS]: CS:S GunGame v34 Server


[DS]: CS:S v34 Server
[DS]: CS:S v34 Server


Search

add_newAdd submission
Latest submissions

<JAM>
m1-palinka


HL-HEV
hl-hev


Currentzone Fix UI

Добавил: The DSystem
2005-06-16 00:06:00
9 views
only zooms to the current continent rather than the current zone. This behaviour persists until the first time you cross a zone or area boundary. This renders many AddOns unusable immediately after a User Interface reload, for example MapNotes. This bug also means that if you open the world map you are presented with the continent rather than the zone map. The Fix: ------- This AddOn fixes this behaviour. The fix is smart, so that once SetMapToCurrentZone() starts behaving normally, the fix turns itself off to avoid unnecessary overhead. For coders: ---------- You are welcome to extract the core functionality of this Addon and integrate it into your own AddOn if you like, provided you meet some conditions (see below). To do so, simply copy the single CurrentZoneFix_SetupFix() function and add it to your AddOn. When you do so, either rename it appropriately (e.g. MyAddOn_CurrentZoneFix_SetupFix), or declare it as a local function. This avoids clashing with other AddOns that also include it. It only needs to be called once, which is best done in an OnLoad function, like it's done in the CurrentZoneFix AddOn. The CurrentZoneFix_SetupFix() function is smart enough to detect if the fix is already present, so there shouldn't be any problem if multiple AddOn authors decide to include this in their AddOn. It also handles different versions of CurrentZoneFix being present and attempts to make sure the latest version is the active one.
The bug as of interface version 1500: ==================================== When you reload the User Interface in-game, the Blizzard API function SetMapToCurrentZone() doesn't work correctly and
File Name:
currentzonefix_21.0_1500.zip
File Size:
2.24 KB
Download Last 2 Week:
3
Downloads All Time:
27
Share:
Keywords: