Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.
PLEASE READ - Webmaster Support Forum
This forum will be retired in the near future. Please direct all queries to our dedicated GitHub support page https://github.com/vatsimnetwork/developer-info/discussions 
Here you can find documentation on our services and we are continuing to migrate pertinent information into the Wiki pages https://github.com/vatsimnetwork/developer-info/wiki

Teamspeak 3 Registration & "Bot"


Anthony Lawrence
 Share

Recommended Posts

Anthony Lawrence
Posted
Posted (edited)

All,

 

I've been asked by a few people as to whether I can provide the code for VATSIM-UK's teamspeak registration system. So, here it is!

 

http://A-Lawrence.github.io/TS3-Reg

 

It's provided as is, but I'm more than happy to answer any questions you have on it.

 

A few things:

1) As with most things, the SQL details are in the file "head.php". Change them to match your setup.

2) The file "teamspeak.sql" needs to be imported into your database.

3) The default login method is via auto tools. The script for auto tools is provided (login_autotools.php) you just need to enter your ID and p[Mod - Happy Thoughts]word. If you wish to change the login method, just write your own and save it as whatever (login_custom.php) and then modify line 31 of the head.php file.

4) The bot is included (cron.teamspeak.bot.php). Simply add a cron entry for every x minutes (in the UK we use every 15 minutes, and it works fine). At present it will: Check anyone connected has a valid registration; Check anyone connected isn't banned (network or within the registration database); Advise members if they're running an old TS client; Tidy up registrations if the one-time key hasn't been used within 10 days of being registered.

 

Cheers,

Anthony

Edited by Guest
0
Link to comment
Share on other sites

Florian Harms
Posted
Posted

Cheers Anthony,

it is this kind of work of single individuals which can help the community.

 

Flo

Florian Harms

VATSIM Europe Division / DCRM

Supervisor

Link to comment
Share on other sites

  • 2 weeks later...
Anthony Lawrence
Posted
Posted

All,

 

It'd be nice to have a bit of feedback on how you've used the scripts and how they're working for you? What would you have liked to seen in them? Any changes you've made?

 

Cheers,

Anthony

0
Link to comment
Share on other sites

Rahul Parkar
Posted
Posted

I've been planning to implement these for some private TS servers (with edits that I will release back here) for some time... Haven't had a chance as of yet...

 

I will also be implementing on some VATSIM related TS's soon.

 

I will post my comments on here as soon as I get a chance to test them out

 

Cheers!

Rahul

Rahul Parkar

"On second thoughts Nappa, catch it, catch it with your teeth" -- Vegeta

Professional Nerd. (Professionally not professional)

Link to comment
Share on other sites

  • 4 months later...
Abdelrahman M. Elfeky 1044
Posted
Posted

Absolutely great script .. Really helped out

s5_logo.png
Link to comment
Share on other sites

  • 2 months later...
Michael Bonanno 984105
Posted
Posted

Hi Anthony,

 

I'm relatively new to this stuff. Wondering if you could help me.

 

I can't seem to locate the pwordchecker.php file required. Do I find this elsewhere?

 

Cheers!

Michael Bonanno, VATSIM Supervisor

vatcan%20logo%2087x30.gifvatsim%2082x30.gif

Link to comment
Share on other sites

Rahul Parkar
Posted
Posted

The only pwordchecker.php I see is in the AutoTools login file?

 

That script is a non-local include,

 

You have to have access to AutoTools (From VATSIM VP Membership) to use AutoTools (CERT) to authenticate members.

 

Cheers!

Rahul

Rahul Parkar

"On second thoughts Nappa, catch it, catch it with your teeth" -- Vegeta

Professional Nerd. (Professionally not professional)

Link to comment
Share on other sites

  • 2 years later...
Abdelrahman M. Elfeky 1044
Posted
Posted

The link is down .. can you please provide us with a mirror!

s5_logo.png
Link to comment
Share on other sites

 Share