Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 11-05-2003, 01:59 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:
Originally posted by TheStivi

Clientside is calaculated at your home computer. So all clientside cannot be seen by another people only the resulst "can" be shown to other people.
Interesting, you're saying serverside "calculations" can be seen by another person?
__________________
Reply With Quote
  #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
  #43  
Old 11-05-2003, 08:57 AM
TheStivi TheStivi is offline
Registered User
Join Date: Sep 2002
Location: Germany - NRW
Posts: 78
TheStivi is on a distinguished road
Send a message via ICQ to TheStivi Send a message via AIM to TheStivi
@Phyton :
what makes a pc ? it only calculate. more the pc cannot
on serverside all can see effect like x--; and all see it
there commands which dont works serverside but thats not what i mean xD
__________________
Old Staff Jobs :
Graal 2002 : Gani Maker || Doomsday : Developer || Terra : Developer || Zenkou : NAT || Anystria : Manager || Galeon : Co Manager || Kabruriki : NAT Chief || Archaic : NAT || Age of Legends : Manager
Reply With Quote
  #44  
Old 11-05-2003, 10:09 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally posted by TheStivi
@Phyton :
what makes a pc ? it only calculate. more the pc cannot
on serverside all can see effect like x--; and all see it
there commands which dont works serverside but thats not what i mean xD
Jagen's correct. Calculate is not the proper word.
Reply With Quote
  #45  
Old 11-05-2003, 11:27 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
The distinction is really quite simple. The serverside section of the script is executed on the server. The clientside section is executed on the client. Clientside code usually deals with user input and dynamic effects (showimgs, audio stuff etc), serverside code deals with the core game stuff, and NPC behaviour.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:51 AM.


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