Results 1 to 6 of 6
-
02-08-2012, 15:58 #1
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 10
"parameter not found" when connecting with a generated privilege key
Hi,
I generate a privilege key with the server query (php) by callingThe server group called 'Normal' has the id 7 and the customset string is used for synchronizing the user with the ts3 client. When you connect to the server with the url: ts3server://SOME_IP/?port=9987&token=nhxzQW4MYaIbeni8Yga2GejP40vxWR5oP 6lQYV4B the ts3 application outputs the error "parameter not found".PHP Code:privilegeKeyCreate(0, 7, 0, null, 'user_id=1');
I checked the ts3 db and I can see in the tokens table the newly created token with the token_customset, group and everything that I passed. So the token is created successfully. The problem is that it doesn't generate a new client, it doesn't populate the custom_fields table and it shows the "parameter not found" error when you try to connect to ts3 using an url.
Please help.
-
03-08-2012, 08:32 #2
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 10
No one knows anything?
-
03-08-2012, 08:40 #3
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,762
I can reproduce this with the normal query command
We will investigate into that. This happens to, when you just use suha token while you are connected.Code:tokenadd tokentype=0 tokenid1=7 tokenid2=0 tokencustomset=testing
But your user can connect afterwards.
Thread was moved into bug section---------------------------------------------------------
Please don't send me private support questions.
They belong into the forum and maybe other users have these questions/problems too.
TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
NPL License (Registration)
-
03-08-2012, 09:51 #4
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 10
If I create a privilege key without a customset, then the user can connect, but the token itself is not created at all. I checked Permissions > Privilege Keys and the new token is not there.
On the other hand If I create the privilege key with customset, then the token is found in the privilege keys. But once the user tries to connect with this token he get's the "parameter not found" error and the token itself is deleted.
If this is a bug, then it means that I have to wait for you to fix it. Is there another way to assign custom data to clients in order to synchronize them with an external users database?
-
03-08-2012, 13:15 #5
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,762
Ok there is no bug. I move it inot the server support, that's my fault.
It was hard for me to understand it, i can not remember when it was tested. But reading the manuall helped
This is the command for the query and a custom set needs always the ident and it's value
Thisi sthe full command for this.Code:privilegekeyadd tokentype=0 tokenid1=7 tokenid2=0 tokencustomset=ident=user_id\svalue=1
tokencustomset=ident=XXX\svalue=xxx
Your php script seems to send only one entry.
-----------------------------
Adding a token without a custom set works fine our query, i guess there is something wrong with your script.
This would be command for the query.
Code:privilegekeyadd tokentype=0 tokenid1=7 tokenid2=0
---------------------------------------------------------
Please don't send me private support questions.
They belong into the forum and maybe other users have these questions/problems too.
TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
NPL License (Registration)
-
03-08-2012, 13:57 #6
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 10
Sorry, my bad. I looked in the manual and there it was: "ident=ident1 value=value1|ident=ident2 value=value2|ident=ident3 value=value3". Actually you don't need \s, you can just use space (" ") if you are running it with the api class.
You can close this if you want.
Thank you.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How are Icon-IDs generated?
By Mumpitz in forum General QuestionsReplies: 1Last Post: 08-06-2011, 07:50 -
Privilege Key + file not found error
By easyvoiceservers in forum Linux / FreeBSDReplies: 1Last Post: 07-08-2010, 15:23 -
TS3 Token can be generated and get SA?
By AKA-Shadow in forum Bug ReportsReplies: 6Last Post: 30-05-2010, 16:28


Reply With Quote