Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Questions about V6
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-13-2007, 10:38 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
New script features

What are the new script features of v5?
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #2  
Old 07-14-2007, 01:06 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I would like to know this myself. I must say I have always been rather irritated with Graal for the lack of documentation for the scripting engine, there are so many functions listed on the Wiki that only tell you what type of variable you need to input and not actually anything important like what that variable is for or what exactly the whole function does.
__________________
Reply With Quote
  #3  
Old 07-14-2007, 01:08 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
Well i have the commands.rft for gs2 would that help you at all? I am pretty sure you have it but i am just putting it out there
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #4  
Old 07-14-2007, 01:15 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
I would also like to know how to set the server time on the start bar. I'm guessing that this would be a new script feature, as the login server has been able to set the server time on the start bar for some time now, but now that the start bar appears on all servers, it would beneficial to allow servers to set the time that shows on the start bar...right now it shows blank on anything other than the login server.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #5  
Old 07-14-2007, 01:39 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
We're waiting, I don't want the new scripting features to be a huge guessing game.
__________________
Reply With Quote
  #6  
Old 07-14-2007, 01:43 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
This I want to know asap!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #7  
Old 07-14-2007, 01:49 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
I will post the list of new features on the wiki tomorrow
Reply With Quote
  #8  
Old 07-14-2007, 01:54 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Stefan View Post
I will post the list of new features on the wiki tomorrow
Dont forgett to link us when you're done!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #9  
Old 07-14-2007, 11:36 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I'm still wanting to define read/write functions for variables, hopefully such a thing wouldn't be laggy.
__________________
Reply With Quote
  #10  
Old 07-14-2007, 11:40 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by coreys View Post
I would also like to know how to set the server time on the start bar. I'm guessing that this would be a new script feature, as the login server has been able to set the server time on the start bar for some time now, but now that the start bar appears on all servers, it would beneficial to allow servers to set the time that shows on the start bar...right now it shows blank on anything other than the login server.
I'm not sure if that toolbar will be accessible as an object to us. Would be great if it was though
Reply With Quote
  #11  
Old 07-14-2007, 11:43 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Twinny View Post
I'm not sure if that toolbar will be accessible as an object to us. Would be great if it was though
Serverlist_TaskBar.hide();
Serverlist_TaskButton_Toggle.hide();
__________________
Reply With Quote
  #12  
Old 07-14-2007, 11:45 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
Serverlist_TaskBar.hide();
Serverlist_TaskButton_Toggle.hide();
Is that all there is?
Reply With Quote
  #13  
