Skip to content

Releases: maddinat0r/samp-tsconnector

v1.3

10 Aug 11:33
Compare
Choose a tag to compare
  • new natives to give/revoke talk power and edit a client description:
native TSC_SetClientTalkerStatus(clientid, bool:status);
native TSC_SetClientDescription(clientid, const description[]);
  • bug-fix: queried channel and client data is not normalized
  • bug-fix: TSC_OnClientDisconnect is not called when a client is kicked or banned
  • bug-fix: several bugs (mainly freezes) may occur when the SA-MP and/or TS3 server is restarted

v1.2.1

28 Apr 16:23
Compare
Choose a tag to compare

Fixed a bug where parsed Teamspeak3 data included invalid characters.

v1.2

17 Jan 13:36
Compare
Choose a tag to compare
  • added error callback: forward TSC_OnError(TSC_ERROR_TYPE:error_type, error_id, const error_msg[]);
  • TSC_Disconnect now properly disconnects and unloads everything
  • bug fixes:
    • a timeout was added in TSC_Connect which will abort the connection attempt when it takes longer than 3 seconds
    • TSC_Connect now returns false if a connection is already established
    • UID's are now properly escaped
    • fixed deadlock in network heartbeat check
    • fixed race condition in network buffer access

v1.1.1

15 Nov 19:06
Compare
Choose a tag to compare
  • fixed a bug where 'TSC_GetClientIdByIpAddress' called a wrong function

v1.1

04 Sep 15:45
Compare
Choose a tag to compare
  • renamed native TSC_FindClient to TSC_GetClientIdByUid
  • renamed native TSC_FindChannel to TSC_GetChannelIdByName
  • removed wait parameter in native TSC_Connect; this native is now always-blocking
  • added functions to query non-cached client/channel data:
    • TSC_QueryChannelData / TSC_QueryClientData:
      requests a data query and calls the specified callback. In this callback you can use
    • TSC_GetQueriedData / TSC_GetQueriedDataAsInt:
      retrieves the queried data as a string/integer
  • added support for hostnames (e.g. you can now use localhost instead of 127.0.0.1)
  • added more parameters into TSC_CreateChannel
  • added function to retrieve a clients IP address (TSC_GetClientIpAddress)
  • added function to retrieve a client ID through an IP address (TSC_GetClientIdByIpAddress)
  • bugfix: crash when using invalid Teamspeak server IP
  • bugfix: TSC_SetChannelUserLimit wasn't working correctly when setting user limit to unlimited
  • bugfix: system detected duplicate notifications inaccurately
  • some more small bugfixes

v1.0

02 Aug 17:34
Compare
Choose a tag to compare
  • rewrote whole code, this is almost a completely new plugin!
  • all channel natives are now using the channelid instead of the channel name to work
  • (almost) all client natives are now using the clientid instead of the client uid to work
  • a caching system has been built in, you can now directly access data through the Get-functions
  • a completely new internal network layer provides more stability and reliability
  • merged natives TSC_Connect and TSC_Login (connecting without having almost any permissions makes no sense)
  • TSC_SetChannelSubChannel has been renamed to TSC_SetChannelParentId
  • TSC_MoveChannelBelowChannel has been renamed to TSC_SetChannelOrderId
  • TSC_SetChannelTalkPower has been renamed to TSC_SetChannelRequiredTP (TP = talk power)
  • TSC_SendChannelMessage and TSC_ToggleClientTalkAbility have been removed (most likely forever)
  • new callbacks:
    • TSC_OnConnect (is called when connection is established)
    • TSC_OnChannelCreated(channelid)
    • TSC_OnChannelDeleted(channelid)
    • TSC_OnChannelReorder(channelid, orderid)
    • TSC_OnChannelMoved(channelid, parentid, orderid)
    • TSC_OnChannelRenamed(channelid, name[])
    • TSC_OnChannelPasswordEdited(channelid, bool:ispassworded, bool:passwordchanged)
    • TSC_OnChannelTypeChanged(channelid, TSC_CHANNELTYPE:type)
    • TSC_OnChannelSetDefault(channelid)
    • TSC_OnChannelMaxClientsChanged(channelid, maxclients)
    • TSC_OnChannelRequiredTPChanged(channelid, talkpower)
    • TSC_OnClientPrivateText(from_clid, from_nickname[], to_clid, msg[]) (private chat between ServerQuery client and other normal clients)
  • new functions:
    • TSC_FindChannel(channelname[]) (gets the channelid through the channelname; the name has to match exactly)
    • TSC_FindClient(uid[])
    • TSC_IsValidChannel(channelid)
    • TSC_GetDefaultChannelId()
    • TSC_GetClientUid
    • TSC_GetClientDatabaseId
    • TSC_GetClientChannelId
    • other TSC_GetChannel* functions

TSConnector v0.6.2

22 Feb 14:18
Compare
Choose a tag to compare
  • implemented an automatic delay check which should increase reliability

TSConnector v0.6.1

01 Feb 15:51
Compare
Choose a tag to compare
  • fixed a bug where data might be mis-interpreted sometimes
  • fixed native TSC_SetChannelType

A special thanks to MyU from the SA-MP forum for his help.

TSConnector v0.6

24 Jan 23:28
Compare
Choose a tag to compare
  • massive code improvements and cleanup
  • increased reliability
  • removed all documentation from the include file (there will be a better one in the SA-MP wiki soon)
  • added new native "TSC_ChangeNickname" to change the nickname of the logged-in serverquery account

TSConnector v0.5

15 Jul 16:56
Compare
Choose a tag to compare