View Single Post
  #42  
Old 11-05-2003, 02:22 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
The scripting on the npc server is different then the
Graal client-side scripting. Some commands are missing
(mainly temporary graphical / sound stuff), some
commands are added (easier accessing of player attributes).
In the section 1 you might have seen that the minimum timeout
is now 0.1 seconds because the npc scripts only run all 0.1
seconds.(...)All code of the npcs are done server-side, except when
you add a line //#CLIENTSIDE, then all following code is sent
to the client. The client only reads attributes of the npcs,
but doesn't send it to other players when he changes it. So
the client-side part of the script is for graphical stuff
and music, not for things which must be secure or need to
be synchronized with other players.
-This is a direct quote from the npcserver document, can't get anymore detailed than that. Hope this helps.
__________________
Reply With Quote