Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Scripted controls no longer working? (https://forums.graalonline.com/forums/showthread.php?t=86748)

DustyPorViva 07-07-2009 11:17 AM

Scripted controls no longer working?
 
None of my scripted window controls work anymore. For example, this script:
PHP Code:

//#CLIENTSIDE
function onCreated() {
  new 
GuiWindowCtrl("Dusty_Test") {
    
profile GuiBlueWindowProfile;
    
10;
    
10;
    
width 160;
    
height 80;
    
text "Window";
  }


It is created, apparently, because it is stealing focus. player.chat = Dusty_Test.width; echoes as well. However, I see absolutely nothing.

edit: I thought it was all controls, but apparently it is just windows. I tried out a simple control and that seems to work, but when I changed it back to a window nothing displays.

cbk1994 07-07-2009 12:02 PM

Have you tried different profiles? Can you see other windows that were there before?

DustyPorViva 07-07-2009 06:17 PM

I'm not sure what profiles are available. I have tried a profile.bitmap and that didn't seem to work either.

LoneAngelIbesu 07-07-2009 06:36 PM

Quote:

Originally Posted by DustyPorViva (Post 1504920)
I'm not sure what profiles are available. I have tried a profile.bitmap and that didn't seem to work either.

Try GuiWindowProfile.

Are you using "Dusty_Test" as a GUI control name, anywhere else?

DustyPorViva 07-07-2009 06:44 PM

GuiWindowProfile works...
Hmm, it seems ALL my default blue gui graphics are missing :/

Robin 07-07-2009 06:55 PM

Reinstall Graal or make new GUI window profiles, I think I posted a default Vista one in teh graphics forum :)

Crow 07-07-2009 07:08 PM

Quote:

Originally Posted by DustyPorViva (Post 1504929)
GuiWindowProfile works...
Hmm, it seems ALL my default blue gui graphics are missing :/

Yes, they are. I guess they are included in the executable though, since they still show up for me, and they are nowhere on my hard drive.

cbk1994 07-07-2009 07:32 PM

Quote:

Originally Posted by Crow (Post 1504935)
Yes, they are. I guess they are included in the executable though, since they still show up for me, and they are nowhere on my hard drive.

They're most likely in C:/Graal/levels3d/gui.

DustyPorViva 07-07-2009 07:38 PM

Ah well, I copied them over from an old Graal folder I had on a second drive. Seems to have fixed it.

I'd still like to know how ALL of those files just disappeared.

Crow 07-07-2009 08:48 PM

Quote:

Originally Posted by cbk1994 (Post 1504941)
They're most likely in C:/Graal/levels3d/gui.

I know they were there before, but they are not anywhere anymore. I ran a search on all of my partitions, nothing.

cyan3 07-08-2009 12:54 AM

2 Attachment(s)
Quote:

Originally Posted by Crow (Post 1504966)
I know they were there before, but they are not anywhere anymore. I ran a search on all of my partitions, nothing.

For some reason it doesn't install them anyone but they seem to work regardless of having the images or not, however it will detect the images if transfered to the correct folder. I know this because I changed the file name for the blue gui profile to the normal one. I also find it strange that I didn't have the images on my last Vista or Linux install but I did on my recently installed Windows XP.

Attached the gui folder.

Crono 07-08-2009 01:08 AM

The default blue gui doesn't completely load up for me anymore either. The f8 list still shows the ridiculous toon skin.

Robin 07-08-2009 09:45 AM

Quote:

Originally Posted by cyan3 (Post 1505033)
For some reason it doesn't install them anyone but they seem to work regardless of having the images or not, however it will detect the images if transfered to the correct folder. I know this because I changed the file name for the blue gui profile to the normal one. I also find it strange that I didn't have the images on my last Vista or Linux install but I did on my recently installed Windows XP.

Attached the gui folder.

imho that gui is far sexier than the blue.

cyan3 07-08-2009 12:29 PM

1 Attachment(s)
Quote:

Originally Posted by Robin (Post 1505122)
imho that gui is far sexier than the blue.

The scripted rc also looks nicer with this gui style but the only problem is that the images change and not the formatting for the style such as font colour.

DuBsTeRmAn 07-09-2009 12:48 AM

Quote:

Originally Posted by cyan3 (Post 1505136)
The scripted rc also looks nicer with this gui style but the only problem is that the images change and not the formatting for the style such as font colour.

How did you get that ''Graal'' in there?


All times are GMT +2. The time now is 05:40 AM.

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