Graal Forums

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

Skyld 01-04-2007 12:54 AM

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.

coreys 01-04-2007 03:07 AM

omg I love you.

Skyld 01-04-2007 03:08 AM

Quote:

Originally Posted by coreys (Post 1260508)
omg I love you.

Then help it out. :)

coreys 01-04-2007 03:46 AM

Quote:

Originally Posted by Skyld (Post 1260509)
Then help it out. :)

I dunno if I'm smart enough. ;(

Zanzel 01-04-2007 04:49 AM

This will definatley be handy..
I would help out If I knew alot of GS2 but I am still
getting into it -.-'

Twinny 01-04-2007 05:10 AM

Haha damn! You got your wiki up before mine ^^.

Ahh well.. I'll get mine running and it will have a diffferent approach :) .

Falcor 01-04-2007 07:32 AM

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

Skyld 01-04-2007 04:41 PM

Quote:

Originally Posted by coreys (Post 1260516)
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. ^^

Chompy 01-04-2007 06:54 PM

Really nice!

xXziroXx 01-05-2007 06:57 PM

Thumbs up Skyld, I'll do my best to contribute!

Skyld 01-20-2007 01:53 AM

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!

Andy0687 01-20-2007 03:26 AM

Quote:

Originally Posted by Skyld (Post 1266543)
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 :p

Chandler 01-20-2007 08:13 AM

Quote:

Originally Posted by Skyld (Post 1266543)
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?

Skyld 01-20-2007 12:10 PM

Quote:

Originally Posted by Andy0687 (Post 1266572)
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 :p

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;
    }
  }



Skyld 01-30-2007 07:30 PM

1 Attachment(s)
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.
    Attachment 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!


All times are GMT +2. The time now is 11:12 AM.

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