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!

Chompy 01-30-2007 07:43 PM

Nice updates :D

Skyld 02-01-2007 08:28 PM

Finally got around to adding a more useful page index (http://skyld.vip.graal.net/wikka.php?wakka=PageIndex), which provides a list of relevant documents on the wiki (commands, events, references, etc) and short descriptions to make finding documents easier. I am not certain as to whether this would be a better homepage or not.

Twinny 02-01-2007 08:45 PM

That homepage could be a bit confusing to new people. Atleast it isn't automatically updated ^^.

Perhaps a lovely "New people click here!" link ^^.

Skyld 02-01-2007 08:47 PM

Quote:

Originally Posted by Twinny (Post 1272131)
That homepage could be a bit confusing to new people. Atleast it isn't automatically updated ^^.

Perhaps a search feature and a lovely "New people click here!" link ^^.

Well, this isn't the current homepage. I wasn't sure if it would be a sensible idea editing something like this into the homepage or not, however I felt it was necessary to have a more useful index to accompany the category system.

Chandler 02-06-2007 09:15 PM

Let's contribute together!
http://skyld.vip.graal.net/wikka.php...yCompletedCode

Skyld 03-17-2007 12:28 PM

There are a lot of people here that know enough to contribute; it would be nice to see some people doing so! A lot of the documents that are in place can be expanded on with more behavioural details or examples, and people can feel free to add other scripting articles/pages related to functions, etc.

Pelikano 11-16-2008 10:39 AM

I don't know if it's just me, but none of those links work for me :o

Twinny 11-16-2008 11:01 AM

The wiki has been gone for a while now so all you have left is the graal bible and my pile of poo website

Raeiphon 11-16-2008 02:30 PM

A damn shame.

I accredit this ex-wiki to being the staple source I used when I was learning the basics and the nuances of GS2.

I wish it was still here, so I could use it to relearn them again.

RIP.

Deas_Voice 11-16-2008 03:50 PM

why not get a free webhost and upload it again?
:p

Soala 11-16-2008 05:33 PM

what the hell, wiki's are better :frown: !

Why is it gone by the way?

Deas_Voice 11-16-2008 05:48 PM

Quote:

Originally Posted by alexandralove (Post 1442664)
what the hell, wiki's are better :frown: !

Why is it gone by the way?

it was a vip.graal host,
CJ removed VIP hosts, so no more skyld wiki

Codein 11-16-2008 06:14 PM

I've got a good free webhost. If we could get a team of developers interested, I'll set a wiki up. If anyone's interested in helping me out, PM me or contact me on AIM or MSN.

Twinny 11-17-2008 09:41 AM

I could have sworn by sig has, "get a free webhost!" in it for a year plus now :p

Loriel 11-17-2008 08:42 PM

Quote:

Originally Posted by Twinny (Post 1442864)
I could have sworn by sig has, "get a free webhost!" in it for a year plus now :p

If Skyld wanted to continue the thing he could have run it on the former graal wiki host.

Skyld 11-17-2008 11:35 PM

I shall see about getting a backup of the SQL database and the wikka files and perhaps someone can reupload it somewhere new, if unixmad has kept backups of it.

Codein 11-18-2008 02:56 PM

Quote:

Originally Posted by Skyld (Post 1443014)
I shall see about getting a backup of the SQL database and the wikka files and perhaps someone can reupload it somewhere new, if unixmad has kept backups of it.

That would be great :D

Deas_Voice 11-18-2008 03:35 PM

yes that would be great :D

Pelikano 12-04-2008 12:20 PM

So.... :D?

DrakilorP2P 12-04-2008 05:00 PM

Skyl'ds wiki pwnd bring eit backk

Deas_Voice 12-04-2008 06:36 PM

Quote:

Originally Posted by DrakilorP2P (Post 1446677)
Skyl'ds wiki pwnd bring eit backk

/agreed

any progress?

LoneAngelIbesu 12-04-2008 11:33 PM

Quote:

Originally Posted by Deas_Voice (Post 1446716)
/agreed

any progress?

If Unixmad made any backups, I am a domain I can host it on to. I set up WikkaWikki on it today, actually. I'm able to access some pages through the Internet Archive, but not everything, so a backup of Skyld's wiki would be neat.

Codein 12-04-2008 11:39 PM

Quote:

Originally Posted by LoneAngelIbesu (Post 1446776)
If Unixmad made any backups, I am a domain I can host it on to. I set up WikkaWikki on it today, actually. I'm able to access some pages through the Internet Archive, but not everything, so a backup of Skyld's wiki would be neat.

If we can't get a back up, we can always start a fresh. I know a few people who are intereated in contributing.

LoneAngelIbesu 12-04-2008 11:41 PM

Quote:

Originally Posted by Codein (Post 1446780)
If we can't get a back up, we can always start a fresh. I know a few people who are intereated in contributing.

I sent a PM to Darlene, asking permission to post the URL. I could always post it in the Lounge, though, first. :)

Codein 12-04-2008 11:46 PM

Quote:

Originally Posted by LoneAngelIbesu (Post 1446782)
I sent a PM to Darlene, asking permission to post the URL. I could always post it in the Lounge, though, first. :)

PM me the URL :)

I'm hoping to get this show on the road A.S.A.P.


All times are GMT +2. The time now is 05:10 PM.

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