Jump to content

Client VS. Server


MOH

Do you like Client or Server side scripts more?  

16 members have voted

  1. 1. Do you like Client or Server side scripts more?

    • I like server-side scripts.
      11
    • I like client-side scripts.
      5


Recommended Posts

client VS server will always be a failure. it must be client AND server to work well. there is no such thing like a better scripting type. both have advantages and disadvantages. even if some cool scripts only require server side or only client side scripting it will all be up to the use. however, as long as something is possible to do client side you should do so, because the server has to handle a lot of players at the same time, while the client only cares about itself.

Link to comment

Overall I prefer client-side scripting. The things you can do client-side are just that much more fun to do, you can do stuff with vehicle gravity, cheats, DX, GUI, model replacement etc.

Although for good scripts you usually need at least 1 server-side script, like Dragon already said. Most things can be accomplished client-side, and can even be synched without the need of server-side scripts. (for instance getElementPosition on yourself or on your own vehicle is synched, as is for instance setElementData)

Link to comment

doing things serverside whenever possible makes things moe secure and reduced downloads when people connect. i would reccomend doing things serverside whernever possible. there are many things that can only be done clientside however. and there are some instances when you need a faster reaction time than a server script can provide (for example a marker getting hit)

Link to comment

There is no VS.

There is cooperation.

As soon as you compare client side and server side scripts, both become sort of useless.

Client side scripts and server side scripts are different, not only because of the download.

Using a client side or a server side script is a matter of strategy.

Lag, speed, security.

Link to comment

You should use server-side scripts where you possibly can. Client-side scripts are out of your control, and can potentially be hacked. Anything you do client-side that can be seen by other players you should carefully check server-side, or cheaters can easily take advantage of it.

MTA's scripts were originally server-side only for exactly this reason.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...