View Single Post
  #2  
Old 02-12-2009, 02:08 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Tyhm View Post
Are we seriously still using triggeraction to send data from Clientside to Serverside?
Yes. You can use triggeractions (triggerclient, triggerserver) or you can send data (albeit without events) using client flags or player attrs.
Quote:
Originally Posted by Tyhm
And are we seriously still using this.rupees, this.darts, this.hearts to change values on Serverside that Clientside can pick up on?
What do you mean? When you change these values serverside, they update clientside also.
Quote:
Originally Posted by Tyhm
I found triggerserver, and that's great for weapons, but I mean - seriously? Are we still tying "the player just hit me" to a code-arrow, shooting it at the serverside, and praying it hits?!
I'm not sure what you are even getting at here.
Quote:
Originally Posted by Tyhm
And right now the only way to tell the Client that the baddy's taken damage is to set this.hearts, and have the client scan it every 0.05 seconds. -_-
To be honest, I'm not sure what you were expecting. You could quite easily send a triggeraction to the clientside each time the baddy takes damage but this is exactly the sort of thing you have to do when you involve a server and a client in any application, not just Graal: either poll for changes or wait for events.
Reply With Quote