HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: Remote Call vs. Replication  (Read 1961 times)

joshwebb84

  • General Accounts
  • *
  • Posts: 24
    • View Profile
Remote Call vs. Replication
« on: Oct 28, 11, 04:12:01 PM »

Hi I been reading some on the wiki ,Haven't read a hole lot as I am a more hands on person and this is why I am glad you all give us access the the HJ ref world while we wait to get approved for the  application, but anyway I thought I seen somewhere in the wiki that RemoteCall functions where replaced by replication functions or the sort.. will my question is if remotecall still has any  situations where we would still use the function over  the replication and if so could I get a example??
« Last Edit: Jan 23, 13, 11:01:11 AM by HE-Cooper »
Logged

HE-JAY

  • HeroEngine
  • *****
  • Posts: 122
    • View Profile
Re: is remote call not used any more?
« Reply #1 on: Nov 03, 11, 10:18:24 AM »

Remote calls (http://hewiki.heroengine.com/wiki/RemoteCall2) are incredibly useful to communicate transient data back and forth between the client and server.  Keep in mind that using replication (http://hewiki.heroengine.com/wiki/Replication) will duplicate server-side data on the client; sometimes this is desirable (such as player inventories, which will likely be accessed frequently), but other times it is not (such as communicating a one-time 'event' to the player).

Both remote calls and replication are extremely useful tools in their own right.  Your choice of which to use in any given situation will depend upon the context and your game design.  I encourage you to read the various wiki pages on each to get a feel for when and how to use each.
Logged

joshwebb84

  • General Accounts
  • *
  • Posts: 24
    • View Profile
Re: Remote Call vs. Replication
« Reply #2 on: Nov 04, 11, 11:15:23 AM »

Thanks thats helps alot and shows what each  is for  8)
Logged