logotype

Блог

16.02.2014 10:07

SA-MP 0.3z is released!

В панель управления добавлена поддержка 0.3z-RC5 и 0.3z-R1 версий игровых серверов.

Скачать дистрибутивы серверов можно здесь.

Updates:

SA-MP 0.3z Updates

SA-MP 0.3z is mainly a security update for the SA-MP 0.3 branch. We've managed to include a few features and fixes too.

- An optional lag compensation mode improves shooting accuracy.
- New server callbacks allow greater control over weapons and vehicles.
- Network statistics functions will make it easier to admin servers.
- Many minor security updates for both the client and server.

SA-MP 0.3z RC5 Client/Server update

- Fixed range check error in the server browser if you added an erroneous port (like 77777).
- Some internal optimisation in the client should improve performance.
- Fixed problem where PVars were not accessible in OnPlayerDisconnect during a gamemode restart.
- Added pawn native GetServerTickRate() to return the current tickrate (like FPS) of the server.
- Fixed problem with 3DText/NameTag LoS tests on server objects.

- Changes to the behaviour and parameters of OnUnoccupiedVehicleUpdate.

In previous server versions, clients could send updates about vehicles that aren't being controlled/driven by other players,
although the server had no ability to cancel these updates. The script will now be notified about such updates before the
vehicle is updated internally. GetVehiclePos would return the existing position, not the updated position. Newly added parameters
describe the player's requested update position. The script can now return 0 to cancel the update or return 1 to allow the update through.

All scripts using OnUnoccupiedVehicleUpdate will need to be updated and recompiled for 0.3z.

pawn Code:
forward OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z);

- server.cfg option 'lagcompmode'
The server.cfg option 'shotcompmode' was replaced with 'lagcompmode' as it will be used for other lag compensation settings in future SA-MP versions.

lagcompmode 0 ; lag compensation is disabled
lagcompmode 1 ; (default) lag compensation is enabled
lagcompmode 2 ; lag compensation enabled, position only.

- The server browser will now show a 'lagcomp' setting in the rules window.
- When lag compensation is disabled, legacy shot mode will now function exactly as it did in previous SA-MP versions (no calls to OnPlayerWeaponShot etc).

samp