Skip to content

Releases: katursis/Pawn.RakNet

1.6.0-omp

12 Feb 20:01
Compare
Choose a tag to compare
  • Updated to the latest samp-ptl version
    • Fixed randomly gamemode breaking caused by samp-ptl errors handling
  • Added config option LogAmxErrors (true by default)
  • Fixed BS_NewCopy

Just put .dll/.so in components folder

1.6.0

12 Feb 19:56
Compare
Choose a tag to compare
  • Updated to the latest samp-ptl version
    • Fixed randomly gamemode breaking caused by samp-ptl errors handling
  • Added config option LogAmxErrors (true by default)
  • Fixed BS_NewCopy

1.5.1-omp

10 Jan 21:19
Compare
Choose a tag to compare
  • Adapted Pawn.RakNet to open.mp RC2

Just put .dll/.so in components folder

1.5.1

26 Sep 10:13
Compare
Choose a tag to compare
  • Added optional param orderingchannel to PR_SendPacketToPlayerStream, PR_SendRPCToPlayerStream, PR_SendPacketToVehicleStream, PR_SendRPCToVehicleStream
  • Optimized BS_ReadWeaponsUpdate, BS_ReadMarkersSync
  • Updated samp-ptl to the latest version
  • Fixed compile warnings

1.5.0

11 Sep 21:43
Compare
Choose a tag to compare
  • Completely rewritten using samp-ptl
  • Natives BS_New, BS_NewCopy, BS_Delete are more efficient now because of using pool of bitstreams
  • Publics OnOutcomingPacket, OnOutcomingRPC are deprecated now. Please use OnOutgoingPacket, OnOutgoingRPC
  • Added publics OnIncomingInternalPacket, OnOutgoingInternalPacket for intercepting some internal packets, for example, ID_AUTH_KEY=12. Publics are disabled by default, but you can enable them in pawnraknet.cfg. Also added array WhiteListInternalPackets (empty by default) in pawnraknet.cfg. You can enumerate specific packet ids in that array to intercept only them in OnIncomingInternalPacket/OnOutgoingInternalPacket
  • Added ICustomRPC macro for user-defined PRCs
  • Added stocks BS_PackAspectRatio, BS_UnpackAspectRatio, BS_PackCameraZoom, BS_UnpackCameraZoom
  • Added PR_MarkersSync and stocks BS_ReadMarkersSync, BS_WriteMarkersSync
  • Added optional param orderingchannel (default 0) to PR_SendPacket, PR_SendRPC
  • Added helping comments for PR_ValueType, PR_PacketPriority, PR_PacketReliability in Pawn.RakNet.inc
  • Fixed PR_EmulateIncomingRPC with InterceptIncomingRPC = false
  • Removed redundant dependencies from RakNet lib

1.4.1

18 Jun 11:33
Compare
Choose a tag to compare
  • Fixed PluginReceiveResult (IncomingRawPacket)
  • Fixed PR_MAX_HANDLERS

1.4.0

03 May 10:14
Compare
Choose a tag to compare
  • Added new types: PR_STRING8, PR_STRING32, PR_IGNORE_BITS
  • Added BS_ReadFloat3, BS_ReadFloat4, BS_ReadVector, BS_ReadNormQuat, BS_ReadString8, BS_ReadString32, BS_WriteFloat3, BS_WriteFloat4, BS_WriteVector, BS_WriteNormQuat, BS_WriteString8, BS_WriteString32 macroses
  • Added PR_BITS_TO_BYTES, PR_BYTES_TO_BITS macroses
  • Added IRawPacket/IncomingRawPacket, OnIncomingRawPacket callbacks. Now you can capture your own RPC from a client within ID_RPC packet
  • Added PR_SendPacketToPlayerStream, PR_SendRPCToPlayerStream, PR_SendPacketToVehicleStream, PR_SendRPCToVehicleStream stocks
  • Added PR_StatsUpdate (BS_ReadStatsUpdate, BS_WriteStatsUpdate), PR_RconCommand (BS_ReadRconCommand, BS_WriteRconCommand) structs
  • Added BS_NewCopy native
  • Added support for multiple zcmd-style handlers within a script
  • Native BS_Send marked as deprecated. Use PR_SendPacket instead
  • Native BS_RPC marked as deprecated. Use PR_SendRPC instead
  • Native BS_EmulateIncomingPacket marked as deprecated. Use PR_EmulateIncomingPacket instead
  • Native BS_EmulateIncomingRPC marked as deprecated. Use PR_EmulateIncomingRPC instead
  • Fixed "copyData == false (AddBitsAndReallocate)" warning. Now you can modify packet/RPC and exceed the allocated buffer
  • Fixed "GetPacketId not found" error
  • Fixed reading multibyte strings
  • Added "You probably forgot to define FILTERSCRIPT in one of your filterscripts" warning
  • Internal optimization

1.3.0

25 Feb 13:04
Compare
Choose a tag to compare
  • Added new types: PR_FLOAT3, PR_FLOAT4, PR_VECTOR, PR_NORM_QUAT
  • Added BS_ReadWeaponsUpdate, BS_WriteWeaponsUpdate
  • Added BS_EmulateIncomingPacket, BS_EmulateIncomingRPC
  • Added optional 3rd argument 'outcoming' in BS_ReadOnFootSync, BS_ReadInCarSync, BS_WriteOnFootSync, BS_WriteInCarSync
  • Fixed ID_TIMESTAMP vulnerability
  • Fixed negative playerid in OnIncomingPacket, OnIncomingRPC
  • Added CR:MP (0.3e) adaptation

1.2.0

06 May 13:05
Compare
Choose a tag to compare
  • Added native BS_GetNumberOfBitsAllocated
  • Fixed server crashing

1.1.0

20 Apr 18:36
Compare
Choose a tag to compare
  • Added PR_SpectatingSync, BS_ReadSpectatingSync, BS_WriteSpectatingSync
  • Added pawn.json
  • Fixed incompatibility with rustext plugin