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)

LoneAngelIbesu 12-05-2008 12:20 AM

The link is now in my signature. People are free to register and contribute as they wish. I have set up the same category system as Skyld's wiki, for convenience and such. Check the category "CategoryWiki" for a page called "FormattingRules" to see how formatting works on WikkaWiki.

^^

LoneAngelIbesu 12-05-2008 12:21 AM

The link is now in my signature. People are free to register and contribute as they wish. I have set up the same category system as Skyld's wiki, for convenience and such. Check the category "CategoryWiki" for a page called "FormattingRules" to see how formatting works on WikkaWiki.

^^

xXziroXx 12-05-2008 12:47 AM

I'd rather build onto the Graal bible, I don't see a point in reinventing the wheel.

LoneAngelIbesu 12-05-2008 01:03 AM

Quote:

Originally Posted by xXziroXx (Post 1446809)
I'd rather build onto the Graal bible, I don't see a point in reinventing the wheel.

The Graal Bible is a) unorganized and b) not free. Two reasons that are good enough for me.

Inverness 12-05-2008 03:12 AM

We don't need two wikis. Find a way to get access to Graal Bible without paying since you don't want to do that.

xXziroXx 12-05-2008 05:07 PM

Quote:

Originally Posted by Inverness (Post 1446861)
We don't need two wikis. Find a way to get access to Graal Bible without paying since you don't want to do that.

Exactly. Another, inofficial wiki, would create even more inconsistency around Graal.

Seriously, you're able to edit the wiki to suit your needs, so do it. If you don't have access, start trying to convince Stefan to give non-Gold accounts access.

Loriel 12-05-2008 08:42 PM

Yeah inofficial wikis are the worst idea ever

believe me

LoneAngelIbesu 12-06-2008 12:12 AM

If people don't want to use the wiki that I've set up, then they don't have to. Continue to use the Graal Bible. I find it incredibly funny that people against other wikis say that we should just make the Graal Bible better, when they can be doing just that at any time, yet aren't.

As far as I'm concerned, Skyld's GScript Wiki was an infinitely better learning tool than the Graal Bible. That's what I'm trying to recreate right now, so that new developers can have the same tool that I had when I was learning. I'm not going to wait however many months it's going to take to gain access to a wiki that should be free in the first place, when I have the resources to recreate the GScript Wiki today.

xXziroXx 12-06-2008 12:26 AM

Quote:

Originally Posted by LoneAngelIbesu (Post 1447068)
I find it incredibly funny that people against other wikis say that we should just make the Graal Bible better, when they can be doing just that at any time, yet aren't,

I'd be willing to bet that I've contributed a heck of a lot more to the Graal Bible, or even Skyld's wiki, then you have.

LoneAngelIbesu 12-06-2008 01:26 AM

Quote:

Originally Posted by xXziroXx (Post 1447074)
I'd be willing to bet that I've contributed a heck of a lot more to the Graal Bible, or even Skyld's wiki, then you have.

That's true, but I wasn't contesting who's contributed what and how much. :)

Tigairius 12-06-2008 01:30 AM

Quote:

Originally Posted by xXziroXx (Post 1446941)
give non-Gold accounts access.

The only way that would work out, in my opinion, would be to hire a few wiki moderators to keep people from posting bad things & ban wiki accounts.

xXziroXx 12-06-2008 02:03 AM

Quote:

Originally Posted by Tigairius (Post 1447098)
The only way that would work out, in my opinion, would be to hire a few wiki moderators to keep people from posting bad things & ban wiki accounts.

Beats having two wikis any day.

LoneAngelIbesu 12-06-2008 02:16 AM

Quote:

Originally Posted by xXziroXx (Post 1447099)
Beats having two wikis any day.

It's not really "having two wikis", in the sense of redundancy. A wiki solely for GScript is bound to be superior to one that's about 100 different topics, from quality of content, to ease of navigation.

The "documentation" on the Graal Bible is really just a reference book for people that already know what they're doing, and know how to navigate through that wiki. It's useful to have, for example, just a list of clientside functions, instead of having to go through a clientside function category to find the one page that has the function you need. New scripters, though, need a full page explanation.

The GScript wiki is for all scripters, old and new, who need thoroughly explained examples of how to use certain functions, language constructs, etc. This is why Skyld created his wiki in the first place, if I'm not mistaken.

Inverness 12-06-2008 03:18 AM

So who's asked Stefan about giving access to classic accounts?

LoneAngelIbesu 12-06-2008 03:30 AM

Quote:

Originally Posted by Inverness (Post 1447108)
So who's asked Stefan about giving access to classic accounts?

There was a topic about it somewhere...

LoneAngelIbesu 12-06-2008 11:05 PM

Update: there was a problem with the server that I was hosted on. The wiki should be back up within 24 hours, if no data has been deleted. I wasn't able to create a back up, so there's no guarantee.

