Skip to content

Releases: IS4Code/YSF

R17

10 Nov 14:39
Compare
Choose a tag to compare
R17 Pre-release
Pre-release

R17

  • Added OnPlayerClientGameInit*
  • Added compatibility with SKY, now both plugin can be loaded without crash
  • Added GetActorAnimation
  • Added (Set/Get)RecordingDirectory
  • Added GetVehicleModelCount, GetVehicleModelsUsed
  • Added YSF_SetExtendedNetStatsEnabled, YSF_IsExtendedNetStatsEnabled (by default disabled)
  • Added YSF_(Set/Get)AFKAccuracy to adjust AFK accuracy, in ms - default 1500
  • TogglePlayerOnPlayerList renamed to TogglePlayerInServerQuery
  • Fixed GangZoneShowForAll would call OnPlayerLeaveGangZone
  • Fixed crash with AttachObjectToPlayer
  • Fixed crash with AttachPlayerObjectToPlayer
  • Fixed GetObjectAttachedData -> 'attachedplayerid'
  • Other minor bugfixes & improvements
  • This callback will be called immendiately after player connect to server. You can change the inital settings here for player like cjwalk, onfoot_rate, etc.

http://www.mfrserver.net/up/YSF_kurta999_version_R17.7z

I would like to ask, test the new OnPlayerClientGameInit callback before release please.

http://forum.sa-mp.com/showpost.php?p=3670185&postcount=1311


R18 comming soon, mainly with bugfixes.

R16

05 Feb 16:01
Compare
Choose a tag to compare
R16

R16

  • Added SetVehicleSpawnInfo (thanks to P3ti for hooks)
  • Added RemoveLastClass*
  • Added SetPlayerDisabledKeysSync ** , GetPlayerDisabledKeysSync **
  • Readded logprintf hook, but OnServerMessage was removed because it wasn't stable
  • Readded OnRemoteRCONPacket
  • Fixed LR/UD keysync in onfoot sync, which was the reason for randomly happen desnyc
  • Fixed crash on gmx
  • Fixed random crashes by /rcon weather
  • Fixed crash caused by /rcon varlist (% symbol in msg) when logprintf hook installed
  • Fixed SetModeRestartTime
  • Fixed 3D text functions
  • Fixed text in GetObjectMaterialText
  • Fixed SetPlayerChatBubbleForPlayer parameters
  • Improved plugin structures & SA-MP server classes
  • Patched internal function for Get(Player)NetworkStats to return more advanced stats
  • This function only will decrease available classes, only will affect
    newly connected players

** Disabled keys sync only work when player is onfoot or driver

Bugs:

  • IsBanned(ipaddress[]) doesn't work at linux
  • /rcon weather do not update value stored by GetPlayerWeather

R15

09 Jan 13:58
Compare
Choose a tag to compare
R15

R15 - MOST STABLE WITHOUT SHIT CRASHES

  • Added natives to toggle nightvision fix (YSF_EnableNightVisionFix, YSF_IsNightVisionFixEnabled)
  • GetVehicleColor should return correct colors before ChangeVehicleColor has been used
  • Internal changes to source code, especially for casts
  • Project has been updated to Visual Studio 2015
  • Model sizes has been updated to more precise version, thanks to Crayder
  • Fixed remote rcon crash at windows
  • OnRemoteRCONPacket has been removed for now, since it were unstable at some situatons
  • OnServerMessage was unstable, it was removed too
  • SetMaxPlayer fix removed temporary

R14-3

21 Jul 00:49
Compare
Choose a tag to compare

R14-3

  • Renamed GetActiveTimers to GetRunningTimers (old version is still aviable)
  • PlayerTextDrawGetAlignment, PlayerTextDrawGetPreviewRot & PlayerTextDrawGetPreviewVehCol didn't worked correctly

R14-2

13 Jul 22:48
Compare
Choose a tag to compare

R14-2

  • Added support for 0.3.7 R2
  • Now plugin shouldn't crash if loaded with invalid server version, just memory hacking functions won't work

R14

