Jump to content

Read Inof Of Players


Recommended Posts

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 by Erik.

I little problem, hard to find and fix

Link to comment
Share on other sites

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 by Erik.

I little problem, hard to find and fix

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...