Major Server Update 0.4.5 Released (2018-06-23)

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Major Server Update 0.4.5 Released (2018-06-23)
«  »Last edited
Note
This update has been superseded by 04rel006. The downloads links below have been updated.

Server Update 04rel005/04rel006
Note: See the corresponding client patch notes for some additional changes that may be relevant to you.
  • Reduced the amount of bandwidth needed to sync players and vehicles.
  • Reduced the amount of lag experienced when some types of packets are lost or received out of order.
  • Vehicles should now appear to move more smoothly and warp less frequently.
  • Added a SetFallTimer plugin call to affect how long players will be knocked down for when punched, hit by a vehicle, shot at close range by a shotgun, etc. Setting this to zero disables falling down. Default is 500ms.
  • Added SetPickupOption and GetPickupOption plugin calls and a vcmpVehicleOptionSingleUse flag to mark vehicles and pickups as single-use; single-use entities delete themselves after being destroyed or submerged in water (for vehicles) or picked up (for pickups).
  • Added a GetPlayerModuleList plugin call to get a list of loaded modules (i.e. DLLs) on a player's game without crashing the client. Use the OnPlayerModuleList plugin callback to receive the list and parse it.
  • Vehicle lights, including taxi lights, are now synced. Added SetVehicleLightsData(vehicleId, flags) and GetVehicleLightsData(vehicleId) plugin calls to manage them.
  • Setting a vehicle's colour to -1 will now result in a random colour being picked, similar to the 0.3 Squirrel server.
  • The server will no longer respawn submerged vehicles while they are being occupied or stood on.
  • Fixed entities not being able to be assigned to worlds higher than 65,535 - all 2,147,483,647 worlds should be usable now.
  • Fixed the OnPickupRespawn callback never being called.
  • Fixed an exploit where an attacker could send malformed packets to hang the server.
  • Fixed players getting ejected for entering vehicles too slowly when the gamespeed is reduced.
  • Miscellaneous performance improvements
Server downloads:
Windows Server (x64)
Windows Server (x86)
Linux Server (x64)
Linux Server (x86)

Plugin SDK header



An update for Squirrel has also been released:
  • Added the following properties:
    • bool Pickup.SingleUse
    • int Vehicle.LightFlags
    • bool Vehicle.SingleUse
    • bool Vehicle.TaxiLight
  • Added the following functions:
    • void Player.RequestModuleList()[1]
    • void SetFallTimer(int)
    • int GetFallTimer()
  • Added the following events:
    • onPlayerModuleList(Player, string)
  • Fixed not being able to delete timers that have been paused.
Updated binaries are available on the download page for the Squirrel plugin:
https://bitbucket.org/stormeus/0.4-squirrel/downloads



An update for SQLite for Squirrel has also been released.
  • Updated from SQLite 3.8.6 to 3.24.0, bringing various performance improvements and bugfixes.
Updated binaries are available on the download page for the Squirrel plugin:
https://bitbucket.org/stormeus/0.4-sqlite/downloads



An updated plugin pack for 04rel006 servers can be found here:
https://v04.vc-mp.org/allplugins_04rel006_initial.7z

It contains the Windows and Linux, 32 and 64 bit versions of the following plugins:
  • Squirrel (updated!)
  • SQLite for squirrel (updated!)
  • Announce
  • Java
  • MySQL for squirrel
  • Hashing for squirrel
  • Sockets for squirrel
  • XML configuration loader
Other plugins written for 04rel004 servers will continue to work.
 1. This function does not return a value; you must use the onPlayerModuleList callback.

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 388

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 794

[FCr]Sheep

  • Newbie
  • Posts: 5

Saiyan Attack

  • Jr. Member
  • [KoF]Killer
  • Posts: 67

UrbanY

  • Full Member
  • Posts: 107

kennedyarz

  • Sr. Member
  • Making American Great Again
  • Posts: 334

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128

Vegito

  • Newbie
  • Super saiyan
  • Posts: 9

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 388

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 794