Results 1 to 15 of 91
Thread: [REL] TS3 Idle Mover (v1.0.0)
Hybrid View
-
18-01-2010, 14:30 #1
[REL] TS3 Idle Mover (v1.2.0)
I've seen threads appear asking for this for weeks now, and the dev team said they won't be including this. The program connects to a server via ServerQuery and at a set interval checks the clients idle time and moves them if needed. Now, I'm not so great at explaining things so bare with me.
v1.2.1 Released
v2.0.0 Beta Available
REQUIRES .NET FRAMEWORK 3.5
Inside the zip there are 2 files, config.xml and TS3IdleMover.exe. These files need to stay in the same directory or things break. These are the config.xml elements.
- serverip: This is either the host name or IP address of the TS Server.
- serverport: The port of the server this is going to be used on. Default is 9987.
- queryport: This is the ServerQuery port. The default is 10011, if you use gameservers.com then it's 9100.
- username: This is the ServerQuery username, generate this and the password connecting to the teamspeak server and click Permissions then ServerQuery Login. You must have administrator access to do this.
- password: ServerQuery password, read above.
- checktime: This is the interval at which the bot queries the server. This is in seconds.
- idletime: Idle Time is the amount of time at which the client will get moved. This is in minutes.
- afkchannel: This is the ID of your AFK channel. You can find this in parentheses next to the channel name in the right panel.
- ignoreChannels: These are the channel IDs of channels that the bot should ignore, if clients are in these channels they will not get moved if idling. These are seperated by commas. (ex. "156,159,180")
- ignoreClients: These are the Database IDs of clients to be ignored by the bot. IDs can be found by selecting a client and looking in the right panel. Seperated by commas like above.
- hideWindow: When set to true, the window will hide and keep running. The only way to end the program when its hidden is to close it in task manager. This is only recommended if you know what you're doing.
- persistentConnection: When set to true, the bot will connect and stay connected until closed. When false the bot will connect each check period.
Credits: Theowningone(Me), Scordo(Creator of the TS3QueryLib)
Currently the source is NOT released, I'd prefer to keep it to myself, but if for some desperate reason you require it, PM me and we can sort it out. If you need to contact me fore help you can find me on the teamspeak irc using the name Theowning.
Questions? Comments? Suggestions?Last edited by Theowningone; 11-04-2010 at 22:20.
-
18-01-2010, 20:40 #2
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 115
I think you missed how to use my lib correctly. As I can see from your source you're calling GetClientList() and are using the BodyText and start splitting the string.
My Library was intented to save you from doing such crazy things
The way you should do it:
There is no need to ever use BodyText!!!!!Code:foreach (ClientListEntry clientEntry in runner.GetClientList(true)) { // use clientEntry.ClientIdleDuration do do your logic --> Beta 13 required + Version 0.15.7.0 of the lib }
All responses are type safe and have properties you can use.
-
18-01-2010, 23:12 #3
good catch!
glad i didnt start using it yet!
-
18-01-2010, 23:26 #4
Oh, thanks scordo, I didn't even realize that, I recoded and compiled it using that method. (Which was A LOT easier than the way I was doing it.) New version attached to OP.
-
19-01-2010, 01:13 #5
-= TeamSpeak Lover =-
- Join Date
- Jan 2010
- Location
- The Shadows
- Posts
- 51
No linux version QQ
Lol good work
-
19-01-2010, 03:27 #6
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- Eastern Us
- Posts
- 71
Nice Work
Although no linux version :-(
-
19-01-2010, 14:23 #7
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 115
-
19-01-2010, 21:56 #8
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- WI
- Posts
- 18
I can't get it working but i host my server from my house so not sure for the people renting a server.Mine just keeps saying trying to find host all the time.When i try to run it on my other pc all it does is tell me who is in the AFK channel but does not switch anyone to it.It says finding server error id=0 msg=ok and that is only if i run it on a different pc then ts3 server is on.
-
20-01-2010, 00:17 #9
What is the IP you're giving it in the config file, and are you sure you're using a server admin ServerQuery account?
I like the idea but I've gotta fix something first before trying it. Apparently my host (and maybe others) sometimes refuses the connection randomly. Since the socket work is in the library thats where it generates the exception. I'm not sure if it's possible to handle an exception for a library, or if you've included a way, but when it happens it halts the program.
-
20-01-2010, 00:35 #10
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- WI
- Posts
- 18
I am giving it the ip of my server and i can see it querying the server it just is not moving anyone.If there is someone in the afk channel it sees it but it will not move to it from another channel.I do no the server pass is right because i use it to query the server.I have it set up to query every 10 sec and i see it in the log as doing so i just get the error i posted before.
-
20-01-2010, 09:11 #11
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 115
-
20-01-2010, 09:56 #12
-
30-01-2010, 20:13 #13
-= TeamSpeak User =-
- Join Date
- Jan 2007
- Location
- Rhode Island, USA
- Posts
- 15
-
20-01-2010, 00:54 #14
shit, i went to go use it and im retarded and cant figure out how to make the username/pass... is it just like a standard user?, also I have TSViewer and its UniqueID is ServerQuery what difference will that make...
and here i felt special because i managed to make it use mysql...
-
20-01-2010, 01:00 #15
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- WI
- Posts
- 18
i do believe you need the user name sreveradmin and the pass it gave you when you installed ts3.
the pass you got when you first started the server.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Linux TS3 Server Autostart script
By MasterXBKC in forum ToolsReplies: 17Last Post: 02-11-2011, 09:55 -
TS2 Username/Password vs TS3 Token/UniqueID authentication
By MindcrimeNL in forum General QuestionsReplies: 10Last Post: 13-01-2010, 08:00 -
Virtual server manager critical error?
By AndresCL in forum Linux / FreeBSDReplies: 28Last Post: 03-01-2010, 14:15 -
I cant get the server running.
By NDIS.NL in forum Linux / FreeBSDReplies: 10Last Post: 29-12-2009, 18:41 -
nice IDLE kick script...
By xT in forum [TeamSpeak 2] Addons & ScriptsReplies: 28Last Post: 25-05-2005, 22:44



Reply With Quote


