Author Topic: onClientMove / Client-Side onPlayerMove  (Read 1678 times)

stormeus

  • No-Lifer
  • Developer
  • Full Member
  • *****
  • Posts: 112
  • Karma: +13/-2
    • View Profile
onClientMove / Client-Side onPlayerMove
« on: October 27, 2011, 09:01:26 pm »
Keeping player movement events on the server side causes server lag. There are some things that might be better off being done client-side, so my idea is to add a client-side player movement event. Since it's done by the client, the issue of lag is more minimal.
Quote
Morphine says:
    them LU devs ranting about how LU doesn't have client pickups
    while us VC:MPers don't have client anything
    ;_;

Stormeus Argo says:
    we have client crashes though
    ohohohohoho

Morphine says:
    LU DOESN'T HAVE THAT

Stormeus Argo says:
    LU - 0
    VC:MP - 1

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: onClientMove / Client-Side onPlayerMove
« Reply #1 on: October 28, 2011, 01:10:11 pm »
Use onClientRender()

stormeus

  • No-Lifer
  • Developer
  • Full Member
  • *****
  • Posts: 112
  • Karma: +13/-2
    • View Profile
Re: onClientMove / Client-Side onPlayerMove
« Reply #2 on: October 28, 2011, 08:53:56 pm »
It's an option, but the lack of an event-driven function, and running heavy code in onClientRender, is a little annoying (for me anyways).
Quote
Morphine says:
    them LU devs ranting about how LU doesn't have client pickups
    while us VC:MPers don't have client anything
    ;_;

Stormeus Argo says:
    we have client crashes though
    ohohohohoho

Morphine says:
    LU DOESN'T HAVE THAT

Stormeus Argo says:
    LU - 0
    VC:MP - 1

 

© Liberty Unleashed Team.