News A server update was released on July 20. Server patch notes and downloads are here. Additionally, a client update was released on the same day. Client patch notes are here.
Client Updates
 Client Update for 0.4 Released (2017-05-24)

Posted by Stormeus, on May 24th, 2017, 05:42 PM   (910 views) « 1 2 3 »

A client update has been released for 04rel004.

Addendum
This update was reissued on 2017-05-25 in order to fix a regression where the GUI system would fail to initialize on some systems, causing a crash.
  • Added custom font loading. Windows font files can be placed in a new directory on the server, store/fonts/, and can then be used in GUIs.
  • Added ability to hide and show HUD elements. New client-side scripting elements have been added:
    • Hud.AddFlags(flags) — a function that enables a HUD element or multiple elements
    • Hud.RemoveFlags(flags) — a function that disables a HUD element or multiple elements
    • Hud.Flags — an integer representing the HUD elements enabled
    • Several constants:
      • HUD_FLAG_CASH
      • HUD_FLAG_CLOCK
      • HUD_FLAG_HEALTH
      • HUD_FLAG_WEAPON
      • HUD_FLAG_WANTED
      • HUD_FLAG_RADAR

    Examples
    • Hud.AddFlags(HUD_FLAG_CASH) — shows the cash HUD element
    • Hud.RemoveFlags(HUD_FLAG_CLOCK | HUD_FLAG_WEAPON | HUD_FLAG_RADAR) — hides the clock, weapon icon and radar all at once
    • if (Hud.Flags & HUD_FLAG_HEALTH) { /* ... */ } — runs code if the health HUD element is on screen
  • Added support for loading precompiled client-side scripts (i.e. .cnut files). These must be compiled on a 32-bit Squirrel instance.
  • Prepared to fix vehicle locking. This fix requires a companion server update which will be released in the coming days.
  • Fixed not being able to remove custom weapons from a player.
  • Fixed SMGs turning invisible when entering and exiting vehicles on servers with driveby disabled.
  • Fixed grenades disappearing from the player's hand after throwing one.
  • Fixed players with prostitute skins (24, 43, 70) uncontrollably trying to enter cars when other players entered or drove cars near them.
  • Fixed GUI elements being draggable after disabling the GUI_FLAG_DRAGGABLE flag.
  • Fixed the client crashing when picking an excessively long nickname in the browser.
  • Fixed player getting stuck in an attack loop when using some melee weapons while walking.
  • Fixed passengers being unable to dive out of fast-moving vehicles.
  • Fixed Listbox.RemoveItem hanging the game.
  • Fixed objects such as barrels at Vercetti's mansion being rendered like pickups.
  • Fixed remote players turning invisible and desynced after diving out of a moving vehicle that appears to explode for others.
  • Fixed the client crashing on disconnect if GUI listboxes are present.
  • Fixed /infgetmodelname and /infgetvehicleid showing incorrect results.
This update will take effect upon reloading the browser.

36 replies
 Client Update for 0.4 Released (2017-06-07)

Posted by Stormeus, on June 7th, 2017, 07:30 AM   (775 views) « 1 2 »

A client update has been released for 04rel004.
  • Fixed players sliding when crouch-tapping.
  • Fixed some shot timing issues when fast switching while standing.
  • Fixed not being able to throw grenades and molotovs properly.
  • Fixed incorrect death reasons and killers sometimes being given when dying in an automobile.
  • Fixed some vehicle sync issues with players getting killed in automobiles.
  • Fixed a regression where vehicle drivers would dive out of vehicles even when driving at slower speeds.
This update will take effect upon reloading the browser.

15 replies
 Client Update for 0.4 Released (2017-06-06)

Posted by Stormeus, on June 6th, 2017, 08:51 AM   (326 views) « 1 2 »

