Updates: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary
No edit summary
Line 19: Line 19:
* Re-enabled the /t4 command, which shows the positions of bullets where they collide, for use by scripters who would like to accurately find polygons
* Re-enabled the /t4 command, which shows the positions of bullets where they collide, for use by scripters who would like to accurately find polygons


==== Update 04rel000 ====
==== Release Candidate Released (04rel000) ====
* Implement server redirection and /allowredirect
* Implement server redirection and /allowredirect
* Ghosted vehicles are no longer solid on the local player's screen.
* Ghosted vehicles are no longer solid on the local player's screen.
Line 25: Line 25:
* Spectating a player who switches interiors now switches the interiors on your screen to theirs.
* Spectating a player who switches interiors now switches the interiors on your screen to theirs.
* Remote players should no longer crouch and sprint at the same time.
* Remote players should no longer crouch and sprint at the same time.
=== Server ===
==== Release Candidate Released (04rel000) ====
* Running as root is no longer supported and must be explicitly enabled in order to continue running the server.
* Added command line options for server hosters that override built-in server behavior and user configurations in server.cfg:
** -maxplayers: Specifies a hard limit on the number of players allowed on a server. Configurations or function/plugin calls that attempt to go above this will be throttled.
** -port: Forces server to be bound to a given port.
** -bindip: Forces server to be bound to a given IP.
** -noanticheat: Disables anticheat and forces it to be disabled regardless of configuration.
** -allow-server-runas-root: Allows server to run as root.
* Servers can now request users to be redirected to another server.
** Players will receive a prompt asking if they would like to be connected to server X:Y with an optionally specified nickname, Z.
** Redirection is optional and will only occur if the player uses the /allowredirect command client-side.
* Added plugin functions for accessing more player information (see the SDK diff).
** GetPlayerOnFireStatus: returns if a player is on fire (only if on foot)
** GetPlayerCrouchStatus: returns if a player is crouching (only if on foot)
** GetPlayerAction: returns a player's action (see below)
** GetPlayerGameKeys: returns a 16-bit integer representing the player's game keys being held down
** GetPlayerAimPos: returns the position that a player is aiming toward (only updated when shooting)
** GetPlayerAimDir: returns the vector rotation of a player's aim (only updated when shooting)
* Added OnPlayerStateChange(nPlayer, oldState, newState), a more raw callback for player events like entering/exiting vehicles and aiming:
** 0 - none
** 1 - normal (foot) sync
** 2 - shooting ("aim") sync
** 3 - driver
** 4 - passenger
** 5 - entering as driver
** 6 - entering as passenger
** 7 - exiting vehicle
** 8 - unspawned
* Added OnPlayerActionChange(nPlayer, oldAction, newAction), a raw callback for when a player is changing actions. Frequently used actions:
** 0 - none
** 1 - normal
** 12 - aiming
** 16 - shooting
** 41 - jumping
** 42 - lying on ground
** 43 - getting up
** 44 - jumping from vehicle
** 50 - driving
** 54 - dying
** 55 - wasted
** 58 - entering vehicle
** 60 - exiting vehicle
* Added callbacks OnPlayerOnFireChange, OnPlayerCrouchChange and OnPlayerGameKeysChange (see SDK diff)
* In-built anticheat can now be disabled using the config line anticheat 0 or the command line option -noanticheat
* Fixed the config line for servername overwriting the password field

Revision as of 20:45, 17 October 2014


Client

Update 04pb300

  • Added VC:MP's Steam DLL after solving browser issues with Steam launching
  • Fixed machine IDs not being received properly
  • Disabled several debugging commands, a couple of which deliberately raised a client crash
  • Increased the game's vehicle pool size from 500 to 1000 to match the server's
  • Fixed game crashing when forced to spectate someone who isn't spawned
  • Fixed occasional crash caused by a player's vehicle appearing to be null on other player's screens
  • Fixed the 0.4 splash screen not actually loading

Update 04pb402

  • Fixed radio glitching out when server weather was set to rain
  • Slightly optimized custom object loading
  • Additional checks to prevent crashes
  • Re-enabled the /t4 command, which shows the positions of bullets where they collide, for use by scripters who would like to accurately find polygons

Release Candidate Released (04rel000)

  • Implement server redirection and /allowredirect
  • Ghosted vehicles are no longer solid on the local player's screen.
  • Added the /connect command for connecting to arbitrary servers while still in the client. Requires /disconnect first.
  • Spectating a player who switches interiors now switches the interiors on your screen to theirs.
  • Remote players should no longer crouch and sprint at the same time.


Server

Release Candidate Released (04rel000)

  • Running as root is no longer supported and must be explicitly enabled in order to continue running the server.
  • Added command line options for server hosters that override built-in server behavior and user configurations in server.cfg:
    • -maxplayers: Specifies a hard limit on the number of players allowed on a server. Configurations or function/plugin calls that attempt to go above this will be throttled.
    • -port: Forces server to be bound to a given port.
    • -bindip: Forces server to be bound to a given IP.
    • -noanticheat: Disables anticheat and forces it to be disabled regardless of configuration.
    • -allow-server-runas-root: Allows server to run as root.
  • Servers can now request users to be redirected to another server.
    • Players will receive a prompt asking if they would like to be connected to server X:Y with an optionally specified nickname, Z.
    • Redirection is optional and will only occur if the player uses the /allowredirect command client-side.
  • Added plugin functions for accessing more player information (see the SDK diff).
    • GetPlayerOnFireStatus: returns if a player is on fire (only if on foot)
    • GetPlayerCrouchStatus: returns if a player is crouching (only if on foot)
    • GetPlayerAction: returns a player's action (see below)
    • GetPlayerGameKeys: returns a 16-bit integer representing the player's game keys being held down
    • GetPlayerAimPos: returns the position that a player is aiming toward (only updated when shooting)
    • GetPlayerAimDir: returns the vector rotation of a player's aim (only updated when shooting)
  • Added OnPlayerStateChange(nPlayer, oldState, newState), a more raw callback for player events like entering/exiting vehicles and aiming:
    • 0 - none
    • 1 - normal (foot) sync
    • 2 - shooting ("aim") sync
    • 3 - driver
    • 4 - passenger
    • 5 - entering as driver
    • 6 - entering as passenger
    • 7 - exiting vehicle
    • 8 - unspawned
  • Added OnPlayerActionChange(nPlayer, oldAction, newAction), a raw callback for when a player is changing actions. Frequently used actions:
    • 0 - none
    • 1 - normal
    • 12 - aiming
    • 16 - shooting
    • 41 - jumping
    • 42 - lying on ground
    • 43 - getting up
    • 44 - jumping from vehicle
    • 50 - driving
    • 54 - dying
    • 55 - wasted
    • 58 - entering vehicle
    • 60 - exiting vehicle
  • Added callbacks OnPlayerOnFireChange, OnPlayerCrouchChange and OnPlayerGameKeysChange (see SDK diff)
  • In-built anticheat can now be disabled using the config line anticheat 0 or the command line option -noanticheat
  • Fixed the config line for servername overwriting the password field