Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 06-24-2006, 05:33 PM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
Script security is rather important.
I'd hold that as a higher priority than a bit less lag.
__________________
Reply With Quote
  #17  
Old 06-24-2006, 07:06 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by calani
Script security is rather important.
I'd hold that as a higher priority than a bit less lag.
So you're saying your the type of person that would script movement serverside?
Reply With Quote
  #18  
Old 06-26-2006, 04:59 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
I'd make movement clientside with checks done serverside every few ticks.
If I was making a physics engine that kept track of several thousand items and was very important to the server, i'd have all the players do it locally, then do a spot-check every few seconds to make sure everyone's list is accurate.
The server would check each player's list against every other and take the most common one, then send that to everyone as an update. Thus, everyone has the same list every few seconds and the server wouldn't have to do any work actually calculating any of the physics. Also, a majority of the server would have to be hacking in order for it to affect the rest of the server.
__________________
Reply With Quote
  #19  
Old 06-26-2006, 11:11 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by calani
I'd make movement clientside with checks done serverside every few ticks.
If I was making a physics engine that kept track of several thousand items and was very important to the server, i'd have all the players do it locally, then do a spot-check every few seconds to make sure everyone's list is accurate.
The server would check each player's list against every other and take the most common one, then send that to everyone as an update. Thus, everyone has the same list every few seconds and the server wouldn't have to do any work actually calculating any of the physics. Also, a majority of the server would have to be hacking in order for it to affect the rest of the server.
Well, the client has to send data to the server if the stuff is being done clientside. I'd think of Classic's movement as more secure than other systems just because it's a lot more unique than any other systems.
Reply With Quote
  #20  
Old 06-27-2006, 07:00 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by jake13jake
Well, the client has to send data to the server if the stuff is being done clientside. I'd think of Classic's movement as more secure than other systems just because it's a lot more unique than any other systems.
Being unique is not always a good thing.
__________________


[06:24:19] * Parts: Skyld ([email protected]/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #21  
Old 06-28-2006, 12:03 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by ApothiX
Being unique is not always a good thing.
Yea, I know :P. But the movement system works and it works well.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:36 AM.


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