Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: siweia
Forum: PTR API and Graphics Changes 07-07-18, 10:47 PM
Replies: 31
Views: 32,869
Posted By siweia
I found this in LeatixPlus by using "RunScript",...

I found this in LeatixPlus by using "RunScript", and it does not produce memory waste.


local pTimer = 0

local function UpdateCharacterCoords(self, elapsed)
pTimer = pTimer + elapsed
if pTimer >...
Forum: PTR API and Graphics Changes 06-22-18, 10:59 PM
Replies: 31
Views: 32,869
Posted By siweia
I tried the code, the memory usage went up each...

I tried the code, the memory usage went up each time you switch zones on the worldmap.
Forum: PTR API and Graphics Changes 06-21-18, 12:14 AM
Replies: 31
Views: 32,869
Posted By siweia
Does anyone know how to scale the worldmap...

Does anyone know how to scale the worldmap properly?
If you just simple SetScale, you won't be able to switch zones by click on different part of the maps.
Forum: PTR API and Graphics Changes 06-17-18, 12:40 PM
Replies: 31
Views: 32,869
Posted By siweia
local mapID, position local formatText = ":...

local mapID, position
local formatText = ": %.1f, %.1f"

hooksecurefunc(WorldMapFrame, "OnMapChanged", function(self)
mapID = self:GetMapID()
end)

local function CoordsUpdate(player,...
Showing results 1 to 4 of 4