Old 07-14-2007, 11:51 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
No...
PHP Code:
for (temp.iServerlist_TaskBar.controls) {
  echo(
i.name);

Messing with it can get kinda weird, I recommend simply doing Serverlist_TaskButton_Toggle.performClick(); on login if you wish to hide the TaskBar automatically. For some reason it doesn't appear to actually 'toggle' if you call the function again X_X
__________________
Reply With Quote
  #14  
Old 07-14-2007, 11:58 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
No...
PHP Code:
for (temp.iServerlist_TaskBar.controls) {
  echo(
i.name);

Messing with it can get kinda weird, I recommend simply doing Serverlist_TaskButton_Toggle.performClick(); on login if you wish to hide the TaskBar automatically. For some reason it doesn't appear to actually 'toggle' if you call the function again X_X
Yay i can edit the button text . Hell, i just removed the 'Start' button . Now when I change server, it still is deleted

I didn't think these objects would be available to edit but I think they will soon be read-only anyways.
Reply With Quote
  #15  
Old 07-14-2007, 12:01 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I want some way to trigger an event on all objects existing on the clientside or serverside =( Without having to manually add non-weapon objects by script, like I'm currently doing.

Edit: Please Stefan, hire/assign someone to do all the script documentation =( Its killing me.
__________________
Reply With Quote
  #16  
Old 07-14-2007, 12:08 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
I want some way to trigger an event on all objects existing on the clientside or serverside =( Without having to manually add non-weapon objects by script, like I'm currently doing.

Edit: Please Stefan, hire/assign someone to do all the script documentation =( Its killing me.
We could poke Skyld with a pointy stick until he does
Reply With Quote
  #17  
Old 07-14-2007, 12:08 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
Do
("-Serverlist").showTaskBar();
or
("-Serverlist").hideTaskBar();

Modifying the trial bar is not allowed though, if a server is doing that then it will be shutdown.
Reply With Quote
  #18  
Old 07-14-2007, 12:10 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Stefan View Post
Do
("-Serverlist").showTaskBar();
or
("-Serverlist").hideTaskBar();

Modifying the trial bar is not allowed though, if a server is doing that then it will be shutdown.
Make it read-only with no access to functions on trials?
Reply With Quote
  #19  
Old 07-14-2007, 12:22 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Twinny View Post
Make it read-only with no access to functions on trials?
Silly rabbit, tricks are for kids.
__________________
Reply With Quote
  #20  
Old 07-14-2007, 12:31 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
Silly rabbit, tricks are for kids.
The heck?
Reply With Quote
  #21  
Old 07-14-2007, 12:42 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Twinny View Post
The heck?
Thats about how much sense you made.
__________________
Reply With Quote
  #22  
Old 07-14-2007, 02:23 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I meant make the taskbar object unaccessible if the player is a trial
Reply With Quote
  #23  
Old 07-14-2007, 06:46 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
The clock is ticking
__________________
Reply With Quote
  #24  
Old 07-14-2007, 11:04 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Twinny View Post
I meant make the taskbar object unaccessible if the player is a trial
Stefan meant the bar on top that tells the player they are a trial and they are limited.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #25  
Old 07-14-2007, 11:25 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Yeah, I'm pretty sure that's what he meant.

Just don't have any scripts that do anything with it and you'll be fine

I guess this also applies to resizing the graalcontrol for trials (if it's even possible).
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #26  
Old 07-15-2007, 12:27 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by JkWhoSaysNi View Post
Yeah, I'm pretty sure that's what he meant.

Just don't have any scripts that do anything with it and you'll be fine

I guess this also applies to resizing the graalcontrol for trials (if it's even possible).
It's possible, that's why I need the serverlister back up so I can change that on Thamhic and not get in trouble. ._.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #27  
Old 07-15-2007, 12:42 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Inverness View Post
Edit: Please Stefan, hire/assign someone to do all the script documentation =( Its killing me.
:: is up for the job ::
__________________
Do it with a DON!
Reply With Quote
  #28  
Old 07-15-2007, 12:54 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by coreys View Post
It's possible, that's why I need the serverlister back up so I can change that on Thamhic and not get in trouble. ._.
I think he meant hosted/classic servers because I don't think trials can log onto UC servers.
Reply With Quote
  #29  
Old 07-15-2007, 12:55 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
I guess...lol
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #30  
Old 07-15-2007, 01:00 AM
dNeonb dNeonb is offline
OOB
dNeonb's Avatar
Join Date: Feb 2003
Location: Germany
Posts: 1,240
dNeonb is on a distinguished road
Send a message via ICQ to dNeonb Send a message via AIM to dNeonb Send a message via Yahoo to dNeonb
Quote:
Originally Posted by zokemon View Post
:: is up for the job ::
You can already view the new clientside functions. You just have to run graal with -listscriptfunctions and voila it creates you a textfile scriptfunctions_client.txt.
__________________

Forum PM
AIM GraalNeoN
ICQ 201894166
Reply With Quote
  #31  
Old 07-15-2007, 01:02 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
yes, but you cant see any actual explanation of what they do or how to use them and importantly, what each parameter for each function is.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #32  
Old 07-15-2007, 01:24 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by JkWhoSaysNi View Post
yes, but you cant see any actual explanation of what they do or how to use them and importantly, what each parameter for each function is.
We should have to try to guess what a function does based on its name and whether certain parameter are a number or string -.-
__________________
Reply With Quote
  #33  
Old 07-15-2007, 01:26 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 Inverness View Post
We should have to try to guess what a function does based on its name and whether certain parameter are a number or string -.-
A lot of the time you can use /scripthelp in RC to get information on script commands and objects.
__________________
Skyld
Reply With Quote
  #34  
Old 07-15-2007, 03:49 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
New scripting features supposed to be on Wiki today, where is it?
__________________
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 12:01 PM.


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