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

Started by Stormeus, Jun 23, 2018, 02:17 AM

Previous topic - Next topic

Stormeus

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()[nb]This function does not return a value; you must use the onPlayerModuleList callback.[/nb]
    • 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.

Stormeus

#1
A follow-up patch has been released; if you've already downloaded the server, please redownload it.
  • Fixed incorrect syncing of weapon ammo.
  • Removed the "Received N bytes of client data" message from the server.
Windows Server (x64)
Windows Server (x86)
Linux Server (x64)
Linux Server (x86)

Make sure your client is up-to-date after updating your server as well.

rww

Now sqlite 64 dll plugin isn't virus for Windows Defender, finally :D

Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

NicusorN5


[FCr]Sheep

its the best job for you my friend Stormus good job and best

Saiyan Attack

player.WideScreen and SetCinematicBorder is bug now they won't make border ....

UrbanY


kennedyarz

the download links for windows server are down

Stormeus


Vegito

stromeus my 04rel006 its not working man :C

rww

Quote from: Vegito on Jun 24, 2018, 07:55 AMstromeus my 04rel006 its not working man :C


You have a problem with server/client? Why not working?
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

NicusorN5

Quote from: rww on Jun 24, 2018, 08:13 AM
Quote from: Vegito on Jun 24, 2018, 07:55 AMstromeus my 04rel006 its not working man :C


You have a problem with server/client? Why not working?
Some people don't even read posts entirely. To use 04rel006 you have to enter a 04rel006 server.