Crow 12-07-2008 12:44 AM

Quote:

Originally Posted by LoneAngelIbesu (Post 1447103)
The "documentation" on the Graal Bible is really just a reference book for people that already know what they're doing, and know how to navigate through that wiki.

You might be right about that. But I think this is the same for every coding language. You need to learn the basics, and then you just need a manual/documentation and maybe a little help with weird problems here and there.
The Graal Bible is the documentation of basically everything. What you want to do is explain everything even more, to "help newbies". I don't even think it helps them. If you want to help people who are new to coding, teach them the basics, and make them get used to using the manual(s).

LoneAngelIbesu 12-07-2008 02:31 AM

Quote:

Originally Posted by Crow (Post 1447404)
You might be right about that. But I think this is the same for every coding language. You need to learn the basics, and then you just need a manual/documentation and maybe a little help with weird problems here and there.

The Graal Bible is the documentation of basically everything. What you want to do is explain everything even more, to "help newbies". I don't even think it helps them. If you want to help people who are new to coding, teach them the basics, and make them get used to using the manual(s).

I think that's rather ridiculous. I have things to get done, and sitting around and teaching people all day, when they can teach themselves, is not one of them. When I was first learning GS2, Inverness pointed me to the Graal Bible. The only thing it helped for was GUIs. I found Skyld's wiki on the GScript page, and it was that wiki which provided the best information for me.

When I learning PHP, I used separate websites that gave in-depth explanations and examples. Now that I have a good handle on it, I simply use PHP's online reference (which is just a list of functions and an explanation of their parameters, etc). The same applies to GS2, really.

Crow 12-07-2008 01:16 PM

Quote:

Originally Posted by LoneAngelIbesu (Post 1447438)
I think that's rather ridiculous. I have things to get done, and sitting around and teaching people all day, when they can teach themselves, is not one of them. When I was first learning GS2, Inverness pointed me to the Graal Bible. The only thing it helped for was GUIs. I found Skyld's wiki on the GScript page, and it was that wiki which provided the best information for me.

When I learning PHP, I used separate websites that gave in-depth explanations and examples. Now that I have a good handle on it, I simply use PHP's online reference (which is just a list of functions and an explanation of their parameters, etc). The same applies to GS2, really.

You don't have to personally teach them. You can use your wiki, or the Graal Bible.

Pelikano 12-12-2008 10:32 AM

Crow is right.
Somehow. :P

thatdwarf 12-12-2008 09:33 PM

Client/Server variable passing
 
Basically I am just curious as to if there is an easier way to do:

PHP Code:

function onActionServerSide() {
  if(
params[0] == "save") {
    
findplayer(params[1]).clientr.var = params[2];
  }
}

//#CLIENTSIDE
function onSomeEvent() {
  
triggerServer("gui"this.name"save"player.accountsomevalue);


Sorry it's such a short post.
Thanks!

xXziroXx 12-12-2008 09:44 PM

Quote:

Originally Posted by thatdwarf (Post 1448946)
Basically I am just curious as to if there is an easier way to do

Afraid not.

LoneAngelIbesu 12-12-2008 09:58 PM

Quote:

Originally Posted by thatdwarf (Post 1448946)
Basically I am just curious as to if there is an easier way to do:

There's a way to write it as:
PHP Code:

function onCreated() {
  
// Not needed if you don't plan on triggering a clientside function
  
join("triggerclass");
}
function 
someOtherFunction(acctval) {
  
findplayer(acct).clientr.var = val;
}
//#CLIENTSIDE
function onCreated() {
  
join("triggerclass");
}
function 
someFunction() {
  
serverfunction2(null"someOtherFunction"player.accountval);


with Inverness' class, but it's pretty much the same thing; not sure if it's any easier. I prefer to use the class, because I hate working with cluttered onActionServerside()'s.

xXziroXx 12-12-2008 10:05 PM

Why the hell are you joining a class to the same weapon twice?

If a class has a serversided part, join it on serverside. Otherwise, join it on serverside or clientside, doesn't matter.

You really shouldn't join the same class twice to a weapon though, not that it would break it, but it looks retarded.

Inverness 12-13-2008 06:34 AM

Quote:

Originally Posted by xXziroXx (Post 1448952)
Otherwise, join it on serverside or clientside, doesn't matter.

I'm sure you know that joining it clientside won't join it do the serverside too.

thatdwarf 12-13-2008 07:43 AM

I just realized I posted this in the Gscript Wiki thread....woops :P

Anyways, thanks for your help guys :D

xXziroXx 12-13-2008 06:09 PM

Quote:

Originally Posted by Inverness (Post 1449024)
I'm sure you know that joining it clientside won't join it do the serverside too.

Which is why I said to join it on serverside if it have a serversided part in the class. :oo:

Pelikano 12-13-2008 08:41 PM

LOL
This is the greates offtopic-chat I've ever seen lmao

LoneAngelIbesu 12-13-2008 08:50 PM

Quote:

Originally Posted by xXziroXx (Post 1449076)
Which is why I said to join it on serverside if it have a serversided part in the class. :oo:

Which is why I said "// Not needed if you don't plan on triggering a clientside function ". ;)

xXziroXx 12-13-2008 09:09 PM

Quote:

Originally Posted by LoneAngelIbesu (Post 1449103)
Which is why I said "// Not needed if you don't plan on triggering a clientside function ". ;)

