Creation/Dev/Serverside: Difference between revisions
From Graal Bible
No edit summary |
Pooper200000 (talk | contribs) No edit summary |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
'''Serverside''' scripts are those that run on the [[NPC Server]], as opposed to [[Creation/Dev/Clientside|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 [[Creation/Dev/Clientside|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 [[Creation/Dev/Clientside|Clientside]] and [[GScript]] |
Latest revision as of 11:50, 16 February 2010
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