Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   KSI-GS (Coding Standards) (https://forums.graalonline.com/forums/showthread.php?t=46557)

dlang 01-31-2004 07:48 AM

I just noticed...

You're supposed to use two spaces not one in the script lines :P

Loriel 07-17-2004 10:54 PM

Unstickied and linked from the Advice thread.

Slash-P2P 12-05-2004 08:02 PM

Could this be added to KSI-GS:
All scripting below the //#CLIENTSIDE section is clientside. Above it is serverside. More than one //#CLIENTSIDE is not required in the script, and //#SERVERSIDE should not be in the script at all.

calum 12-05-2004 08:36 PM

Quote:

Originally Posted by Slash-P2P
Could this be added to KSI-GS:
All scripting below the //#CLIENTSIDE section is clientside. Above it is serverside. More than one //#CLIENTSIDE is not required in the script, and //#SERVERSIDE should not be in the script at all.

Should really be added to the 'Common Sense' standard, but yeah its a common problem around new scripters.

Slash-P2P 12-05-2004 08:43 PM

Quote:

Originally Posted by calum
Should really be added to the 'Common Sense' standard

People wouldn't read a common sense standard because they would assume they have common sense when they do not.

Kaimetsu 12-05-2004 09:29 PM

Quote:

Originally Posted by Slash-P2P
All scripting below the //#CLIENTSIDE section is clientside. Above it is serverside

That's not a standard. It's not even technically part of the language.

Quote:

and //#SERVERSIDE should not be in the script at all.
Why not?

osrs 12-06-2004 05:28 AM

Quote:

Originally Posted by Slash-P2P
//#SERVERSIDE should not be in the script at all.

That is basically just a comment on script and there is no problem in using it, but some new scripters thinks that it means the server-side part.

Aethorpe 01-22-2005 11:04 AM

Quote:

Originally Posted by Kaimetsu
Not realistic.

I'd buy it. :)


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

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