Creation/Dev/Clientside: Difference between revisions

From Graal Bible
No edit summary
No edit summary
Line 1: Line 1:
'''Clientside''' scripts are sent by the server to individual players' clients to be executed. Clientside scripts typically handle simple, insecure tasks, such as drawing visuals and playing sounds. They are easily manipulated by cheating tools, so critical tasks are usually reserved for [[serverside]] scripts. However, they are faster and generally produce less lag than their serverside counterparts, as clientside data is (with a few exceptions) not sent to other players.
'''Clientside''' scripts are sent by the server to individual players' clients to be executed. Clientside scripts typically handle simple, insecure tasks, such as drawing visuals and playing sounds. They are easily manipulated by cheating tools, so critical tasks are usually reserved for [[serverside]] scripts. However, they are faster and generally produce less lag than their serverside counterparts, as clientside data is (with a few exceptions) not sent to other players.


In [[GScript]], the most common command for interaction between the two systems is [[Old_GScript:triggeraction|triggeraction]]
In [[GScript]], the most commonly-used command for script interaction between the client and server is [[Old_GScript:triggeraction|triggeraction]].

Revision as of 18:05, 20 December 2004

Clientside scripts are sent by the server to individual players' clients to be executed. Clientside scripts typically handle simple, insecure tasks, such as drawing visuals and playing sounds. They are easily manipulated by cheating tools, so critical tasks are usually reserved for serverside scripts. However, they are faster and generally produce less lag than their serverside counterparts, as clientside data is (with a few exceptions) not sent to other players.

In GScript, the most commonly-used command for script interaction between the client and server is triggeraction.