Creation/Dev/Serverside: Difference between revisions
From Graal Bible
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''Serverside''' scripts are those that run on the [[NPC Server]], as opposed to [[Clientside]] scripts that are run on each client's graal client. | |||
Serverside scripting requires a wholly different approach to scripting. | |||
As the code is being executed on the server, clients cannot tamper with it and therefore everything that needs to be remotely secure should happen on the serverside. | |||
However, there is only a limited amount of CPU power on the server, therefore it is advisable kick everything to [[Clientside]] if possible, and not to use tight loops or 0.1 second timeouts. | |||
Someone needs to make the [[NPC Server]] page less comprehensive and outdated and move the fun stuff over here and to [[Clientside]] and [[GScript]] |
Revision as of 19:16, 14 August 2004
Serverside scripts are those that run on the NPC Server, as opposed to Clientside scripts that are run on each client's graal client.
Serverside scripting requires a wholly different approach to scripting. As the code is being executed on the server, clients cannot tamper with it and therefore everything that needs to be remotely secure should happen on the serverside. However, there is only a limited amount of CPU power on the server, therefore it is advisable kick everything to Clientside if possible, and not to use tight loops or 0.1 second timeouts.
Someone needs to make the NPC Server page less comprehensive and outdated and move the fun stuff over here and to Clientside and GScript