Chinchilla icon indicating copy to clipboard operation
Chinchilla copied to clipboard

Compass Error in instances

Open arieh opened this issue 5 years ago • 3 comments

Compass.lua#31 - seems like GetPlayerFacing() might return nil

I solved it by doing

        local angle = 0
	local facing = GetPlayerFacing() or 0

	if rotateMinimap == "1" then
		angle = -facing or angle
	end

arieh avatar Mar 15 '19 12:03 arieh

Looks like they changed how maths works and we can't have negative nil any more. 😛 Oh well.

Ravendwyr avatar Mar 15 '19 20:03 Ravendwyr

...or they simply made GetPlayerFacing() not work at all in dungeons. Welp.

Ravendwyr avatar Mar 15 '19 21:03 Ravendwyr

I think it's negative nil since the rotating map still works reliably - i think they have some rate limiting or something like that. it just sometimes returns nil instead of 0

arieh avatar Mar 29 '19 06:03 arieh