A client update has been released for 04rel004.
  • Fixed move states becoming desynced when holding the sprint key while holding some weapons, causing players to slide and shoot unpredictably.

    This also resolves the following reported issues:
    • Fixed remote players appearing to constantly reload without firing when shooting Uzis while crouching and holding down the move forward key.
    • Fixed sliding and mistimed weapon fire when holding down the fire button and switching weapons.
  • Fixed remote players appearing to shoot their weapons when playing certain scripted animations and attempting to enter a car.
  • Fixed another issue that caused remote players to stand up too early when shooting.
  • Fixed lines rendered by the console sometimes going out of sync, particularly when using the console resize (F7) key.
  • Reworked the patch allowing passengers to jump out of moving vehicles to avoid sync issues.
  • Removed client-side function System.GetTickCount as it was redundant. Use Script.GetTicks instead. (Sorry for the breaking change.)
This update will take effect upon reloading the browser.

Errata
  • An earlier version of these patch notes originally said "Fixed remote players appearing to constantly reload without firing when shooting Uzis while crouching." This issue was only present when doing so while also holding down the move forward key.


15 replies
 Client Update for 0.4 Released (2017-06-05)

Posted by Stormeus, on June 4th, 2017, 08:56 AM   (341 views) « 1 2 »

A client update has been released for 04rel004.
  • Implemented client-side functions for getting datetime. New client-side scripting elements have been added:
    • System.GetDate([timestamp, [format]]) — follows the same syntax as the Squirrel standard library's date function; both parameters are optional
    • System.GetTimestamp() — returns the number of seconds since the UNIX epoch; equivalent to Squirrel's time function
  • Fixed the game crashing if too many custom vehicles were loaded across reconnects.
  • Fixed the game crashing when reloading 7z archives when reconnecting to servers.
  • Fixed memory leaking when loading 7z files, PNG files and custom vehicles with additional components.
  • Fixed the vehicle lights flag being overridden by being unoccupied.
  • Fixed remote players standing up too early if pressing their sprint key while crouching and firing.
This update will take effect upon reloading the browser.

17 replies
 Client Update for 0.4 Released (2017-06-03)

Posted by Stormeus, on June 3rd, 2017, 06:34 AM   (253 views)

A client update has been released for 04rel004.
  • Added ability to copy messages from the console using Ctrl + C.
  • Fixed players' shooting animations not being reset when given weapons, allowing them to run with heavy weapons.
  • Fixed remote players being able to shoot their weapons before getting up and recovering from knockdown if they held down their fire button.
  • Fixed players sliding when walking toward vehicles to enter them.
  • Fixed passengers not being able to jump out of automobiles traveling particularly fast.
This update will take effect upon reloading the browser.

12 replies
 Client Update for 0.4 Released (2017-06-01)

Posted by Stormeus, on June 1st, 2017, 07:11 AM   (174 views)

A client update has been released for 04rel004.
  • Patched libpng to the latest 1.5.x release to fix security vulnerabilities and improve stability. This also fixes libpng15.dll being deleted by Kaspersky and other antivirus suites, which prevented VC:MP from properly launching.
This update will take effect upon reloading the browser.

5 replies
 Client Update for 0.4 Released (2017-05-31)

Posted by Stormeus, on May 31st, 2017, 08:30 AM   (242 views)

A client update has been released for 04rel004.
  • Implemented client-side sprite rotation and scaling. New client-side scripting elements have been added:
    • GUISprite.Rotation — a get/set float property for the rotation of the sprite in degrees
    • GUISprite.RotationCentre — a VectorScreen specifying the center of rotation of the sprite; defaults to the top left corner of your sprite
    • GUISprite.Scale — a Vector that multiplies the size by the scaling factor given (e.g. 1.0 is full size, 0.5 is half size); setting the Z coordinate has no effect
  • Fixed per-instance handling not being properly set for custom vehicles.
  • Fixed errors when calculating Z-axis transformations on GUI elements in 3D space.
  • Fixed game crashing when disconnecting from and reconnecting to servers with customizations.
This update will take effect upon reloading the browser.

8 replies
 [2/2] Client Update for 0.4 Released (2017-05-27)

Posted by Stormeus, on May 27th, 2017, 07:51 PM   (420 views)

This is a follow-up to fix some regressions introduced earlier today when updating:
  • FIxed the game crashing when taking screenshots
  • Fixed custom MP3/OGG sounds
Sorry about that, everyone.

14 replies