I KNEW THAT, stop harassing me ffs! :cry:

Skyld 01-10-2009 03:13 PM

Since I've been unable to get a copy of the old MySQL database from the old GScript Wiki, I have decided to restart the project from scratch. I have installed a new Wikka installation at http://wiki.graal.us/.

This means I need your help. If you've got any knowledge about GScript, please register on the wiki and contribute it. There's some information on the Warboard which explains how you can help, and links to the category pages and template pages which you should use.

If you've got any questions, please post them here. Thanks!

edit: new link: http://wiki.graal.us/

LoneAngelIbesu 01-10-2009 08:24 PM

Quote:

Originally Posted by Skyld (Post 1455927)
Since I've been unable to get a copy of the old MySQL database from the old GScript Wiki, I have decided to restart the project from scratch. I have installed a new Wikka installation at http://londeroth.org/~skyld/.

This means I need your help. If you've got any knowledge about GScript, please register on the wiki and contribute it. There's some information on the Warboard which explains how you can help, and links to the category pages and template pages which you should use.

If you've got any questions, please post them here. Thanks!

Just in time for the database over at gs.iamcosmouse.com to go bust. The WayBack Machine (google it) has got a pretty good archive of the old GScript Wiki, though it's not all accessible.

Edit: Looks like some permissions might be set wrong. I registered, but can't edit anything.

Skyld 01-10-2009 08:35 PM

Quote:

Originally Posted by LoneAngelIbesu (Post 1455995)
Just in time for the database over at gs.iamcosmouse.com to go bust. The WayBack Machine (google it) has got a pretty good archive of the old GScript Wiki, though it's not all accessible.

I've got Stefan on a mission to try and find my old database, so if he can, I'll set it up on my computer and then copy across the old pages, fixing the formatting.
Quote:

Originally Posted by LoneAngelIbesu
Edit: Looks like some permissions might be set wrong. I registered, but can't edit anything.

Fixed. :) I accidentally broke the default ACL when moving to wiki.graal.us (brought back an old wikka.config.php).

Codein 01-10-2009 11:03 PM

Quote:

Originally Posted by Skyld (Post 1455927)
Since I've been unable to get a copy of the old MySQL database from the old GScript Wiki, I have decided to restart the project from scratch. I have installed a new Wikka installation at http://wiki.graal.us/.

This means I need your help. If you've got any knowledge about GScript, please register on the wiki and contribute it. There's some information on the Warboard which explains how you can help, and links to the category pages and template pages which you should use.

If you've got any questions, please post them here. Thanks!

edit: new link: http://wiki.graal.us/

Man, if only I could rep++ you :(

Chompy 01-11-2009 12:19 AM

I really like this wiki :) I've contributed some pages :p

Skyld 04-08-2010 04:48 PM

I have updated the wiki software on http://wiki.graal.us/ to the most recent version, please let me know if there are any issues. Also try using the 'light' theme in UserSettings and see if you prefer it; I might change the default theme sometime.

Edit: Applied the light theme anyway, use the UserSettings page to set it back to 'default' if you don't like it.

adam 04-08-2010 07:36 PM

Thanks Skyld, very nice.

Matt 05-12-2010 08:06 AM

Looks good. ^^

Skyld 06-17-2010 11:12 PM

4 Attachment(s)
I added a new theme to the wiki aimed at iPhone and iPod touch users so that you can read the wiki and quickly flick through stuff without having to constantly zoom in and out and left and right. :) Just point Safari on your device to http://wiki.graal.us/ as normal and the new theme should automatically appear.

The theme is also selectable from your UserSettings page, so if you want to try it on any other devices and let me know how it works, feel free and I might be able to add the browser detection so that other devices use that same theme. :)

Switch 06-18-2010 12:50 AM

Quote:

Originally Posted by Skyld (Post 1582538)
I added a new theme to the wiki aimed at iPhone and iPod touch users so that you can read the wiki and quickly flick through stuff without having to constantly zoom in and out and left and right. :) Just point Safari on your device to http://wiki.graal.us/ as normal and the new theme should automatically appear.

The theme is also selectable from your UserSettings page, so if you want to try it on any other devices and let me know how it works, feel free and I might be able to add the browser detection so that other devices use that same theme. :)

Your service bars wet progressively down. :)


All times are GMT +2. The time now is 01:33 PM.

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