[Release] Get Height

01/31/2011 23:20 ILikeItEasy#16
hehe.. I've learned this from Bakabug after struggling with it for a long time :P
02/02/2011 21:02 OnlyLT#17
/coordinates and you know xD
02/03/2011 09:42 ILikeItEasy#18
Quote:
Originally Posted by meak1 View Post
...

And urs not Correct =P

--> return (int)((oHeight)pHeight)(X-262143,Y-262143)*10; <-- Correct
Still not correct ^^

return (int)(((oHeight)pHeight)(X-262144,262144)*10);

except for the 262143/262144 thingy, I forgot to include the () around the *10. Without them the z value will be rounded down BEFORE it is multiplied by 10.

It can be that that you also need to add 0.5 to the z value before you round it down, but let's face it.. a difference of max 1 (of even 10) is not really noticable :P Nevertheless, I will change the formula in the opening post to correct it.
03/07/2011 11:49 sidor#19
what is the safe "Z" value for ug/og to log in wihout teleport?
i trying on my noob and cant login again:P (too high)
for d3
emok
d1 and foe
03/07/2011 16:14 ILikeItEasy#20
dunno.. but lol, this thread is about staying on the ground!! ;P