Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

open.mp server public beta build 6

Pre-release
Pre-release
Compare
Choose a tag to compare
@ksenonadv ksenonadv released this 10 Jul 18:48
· 22 commits to master since this release
19eb7cf

Please wait for plugin maintainers to update their plugins

List of ported libraries to open.mp (Updated)

Reported issues solved in beta build 6

PLEASE NOTE:

Old config.json files don't work any more create a new one using ./omp-server --dump-config (creates a new config.json using your server.cfg) or use ./omp-server --default-config to generate a new one with default values
Don't worry you can still use your server.cfg without any issue

Full changelog including fixes and new changes:

  • New config structure (old config.json files don't work anymore) and new key names
  • Remove --write-config and now introduce --dump-config (generates config.json from your server.cfg) and --default-config
  • Add new Player3DTextLabel natives
  • Fix TextDraws component name (shows while booting server)
  • Fix an issue some people not being able to load GangZones.so component on linux
  • Add tickrate count to GetNetworkStats
  • Fix packetloss percentage showing the wrong number in Network Stats natives
  • Add sleep console command
  • Various sync validation and fixes when receiving data from clients
  • Add YSF format functions (i.e: SendClientMessagef)
  • Fix formatting for packed strings
  • Improvements in GangZones processing
  • Fix gangzone event handler calls ordering
  • Fix GangZoneShowForPlayer creating GangZone more than once when called multiple times
  • Fix NetStats_GetConnectedTime
  • Fix TextDrawSetPreviewRot
  • Fix PutPlayerInVehicle telling server player is inside while they are not due to slow sync
  • Reset player's stored values on gmx
  • Fix spectating state bug showing spectator to player for some moment as AFK
  • Reset player's controllable state on spawn
  • Fix DeletePVar and DeleteSVar
  • Add GetRunningTimers
  • Fix player team setting and getting, also update when needed
  • Fix using SetPlayerTeam in OnPlayerRequestClass
  • Add worldtime console command
  • Fix CreateExplosion for not sending correct type
  • Handle packets sent before player initialization, including ID_RECEIVED_STATIC_DATA & ID_NEW_INCOMING_CONNECTION and custom ones
  • Port many fixes from fixes.inc

New natives:

native SendClientMessagef(playerid, color, const message[], {Float,_}:...);
native SendClientMessageToAllf(color, const message[], {Float,_}:...);
native GameTextForPlayerf(playerid, displaytime, style, const message[], {Float,_}:...);
native GameTextForAllf(displaytime, style, const message[], {Float,_}:...);
native SendPlayerMessageToPlayerf(playerid, senderid, const message[], {Float,_}:...);
native SendPlayerMessageToAllf(senderid, const message[], {Float,_}:...);
native SendRconCommandf(const command[], {Float,_}:...);
native GetRunningTimers();
native RemovePlayerWeapon(playerid, weaponid);