18.05.2013, 16:35
[Plugin] Teamspeak Connector
18.05.2013, 17:29
This is pretty useful
19.05.2013, 00:03
A function to give a user per uid channelrights or serverrights & delete channelrights and serverrights per uID.
19.05.2013, 00:57
You should make it so that we can listen to people that are on the TS Server.
19.05.2013, 10:19
Quote:
You should make it so that we can listen to people that are on the TS Server.
|
I'm already working on this.
19.05.2013, 10:27
Great!
19.05.2013, 15:01
I've updated the plugin to v0.2.
Some new natives were added and the code was overall improved.
New natives:
As always please report all occuring bugs.
Some new natives were added and the code was overall improved.
New natives:
- TSC_GetChannelName(channelid, dest[]);
- TSC_GetChannelClientList(channelid, list[]);
- TSC_MoveClient(clientid, channelid);
- TSC_SetClientChannelGroup(clientid, groupid, channelid);
- TSC_AddClientToServerGroup(clientid, groupid);
- TSC_RemoveClientFromServerGroup(clientid, groupid);
- TSC_GetClientName(clientid, dest[]);
- TSC_GetClientCurrentChannelID(clientid);
- TSC_SetTimeoutTime(milliseconds);
As always please report all occuring bugs.
19.05.2013, 15:10
Great, I will probably use this for my server!
19.05.2013, 16:27
Quote:
TSC_SetClientChannelGroup(clientid, groupid, channelid); |
And examples for the function would be well
19.05.2013, 16:37
You can't delete a client's channel group, because he has to be in one channel group. I will start working on a wiki.
Small update:
I've updated to v0.2.1 due to a stupid mistake. I've also added a Linux version, but I'm not sure if it will work on other Linux distros than Debian 7.
Small update:
I've updated to v0.2.1 due to a stupid mistake. I've also added a Linux version, but I'm not sure if it will work on other Linux distros than Debian 7.
19.05.2013, 17:44
Can you create a function to give a user rights per uid?
So if the player is not on the teamspeak right then he should also get.
So if the player is not on the teamspeak right then he should also get.
19.05.2013, 17:56
This is not possible. The only way this could be done is, to create a privilege key and send the key per offline message to the user. If the user joins the Teamspeak server, he will recieve this message and has to activate the key.
19.05.2013, 18:23
hm. But, when i have a mysql ts3 server, than you can update the rights for a player or?
19.05.2013, 18:33
Well, maybe, could be possible.
19.05.2013, 22:07
Okay.. If you like, you can give it a try with the mysql version
19.05.2013, 22:26
(
Последний раз редактировалось maddinat0r; 19.05.2013 в 23:36.
)
I don't see a sense making a MySQL based version of this plugin, because
1. not everyone uses MySQL for their Teamspeak server and
2. the method currently used works with all Teamspeak servers.
Edit:
You could queue the pending rights and check with a timer every 30 seconds if the target player is on the teamspeak server. If yes, give him the rights and remove him from the queue, if not keep checking. When server shuts down, save the queue in a MySQL table and load it again at the gamemode startup.
Edit2:
Dammit, just saw that this is also possible via the UID. I'll look what I can do.
1. not everyone uses MySQL for their Teamspeak server and
2. the method currently used works with all Teamspeak servers.
Edit:
Quote:
Can you create a function to give a user rights per uid?
So if the player is not on the teamspeak right then he should also get. |
Edit2:
Dammit, just saw that this is also possible via the UID. I'll look what I can do.
19.05.2013, 23:41
okay thanks for your work!
edit:
What can i do with "TSC_SetTimeoutTime"? :3
edit:
What can i do with "TSC_SetTimeoutTime"? :3
20.05.2013, 17:47
amazing!!
can you do CreateSubChannel() and GetSubChannelsOnChannel() ?
can you do CreateSubChannel() and GetSubChannelsOnChannel() ?
20.05.2013, 17:54
Thats a good idea to give a faction member all rights for the channeltree.
20.05.2013, 18:28
Quote:
Nice job, but i've noticed something, almost in every native you send the command then receive the answer,
so if this plugin gets connected with an external server, it'll lag the local one, since the recv function hangs the server until an answer is received, i know that its only designed to work with local servers so there is no such a problem my suggestion is that if you run the Receive function on a seperated thread, and everytime a response is received you check for errors and use a callback to pass it to scripts, something like "TSC_OnError" maybe ? apart that good work |
I mean..
if you use too fast 2 times the function TSC_GetClientUIDByName(name[]);
the callback will be called twice, and you can't know wich UID is for each name
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)