Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Statue Bug (https://forums.graalonline.com/forums/showthread.php?t=63163)

bumbo 01-03-2006 02:08 AM

Statue Bug
 
Server:Delteria
Level:Multiple levels but for the sake of convience gphangout_halloffame.nw
Occurance:Whenever the level is updated
Other People:Yes, everyone using V4 that I have spoken to are having this issue
Steps to follow:Just have one of the staff update level and if there is a statue in it set to X+.5 (ie:x=13.5 and it positions the statues @ 13)
Graal version:4.0.3.2

I am the current GP Captain on Delteria and am responsible for updating this statue room. This is getting quite annoying because everytime I upload the level or say update level this issue occurs, it is getting quite cumbersome. These are not extravigant scripts, acctually they are quite the opposite.
Example of Code:
NPC Code:

// NPC made by Bumbo Drakken (GP Captain)
//#CLIENTSIDE
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,secure--bumbo--head1.png;
setcharprop #C0,orange;
setcharprop #C1,black;
setcharprop #C2,black;
setcharprop #C3,black;
setcharprop #C4,black;
setcharprop #n,Bumbo;
setcharprop #2,bibleburners-shield.png;
setcharprop #8,cainbody.png;
setcharprop #P(1),hat104.png;
shieldpower = 1;
ap=100;
dir = 2;
x=54.5;
}


Admins 01-03-2006 02:15 AM

What exactly is happening? Also why don't you put that code on serverside (remove the //#CLIENTSIDE line) ?

Skyld 01-03-2006 02:26 AM

Quote:

Originally Posted by Stefan
What exactly is happening?

Quote:

Originally Posted by bumbo
if there is a statue in it set to X+.5 (ie:x=13.5 and it positions the statues @ 13)

I think he means positions are being messed up somehow.

Magadal 01-03-2006 04:43 PM

Often happens to me that someone has to do upload level before NPCs with an x+=.5; script or whatever appear at their right location...Only with v4.

bumbo 01-03-2006 05:20 PM

Quote:

Originally Posted by Skyld
I think he means positions are being messed up somehow.

yes, this is exactly what I mean

In the case of the NPC I posted; instead of showing up at 54.5 it was showing up at 54.

I have changed the NPC over to Serverside and it seems to have fixed the problem.
(P.S. I always thought that Statue NPCs were supposed to be Clientside)

Admins 01-03-2006 11:15 PM

Eventually the script is executed before the position is received, I don't recommend changing the npc attributes in the created-statement of the client side at all.

Magadal 01-04-2006 03:17 PM

Lol Stefan :> You know Enton...I know that you know him xD. He always said satue NPCs should be clientside :p.


All times are GMT +2. The time now is 04:48 AM.

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