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 01-04-2007, 12:54 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
GScript Wiki

As a more in-depth scripting resource than the GraalBible, I have created a GScript-specific wiki. It aims to provide a more detailed, organised and human set of documents related to the scripting engine. I hope to provide more PHP Manual-like documentation. The wiki is hosted on my VIP space: http://skyld.vip.graal.net/.

This is far from complete. Therefore, it would be nice if you would contribute some of your knowledge in order to create a more complete set of documents.

Page index

Quick category links:I would like to remind people that there is still much to be documented and that any help in doing so would be appreciated.
__________________
Skyld

Last edited by Skyld; 04-25-2007 at 12:09 AM..
Reply With Quote
  #2  
Old 01-04-2007, 03:07 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
omg I love you.
__________________

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
  #3  
Old 01-04-2007, 03:08 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 coreys View Post
omg I love you.
Then help it out.
Reply With Quote
  #4  
Old 01-04-2007, 03:46 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 Skyld View Post
Then help it out.
I dunno if I'm smart enough. ;(
__________________

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 01-04-2007, 04:49 AM
Zanzel Zanzel is offline
<insert title here>
Zanzel's Avatar
Join Date: Dec 2006
Posts: 35
Zanzel is on a distinguished road
This will definatley be handy..
I would help out If I knew alot of GS2 but I am still
getting into it -.-'
Reply With Quote
  #6  
Old 01-04-2007, 05:10 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
Haha damn! You got your wiki up before mine .

Ahh well.. I'll get mine running and it will have a diffferent approach .
Reply With Quote
  #7  
Old 01-04-2007, 07:32 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Finally a wiki that isn't a wanna-be wikipedia for Graal! I welcome this effort, and if I find something to add, I'll add it. I was thinking of doing this, but I'm glad someone has more patience than me XD
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 01-04-2007, 04:41 PM
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 coreys View Post
I dunno if I'm smart enough. ;(
Well if you know how some functions work, or some events, etc, then you know enough to add to it.
Reply With Quote
  #9  
Old 01-04-2007, 06:54 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Really nice!
__________________
Reply With Quote
  #10  
Old 01-05-2007, 06:57 PM
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
Thumbs up Skyld, I'll do my best to contribute!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #11  
Old 01-20-2007, 01:53 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
Started to add more referential material (for example, information on sendtext/requesttext) and will start to add more detailed documentation on things.

Things like functions and events still need documenting, so contribute your knowledge!
Reply With Quote
  #12  
Old 01-20-2007, 03:26 AM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by Skyld View Post
Started to add more referential material (for example, information on sendtext/requesttext) and will start to add more detailed documentation on things.

Things like functions and events still need documenting, so contribute your knowledge!
Does this sound wrong of me that I dont know how to add a new page ?

Never done this before, but I want to start helping
Reply With Quote
  #13  
Old 01-20-2007, 08:13 AM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by Skyld View Post
Started to add more referential material (for example, information on sendtext/requesttext) and will start to add more detailed documentation on things.

Things like functions and events still need documenting, so contribute your knowledge!
Curiosity question!
HTML Code:
requesttext("weaponlist", NULL); - retrieves the weapon list from the server (Client-RC)
With such commands, does this mean you can only retrieve this list if you're using Client-RC? How would one detect the use of Client-RC if so?
Reply With Quote
  #14  
Old 01-20-2007, 12:10 PM
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 Andy0687 View Post
Does this sound wrong of me that I dont know how to add a new page ?

Never done this before, but I want to start helping
Just edit the URL to point to the new page that you're making by changing the name after ?wakka=.

Edit: I added a new box on the homepage to allow the easy creation of pages.
Quote:
Originally Posted by Chandler
With such commands, does this mean you can only retrieve this list if you're using Client-RC? How would one detect the use of Client-RC if so?
I think most of these will only work if you have Client-RC enabled. Simply speaking before you can use Client-RC, you must try and open a session:
PHP Code:
requesttext("clientrc"1); 
If you are successfully connected to Client-RC, you'll get a response back:
PHP Code:
function onReceiveText(temp.texttypetemp.textoptiontemp.textlines)
{
  switch (
temp.texttype)
  {
    case 
"clientrc":
    {
      if (
temp.textoption == 1)
      {
        
// clientrc is working
      
}
        else
      {
        
// clientrc is not working; the error is sent in temp.textlines
      
}

      break;
    }
  }


Last edited by Skyld; 01-20-2007 at 05:24 PM..
Reply With Quote
  #15  
Old 01-30-2007, 07:30 PM
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
Updated some things recently:
  1. Added a small navigation box on the homepage to take you to major sections in the Wiki. When there are more articles available, I will work on constructing more detailed index pages with lists of things and short descriptions, instead of relying on the category system for finding everything.
    Click image for larger version

Name:	Picture 6.png
Views:	936
Size:	29.5 KB
ID:	39388
  2. Added quite a few new articles, and also edited some older ones in order to provide more information.
Pretty much, what's needed:
  1. More information being added to the existing pages, which will help people better understand and use functionality, for example, more details and examples being put into the Notes section of pages.
  2. New pages containing information about functions, events, variables and such which have not yet been documented. In order to create a complete resource, more things must be documented!
  3. Reference materials and tutorials which will walk people through basic scripting stepping stones, and explain more advanced functionality to those who are more competent.

See here for information on contributing.

So far, a large amount of the documentation has been written by myself. It would be nice to see some other scripters in the community contributing; it would be appreciated, since lacking documentation is what people complain most about!
__________________
Skyld
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 05:24 AM.


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