Erik. Posted May 6, 2006 Share Posted May 6, 2006 (edited) Hello, i have some problems whit people that join the Teamspeak server. The spam everything. The join and the go. i can not proof that he was it. Now i want your help. i want to make a program that read every minute what players there at temapseak there inlogname there name there ip the time when the come the time the leave how to do that? i do not want to need to controll the mouse i hope someone can help me. i want to make that it write it to a txt file info of teamspeak: www.goteamspeak.com Edited May 6, 2006 by Erik. I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
CodeMaster Rapture Posted May 6, 2006 Share Posted May 6, 2006 Hmm, doesn't Teamspeak have a logging feature already? Link to comment Share on other sites More sharing options...
Erik. Posted May 6, 2006 Author Share Posted May 6, 2006 no, thats the problem thats why i want to make that program. I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Erik. Posted May 6, 2006 Author Share Posted May 6, 2006 (edited) Could someone help me. Don't know how to begin Edited May 6, 2006 by Erik. I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Erik. Posted May 8, 2006 Author Share Posted May 8, 2006 (edited) Hi, okey i am on may way. i have this at the moment: #include <file.au3> $file = @ScriptDir & "/logfile.log" $file1 = @TempDir & "/current.log" WHile 1 sleep(1000) If FileExists($file) Then If Fileread($file) = "" Then FileWrite($file,controlgettext("TeamSpeak 2","","TRichEditWithLinks2") & @CRLF) Elseif FileRead($file) = FileRead($file1) Then sleep(1000) Else sleep(1000) FileDelete($file) FileDelete($file1) _FileCreate($file) _FileCreate($file1) FileWrite($file,controlgettext("TeamSpeak 2","","TRichEditWithLinks2") & @CRLF) FileWrite($file1,controlgettext("TeamSpeak 2","","TRichEditWithLinks2") & @CRLF) sleep(1000) EndIf Else _FileCreate($file) If FileExists($file1) Then sleep(1) Else _FileCreate($file1) EndIf EndIf WEnd Here you have some screenshots what i mean. www.elektrotechnicus.nl/ts.JPG There you see the main of Team Speak Whit the code you see above the text under TeamSpeak will be copyd into a log file At www.elektrotechnicus.nl/ts2.JPG You see a picture where you can see the info of the player i do not have any code for it but iw ill be verry hard to get i, because its a information screen of Team Speak Could you please help me whit the script how to make a script to get the ip of the player the username the login name i want that that info will be stored at another log file i do not want that it paste it every time first it must look if the name and ip are right and when it's not then it must write how to do that. i do not want to need to use the mouse ore something:P Edited May 8, 2006 by Erik. I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now