Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   PlayerWorlds Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=15)
-   -   An important message to ALL playerworlds (https://forums.graalonline.com/forums/showthread.php?t=75114)

zokemon 07-05-2007 10:10 AM

An important message to ALL playerworlds
 
1 Attachment(s)
This is an important message to all playerworlds be you Gold, Classic, Hosted or Private. A lot of accounts recently have been getting this bug that makes your player float for some reason. I am suspecting it is some script error on the login server but I am not for sure this is true.

This only seems to be happening on certain servers, and this is why:

The glitch is a result of your player.z variable being not initialized to -51 when you login. People don't experience this on some servers because those servers have scripts which do initialize that variable.

So how do I, as a server Manager [or scripter] fix this glitch for myself, my staff and anyone that visits my server?

Simple! Almost every server nowadays has a main system npc that sets things such as enablefeatures() or showstats() as well as tiledefs for the player. Just shoot this line right inside that npc's onCreated() function (Clientside!) and you are set:

NPC Code:
  player.z = -51;



I really hope every server sets this since none of the Graal admins seem to be able to find another fix for it. If you have this bug and know a server that isn't fix this, please inform their Manager. If they still won't fix it, kindly give me the name of their server and I'll be glad to have a word with them.

Attached is a sample image of the glitch.

Thank you,
- Zero

I didn't know if I should post this in the playerworlds forum or the main forum since it is rather important. If the main forum is more appropriate, please move it there mods!

MysticalDragon 07-05-2007 10:12 AM

Nice!!!!!!!!! This was the bug my account has had since i've upgraded, On every gold/private server my account was messed up. I had no idea, it was because of my z coordinates.Thank you very much, Now I can use my account <3 Much love.

HoudiniMan 07-05-2007 10:50 AM

Quote:

Originally Posted by Stefan
*HoudiniMan: Stefan, we have a small bug you should know about
*HoudiniMan: There is a thread on the forums at [this thread]
*Stefan: hmmm
*Stefan: its incorrect though
*Stefan: you should set player.z = -51;
*Stefan: also on the login server the z value is not modified
*Stefan: someone should track what z value they have
*Stefan: i dont think that is really the problem (player.z), on zone there was always a player.z = 0 and mystical dragon said he was bugged there
*Stefan: for the z
*Stefan: there is however the possibility that the z value is not reset on server switch
*Stefan: houdini i have added a player.z = -51 on the login server,
*Stefan: although i dont think that that is the problem

*HoudiniMan: why -51?
*Stefan: because the legal range is -50 to 170
*Stefan: everything outside will switch back to the automatic z detection
*Stefan: e.g. on kingdoms the z is automatically adapting to the terrain height
*HoudiniMan: right, so a flat gmap should autodetect z=0 if you set it outside the legal range
*Stefan: yes

There you have it folks

zokemon 07-05-2007 10:55 AM

Thank you Houdini.
I edited my original post to say -51 instead of 0.

Admins 07-05-2007 11:02 AM

Although this is not the problem. The new gserver seems to have a small problem where some values (canspin, playerz) are overwritten in certain cases, will fix that soon.

Crow 07-05-2007 07:49 PM

I would be happy if you would also try to look into the body attribute resetting problem when you have the time to do so :)

zokemon 07-07-2007 04:30 PM

Quote:

Originally Posted by Crow (Post 1325834)
I would be happy if you would also try to look into the body attribute resetting problem when you have the time to do so :)

Me or Stefan?
I only really looked into this z problem because I heard about enough people getting this error (even though I never did) and my server seemed to be one of the only private servers that didn't have it (because I already have z set for other reasons).

I'll try to look into the body thing though, yes.

And can someone sticky this temporarily until it is fixed and/or the message gets out to everyone?

EDIT
On the body thing:
I did notice one person who came on my server had a problem where his attr[5] and attr[6] (arms and legs for gold bodies) wouldn't show up for him even though other people could see them. After a little debugging between him and I, we found out that this only happened when his player.zoom was altered (which is altered on my server by default) as he could see them when his zoom was set to 1 (normal). I don't know if this is directly related but I'm sure there is a similarity somewhere between these two things and possibly all these strange happening as of late.

And on researching the body error: You will probably have to talk to me directly or so as I have yet to find someone else whom I've talked to with this glitch.

Cubical 07-07-2007 04:34 PM

Quote:

Originally Posted by Crow (Post 1325834)
I would be happy if you would also try to look into the body attribute resetting problem when you have the time to do so :)

I have this problem too, but its only on one account all my other ones are fine.

zokemon 07-07-2007 04:45 PM

Quote:

Originally Posted by Cubical (Post 1326515)
I have this problem too, but its only on one account all my other ones are fine.

Well Cubes, I need to talk to you anyways!
:: points to signature ::

Crow 07-07-2007 05:38 PM

Tried it, didnt fix it though.
I was talking to Stefan btw.

zokemon 07-07-2007 09:09 PM

Quote:

Originally Posted by Crow (Post 1326538)
Tried it, didnt fix it though.
I was talking to Stefan btw.

:: stabbed in the heart ::

Crow 07-07-2007 09:19 PM

Also to you of course...

PrinceDark 07-10-2007 10:08 AM

Yeah I have that body problem too on all my accounts. I have had it for quite a long time.

Admins 07-10-2007 01:05 PM

I have found the problem, it is connected to some new stuff we have added, it will be fixed with the new Graal version (soon).

Matt 07-10-2007 03:30 PM

Great news. :)


All times are GMT +2. The time now is 12:09 AM.

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