Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Trees =/ (https://forums.graalonline.com/forums/showthread.php?t=68029)

KuJi 08-11-2006 06:25 PM

Trees =/
 
Okay, I had a script that was perfect with tree nodes and all.

Well since someone messed with the trees (STEFAN :O) now its all glitched.

PHP Code:

      new GuiTreeViewCtrl(Hotel_Tree) {
        
profile "GuiBlueTreeViewProfile";
        
width Hotel_Scroll.width;
        
height Hotel_Scroll.height;
        
thiso.catchevent(name"onOpenMenu""onTreeView");
        
expanded 1;
      } 

It gets an object added to it when it recieves a trigger from the server. That works fine but it seems that it cuts off a nice part of it until the last sub group is the same width as the original:

EX:

Master Suite (Shows Master)
Suites
Rooms

If I add the acount AAAAAAAAAA it will show Master Suite but if I add about 3 A's it'll show Master Sui

wtf?

Darkyoshi12345 08-13-2006 10:45 PM

Graal 4.1 messed up quite a lot of things, especially script-related - we probably have to wait until Stefan fixes the stuffs.

KuJi 08-14-2006 07:59 AM

Ah ok, I dont feel like finding a bypass.. hopefully this all gets fixed.. BAD STEFAN *pulls out whip*

Admins 08-15-2006 12:54 AM

The TreeView control has been fixed to correctly resize. You are sure that it has the correct width? You can also do "fitparentwidth = true"

KuJi 08-15-2006 01:08 AM

Thanks - that fixed it. *Passes a slice of pizza*

You deserve it :). You get a whole pie when Streaming of flash works/explained :D

contiga 08-15-2006 04:57 PM

Quote:

Originally Posted by KuJi
*Passes a slice of pizza*

When I helped you, I got nothing in return :( *wants pizza* :rolleyes:

KuJi 08-15-2006 05:11 PM

Quote:

Originally Posted by contiga
When I helped you, I got nothing in return :( *wants pizza* :rolleyes:

That's because you commented out what you did because it never worked right

*passes half a slice of pizza*

contiga 08-16-2006 04:10 PM

Quote:

Originally Posted by KuJi
That's because you commented out what you did because it never worked right

*passes half a slice of pizza*

Ty.

Btw, perhaps Stefan should take a look at that also, since it does not work, while I don't see anything wrong at it.

KuJi 08-16-2006 06:51 PM

Quote:

Originally Posted by contiga
Ty.

Btw, perhaps Stefan should take a look at that also, since it does not work, while I don't see anything wrong at it.

With the movement? I'll post it if you want?

contiga 08-16-2006 10:09 PM

Ya, just post the vars that are being set, and explain what they are doing / are excist for.. and post the part that doesn't work. :)


All times are GMT +2. The time now is 06:30 AM.

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