Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   What could be causing the player.z to be off center on gmap? (https://forums.graalonline.com/forums/showthread.php?t=134267948)

Cubical 02-27-2013 09:53 PM

What could be causing the player.z to be off center on gmap?
 
Today was the first day I logged onto my test server in a few months so I don't know if this is something I caused prior to my hiatus but I've checked all my code and none of it has anything that would alter a players z axis. I'm assuming it's something I've done while coding. and not an error with the gmap which is why I'm posting it here as opposed to tech support. Does anyone know what causes this and a resolution for it?

Large pic inc

http://i.imgur.com/y4ldHFM.jpg

Cubical 02-27-2013 10:03 PM

The trial account is correct and the gold account is messed up for anyone who can't figure that out. Also on the Gold account when either the players avatar or it's true location touches anything it doesn't trigger playertouchesme.

DustyPorViva 02-27-2013 10:06 PM

Could possibly be the GUI's that are there when you're in trial mode causing the issue. Last I heard v6 didn't like messing with the size of GraalControl at least when it came to polygons. This could be the same issue... do you have the same problem with trials in v5?

Cubical 02-27-2013 10:08 PM

The trial is the one that functions correctly.

Draenin 02-28-2013 01:31 AM

If you reset a player, you should be able to fix it.

As for what causes it, usually it's a change in the player's z-height somewhere that probably wasn't changed back afterwards, leaving you kind of stuck that way. I have experienced something similar, but it's a result of using things like jumping and flying on terrain maps.

Cubical 02-28-2013 12:35 PM

Quote:

Originally Posted by Draenin (Post 1714421)
If you reset a player, you should be able to fix it.

As for what causes it, usually it's a change in the player's z-height somewhere that probably wasn't changed back afterwards, leaving you kind of stuck that way. I have experienced something similar, but it's a result of using things like jumping and flying on terrain maps.

Yeah, I know resetting resolves it but I dont know what causes it to do that to begin with.

xXziroXx 02-28-2013 06:22 PM

Never had this problem.

Draenin 03-02-2013 02:35 AM

Do you have any scripts at all that affect a player's z-height? Might want to try resetting a player, and then messing around until you can replicate the bug.

Also, is it just me, or is your map not entirely flat? I mean, the ground itself looks flat, but the border of your map in the screenshot looks slightly tilted to one side for some reason.

Cubical 03-02-2013 03:13 AM

It's randomly happens, I've tried all I can think of to replicate the bug but couldn't. I'm sure it will come back again. As for the map, yes it is a terrain map using a lighter tileset. The height changes for the entire map are very subtle.

Draenin 03-02-2013 03:48 AM

Quote:

Originally Posted by Cubical (Post 1714517)
It's randomly happens, I've tried all I can think of to replicate the bug but couldn't. I'm sure it will come back again. As for the map, yes it is a terrain map using a lighter tileset. The height changes for the entire map are very subtle.

I know you won't like hearing this, but that could be the cause of your problem. I'm not saying it is, but it could be.


All times are GMT +2. The time now is 02:55 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.