Updates

From Vice City Multiplayer
Revision as of 14:43, 18 April 2015 by Ysc3839 (talk | contribs)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing


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.

RC2 Update Released (04rel001)

  • Sprites and textdraws can now be relatively positioned
    • Relatively positioned sprites and textdraws use a 1024x768 display as the baseline. Their position is scaled up or down according to each player's resolution.
  • Ghost vehicles now using collision filtering instead of broken game flags
  • Tank turrets, firetruck hoses, and Predator cannons are now synced
  • Fixed the Cuban Cafe using LOD models
  • Shifted some skins to fix a previously available ped being unusable
  • The "Using all keyboards" functionality from the END key has been rebound to the PAUSE key

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

RC2 Update Released (04rel001)

  • Linux servers now handle Ctrl+C (SIGINT) and other signals gracefully, allowing it to exit properly
  • Fixed a potential exploit that would allow sync packets from unjoined players
  • Added a new plugin calls:
    • ShutdownServer for shutting down the server with plugins
    • GetPlayerWantedLevel for getting a player's wanted level. (previously write-only)
    • SetTextdrawRelativity and SetSpriteRelativity for setting if either is relative
    • GetVehicleTurretRotation for tanks
    • ToggleOnlyShowTeamMarkers for emulating ShowOnRadar 2 from the 0.3 Squirrel server. If this is enabled and ToggleShowMarkers is also enabled, players will only be able to see markers of teammates.
  • Modified CreateSprite and CreateTextdraw to require a bIsRelative parameter
  • OnEntityPoolChange is now called for blips, radio stations, sprites, and textdraws
  • Significantly updated the plugin API to reflect new features; old plugins may not run as expected