08 Jul 19:42
Compare
Choose a tag to compare
R14

R14

  • Fixed AttachPlayerObjectToObject in 0.3.7 version
  • Removed GetPlayerDialogID, IsPlayerEditing(Attached)Object due to these were caused lot of bugs
  • logprintf hook aka OnServerMessage will only work for windows, for some resons it's seems like unstable on linux

R13

24 May 21:41
Compare
Choose a tag to compare
R13
  • Updated to 0.3.7, for 0.3z use R12 or below
  • SAMP GDK has been updated to 4.3 - Streamer Plugin 2.7.6 or higher versions will work
  • Remove security checks against crashers, these are fixed in 0.3.7
  • Removed Get(Player)ObjectModel - it's added in 0.3.7
  • Added defaultcameracollision to GetServerSettings
  • Added weaponid parameter to SendBulletData
  • Added GetActorSpawnInfo, GetActorSkin
  • Added BroadcastDeath
  • Added IsPlayerCameraTargetEnabled
  • Added IsObjectNoCameraCol, IsPlayerObjectNoCameraCol
  • Added GetPlayerCameraTargetPlayerObj
  • Fixed GetPlayerObjectAttachedData and added attached_player
  • Fixed GetPlayerObjectAttachedOffset with objects attached to objects, players
  • Removed SendInvalidPlayerSync, as it already fixed in raksamp

R12-2

07 Apr 00:59
Compare
Choose a tag to compare
  • Fixed bug with anti weapon crasher, this was the reason why OnPlayerWeaponShot didn't called with object shots

R12

14 Mar 00:10
Compare
Choose a tag to compare
R12

Updates:

  • Added SetPlayerPosForPlayer_, SetPlayerRotationQuatForPlayer_
  • Added GetPlayerSurfingPlayerObjectID
  • Added GetObjectType
  • Added functions which support inline formatting: SendClientMessagef, SendClientMessageToAllf, GameTextForPlayerf, GameTextForAllf, SendPlayerMessageToPlayerf, SendPlayerMessageToAllf, SendRconCommandf
  • Added IsValidServerRule , GetServerRuleFlags
  • ModifyFlag renamed to SetServerRuleFlags
  • You can change YSF tickrate in pawn or you can disable update checks totaly within YSF(set tick rate to -1)
  • Fixed gang zone overlapping bug when you show a visible gang zone for player
  • Fixed OnServerMessage on linux
  • If you want to set player position/rotation (in quat) for another player then you need to set latest parameter (forcesync) to 1. While ths parameter is 1, target player position will be changed to custom position in network packet. So this player won't able to move just stay at same position for given player. If you want to disable it, then just set forcesync to 0 and done.

R10

17 Nov 22:19
Compare
Choose a tag to compare
R10
  • Added SetPlayerChatBubbleForPlayer
  • Added SendInvalidPlayerSync to crash raksamp clients
  • Added OnPlayerStatsAndWeaponsUpdate() callback, which will be called with STATS_UPDATE & WEAPONS_UPDATE packet. Get player drunk/weapon ammo/target/money will be the best accurate under this callback
  • Added GetPlayerLastSyncedVehicleID, GetPlayerLastSyncedTrailerID
    (This will return last synced vehicle from INCAR_SYNC_DATA, for unoccupied vehicle use OnUnoccupiedVehicleUpdate)
  • Added OnServerMessage(const message[])

This function will be called when server prints a message to console. A.K.A [url=http://forum.sa-mp.com/showthread.php?t=375925][B]fixes2[/B][/url] fixed OnServerMessage.

  • Fixed pause functions on linux (Fixed RakPeer::Receive on linux, thanks to Zeex for subhook library)
  • Fixed bullet crasher inside plugin
  • Fixed crashes were caused by gangzones
  • Many improvements on plugin structure
  • Fixed wrong color rgba format in GetPlayerAttachedObject & GetObjectMaterial
  • Updated "YSF_examples.pwn" to demostrate every new functions within YSF

Per-player pickup system was bugged, so I removed it. Maybe I'll fix it in R11.