Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-11-2006, 06:25 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
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?
Reply With Quote
  #2  
Old 08-13-2006, 10:45 PM
Darkyoshi12345 Darkyoshi12345 is offline
Darky
Join Date: Jun 2006
Posts: 153
Darkyoshi12345 is on a distinguished road
Graal 4.1 messed up quite a lot of things, especially script-related - we probably have to wait until Stefan fixes the stuffs.
Reply With Quote
  #3  
Old 08-14-2006, 07:59 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Ah ok, I dont feel like finding a bypass.. hopefully this all gets fixed.. BAD STEFAN *pulls out whip*
Reply With Quote
  #4  
Old 08-15-2006, 12:54 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The TreeView control has been fixed to correctly resize. You are sure that it has the correct width? You can also do "fitparentwidth = true"
Reply With Quote
  #5  
Old 08-15-2006, 01:08 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Thanks - that fixed it. *Passes a slice of pizza*

You deserve it . You get a whole pie when Streaming of flash works/explained
Reply With Quote
  #6  
Old 08-15-2006, 04:57 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
Quote:
Originally Posted by KuJi
*Passes a slice of pizza*
When I helped you, I got nothing in return *wants pizza*
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote
  #7  
Old 08-15-2006, 05:11 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by contiga
When I helped you, I got nothing in return *wants pizza*
That's because you commented out what you did because it never worked right

*passes half a slice of pizza*
Reply With Quote
  #8  
Old 08-16-2006, 04:10 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
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.
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote
  #9  
Old 08-16-2006, 06:51 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
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?
Reply With Quote
  #10  
Old 08-16-2006, 10:09 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
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.
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:50 PM.


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