Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 12-30-2005, 01:13 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
Exclamation Graal v4.03 revision 2 released

Get the latest version for Windows or Linux by connecting to the login server.

Updates:
- UDP is disabled by default now, but it is automatically enabled when you want to use the microphone (since UDP is currently required for using the voice chat in Graal); UDP can speed things up for you in the game (less lag when seeing other players moving), but it is often not working for people so it's now disabled by default, can be reenabled by the player
- fixed copying of text (Windows)
- fixed the keyboard-remap-thing in the options window (Linux)
- when pressing up/down in the chatbar then it is not showing the selection anymore (it was highlighting wrong text)
- reconnecting to the login server doesn't mess up the F8 window anymore
- npc.canbepulled on clientside works correctly now (although its deprecated)
- fixed crashing problems when classes are updated
- removed the buggy GuiMenuBar and added a new control: GuiMenuCtrl; it is quite simple to use, you add menus with addMenu(menuname) and can then access the menus by menus[index], each menu is a GuiTextListCtrl, so you can add menu entries with menus[0].addrow(id,menuentrytext) etc.; here an example:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
addGuiControls();
}

function 
addGuiControls() {
  new 
GuiWindowCtrl("MenuTest_Window") {
    
profile GuiBlueWindowProfile;
    
0;
    
width height 200;
    
canmove true;
    
canmaximize true;
    
canminimize true;
    
canclose false;
    
text "Menu Test";
    
    new 
GuiMenuCtrl("MenuTest_Menu") {
      
profile GuiMenuBarProfile;
      
5;
      
24;
      
width 190;
      
height 20;
      
horizSizing "width";
      
setIconSize(16,16);
      
      
with (addMenu("File")) {
        
icon.drawimagestretched(0,0,16,16,
          
"mud_apple.png",0,0,32,32);
        
clearRows();
        
addRow(0,"Hello");
        
addRow(1,"Close"); 
      }
      
with (addMenu("Edit")) {
        
icon.drawimagestretched(0,0,16,16,
          
"mud_stone.png",0,0,32,32);
        
clearRows();
        
setIconSize(16,16);
        
with (addRow(0,"Hmmm")) {
          
icon.drawimagestretched(0,0,16,16,
            
"mud_loaf.png",0,0,32,32);
        }
        
addRow(1,"Ok Dokey Schlokey");
      }
    }
  }
}

function 
MenuTest_Menu.onSelect(menuname,selid,seltext,selindex) {
  echo(
"menu selected: " menuname " - " selid 
    
" - " seltext " - " selindex);

Basicly you only need addMenu and addRow, but the example also shows how to use icons and such. I have attached the 3 images required for this.

Update: Forgot to mention this:
- Alt+4 displays the incoming and outgoing data (in bytes/sec)
- Alt+5 displays the fps (frames per second) in Graal 3D (in Graal2D there are always 20 fps)

Update: Also uploaded the new Mac version
Attached Images
   
Reply With Quote
  #2  
Old 12-30-2005, 01:18 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Stefan
- fixed the keyboard-remap-thing in the options window (Linux)
- reconnecting to the login server doesn't mess up the F8 window anymore

...

- removed the buggy GuiMenuBar and added a new control: GuiMenuCtrl; it is quite simple to use, you add menus with addMenu(menuname) and can then access the menus by menus[index], each menu is a GuiTextListCtrl, so you can add menu entries with menus[0].addrow(id,menuentrytext) etc.; here an example:
I love you, Stefan.
__________________
Skyld
Reply With Quote
  #3  
Old 12-30-2005, 03:29 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Back off Skyld! Stefan's mine!
__________________
Reply With Quote
  #4  
Old 12-30-2005, 04:07 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
I already called marriage. ;[
Reply With Quote
  #5  
Old 12-30-2005, 04:40 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Yen
I already called marriage. ;[
And Stefan probably called the police .
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #6  
Old 12-30-2005, 11:13 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Decent menu system, and by copying of text, did you mean the bug where it copied past the End of Selection mark?
__________________


[06:24:19] * Parts: Skyld ([email protected]/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #7  
Old 12-30-2005, 02:31 PM
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
Quote:
Originally Posted by ApothiX
Decent menu system, and by copying of text, did you mean the bug where it copied past the End of Selection mark?
Yes
Reply With Quote
  #8  
Old 12-30-2005, 08:45 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by Stefan
Yes
Sounds kinda forced...
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 11:43 PM.


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