-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clientgetnamefromuid with clientquery #85
Comments
This is my script right now In my putty window I get clear text, name, id and everything else but in my document I get nothing else but bytes returned |
So I looked it up: (2) The examples in the readme file touches this very well: What you want to do: None of this code is tested by the way, so please correct me if I'm wrong. Also this is for ServerQuery, but clientquery should work similar I guess. |
Thanks for your answer! That didn't seem to work, just like before Putty spits out the name of the unique ID but my console keep giving me [] I've tried
|
That is better, at least now it gives you the correct return type. Some things you can take a look at: I will update this post if I can think of more reasons |
(1) Yeah with the same auth key and everything Really appreciate you taking your time helping me with this! |
If you want to discuss this more hands-on, you can give me your server address and I can join tomorrow (today). As it is mostly the case in programming, I am sure this is a simple solution to a complicated problem or a complicated solution to a simple problem :P |
Hey sorry for not responding for a while, been hella busy lately. I'll be back at my PC in a week if you are still up for helping me :) |
Sure, just continue whenever. |
Hey, really really new to Python and programming in general but I thought this would be a fun project for the summer holidays.
I'm trying to get client names from their Unique IDs
print(ts3conn.exec_("clientgetnamefromuid", cluid=str(row[4])))
but I keep getting
<ts3.response.TS3QueryResponse object at 0x09A569D0>
How do I turn this into normal text?
Using clientquery not serverquery if that's of any interest
Edit: In other words I want to get a users current Name by from their Unique ID
The text was updated successfully, but these errors were encountered: