Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   Windows v6 beta test (https://forums.graalonline.com/forums/showthread.php?t=134257598)

ffcmike 09-23-2011 05:32 PM

Quote:

Originally Posted by Stefan (Post 1668917)
I don't see this problem, is that related to the problem where you place stuff on top of the Graal control?

I'm not sure what you mean, this is a built-in say2() rather than a scripted GUI, unless placing other GUIs on top of Graal control could somehow affect it?

Admins 09-23-2011 10:00 PM

Well those signs look perfectly fine for me on many servers.

ffcmike 09-23-2011 10:13 PM

Quote:

Originally Posted by Stefan (Post 1668937)
Well those signs look perfectly fine for me on many servers.

Strangely enough it's not happening now right after opening the client, but had occurred when I'd had the client open for some time, something may have triggered it.

Admins 09-24-2011 01:12 AM

Playerlist update:
We have changed the code to not recreate/hide the playerlist anymore when you switch to another server. We have also fixed problems with the docking option, so it should work much better now :) There is still a problem with the playerlist becoming smaller each time you open Graal, will try to fix that.

Admins 09-25-2011 08:02 PM

Script help update:
The /scripthelp command on servers now include v6 script functions and variables :)

Emera 09-25-2011 09:04 PM

Quote:

Originally Posted by Stefan (Post 1668955)
Playerlist update:
We have changed the code to not recreate/hide the playerlist anymore when you switch to another server. We have also fixed problems with the docking option, so it should work much better now :) There is still a problem with the playerlist becoming smaller each time you open Graal, will try to fix that.

Love you :D Been playing with GUI playerlist for months. Good to be back with the old one!

oo_jazz_oo 10-03-2011 01:14 AM

1 Attachment(s)
GuiShowImgCtrl's sometimes does not update when in an external window.

Try the attached script (I tried to put it in this post, but got that stupid security error)

When you press change image while the window is internal, it will update with no problems.
When you pop the window out, then press change image, it will usually change once, then stay at that image until the window is resized.

Note: The image is actually changed. If you echo the GuiShowImgCtrl image after changing, it is changed. The image itself is just not updated.

fowlplay4 10-03-2011 01:24 AM

Similar to the GuiShowImgCtrl bug above.

Changing the value in a GuiSliderCtrl (internal or external) after it's been created doesn't update the position of the slider on the GUI.

oo_jazz_oo 10-03-2011 01:39 AM

Another thing I just noticed with GUI windows. (Idk if this was the same in v5)

If a GUI control within the window's width or height extends the boundary of the window, you cannot resize the window where it overlaps. (Assuming because your clicking on the control, and not the window boundary)
Even though the control is hidden underneath the borders of the window, it seems to be above the window border.

If a GUI control passes the borders of a window, it should be hidden and not be able to be clicked.

ffcmike 10-11-2011 09:15 PM

Quote:

Originally Posted by ffcmike (Post 1666338)
It seems there's a problem with text shadow with the latest client, for instance what produces a dark blue shadow in order to emulate default HP display in V5 is producing fully white text.

V5:
http://img714.imageshack.us/img714/3166/v5hp.gif

V6:
http://img651.imageshack.us/img651/738/v6hp.gif

Here's what I'm doing within a class for level NPCs which also produces the same problem:

PHP Code:

temp.zoom $pref::graal::defaultfontsize/24;
temp.txt this.showtext(201this.1.5 this.hpoffxthis.this.hpoffy temp.zoom"""cb"temp.h);
temp.txt.zoom temp.zoom;
temp.txt.textshadow true;
temp.txt.shadowcolor = {001501};
temp.txt.shadowoffset = {11};
temp.txt.layer 3;
temp.txt.attachtoowner true


While I've fixed this for my custom HP display, I think this may also be happening with default HP display where you set this.hearts on a NPC.

I also just realised rotationcenter works by using a specific x + y rather than an offset, like:

PHP Code:

function onCreated(){
  
this.useowncenter true;
  
this.rotationcenter = {this.1.5this.2};


There may be a reason for this I'm unaware of but it made sense to me at first to do as:

PHP Code:

function onCreated(){
  
this.useowncenter true;
  
this.rotationcenter = {1.52};



Admins 10-12-2011 02:15 AM

The alpha of the shadowcolor is 1/255?

ffcmike 10-12-2011 02:23 AM

Quote:

Originally Posted by Stefan (Post 1670625)
The alpha of the shadowcolor is 1/255?

Presumably yes, except this is occurring with default HP display where this.hearts has been set on an NPC.

I'm also wondering if the minimise button on the playerlist is meant to be removed once the playerlist is docked to the border of the screen?
What makes this most frustrating is that when the playerlist is docked it always appears on top of other windows I have open, so it would be good to minimise it.

oo_jazz_oo 10-13-2011 08:06 AM

floor() or Math.floor() do not seem to be working. Math.pow() is not working either.

It seems the Math object is non-existent or something.

Using any of these functions results in
Quote:

Script: Function * not found
In the message console.

Admins 10-14-2011 12:59 AM

Math & co are just for flash compatibility, there is MovieClip.math.
Graal has partial support for using Flash vector graphics and simple scripts (inside swf) although we are currently not using it.

Stephen 10-14-2011 01:01 AM

Quote:

Originally Posted by Stefan (Post 1670846)
Math & co are just for flash compatibility, there is MovieClip.math.
Graal has partial support for using Flash vector graphics and simple scripts (inside swf) although we are currently not using it.

Is there an engine or some sort of open source code you could just plug into the system for better SWF support?


All times are GMT +2. The time now is 01:57 PM.

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