Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    Steam integration [Node.js]

    Hello everyone,

    I've launched an open source project on GitHub which allows server administrators to automatically get their new TeamSpeak users verified (it will link Steam accounts to TeamSpeak accounts).

    As soon as your app is running with steam-ts your Steam bot will automatically log into Steam and into your TeamSpeak query server and start listening to !verify commands in the Steam chat. When someone writes !verify to the Steambot, it will prompt the user to give their TeamSpeak username which they are currently recognized by on the given TeamSpeak server and it will also warn them that they have to be connected to the TeamSpeak server during the process. When the given username was correct it will poke the TeamSpeak client under that username with a randomly generated string and it will tell the user to send that string to the Steambot through the Steam chat. When the bot has successfully compared the both strings it will write to a file called verified.json. This json file contains an array called users wherein each object represents a verified user.

    For more information about it visit it on GitHub: https://github.com/nikitavondel/steam-ts

    The link between TeamSpeak accounts and Steam accounts lead to a tremendous amount of possibilities, such as:
    - Checking if a user is in a certain Steam group so you can give them a special rank
    - Automatically banning users from TeamSpeak when they got banned from a source server
    - Syncing source server ranks with TeamSpeak ranks
    - and many more!

    If you got any questions about this project or have suggestions or possibly want me to write you custom Nodejs programs you can contact me on Steam

    Last project update committed on 15/12/16. This project is still actively being developed. Your feedback and reports of possible bugs and issues are worth more than gold at the moment! I am currently in need of someone who can write plugins for games based on the Source engine, so that we can allow for perfect integration. E.g if you get banned on a tf2 or csgo server you get banned from the TeamSpeak server as well.

    The admin panel looks something along the lines of this:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	3017 
Size:	93.8 KB 
ID:	14100

    Click image for larger version. 

Name:	Captureasfd.PNG 
Views:	2231 
Size:	47.1 KB 
ID:	14101

    Update 1.2.1.c on 14-03-2016 21:28
    - Fixed a few bugs including the serverchannel.js bug.

    Update 1.2.2 on 15-03-2016 23:59
    - Fixed a few major bugs which would basically make the app unusable.. sorry ^^;

    Update 1.2.2b on 16-03-2016 18:44
    - Log messages are now a bit more user friendly.
    - Steam levels now get stored in the memory of the application, so people cannot indirectly spam Steam anymore through your bot.
    - Improved code readability.
    - Several performance increases (usage of more synchronous functions).

    Update 1.2.3 on 20-03-2016 13:03
    - Fixed "TypeError: Cannot read property 'querytime' of undefined"

    Update 1.2.3b on 22-03-2016 15:54
    - Fixed a callback being called twice for the same async function by replacing the on method of the two event emitters 'error' and 'loggedOn' for Steam to once.

    Update 1.2.3c on 23-03-2016 11:40
    - Fixed bug where the bot wouldn't reconnect to Steam anymore after Steam went down for maintenance.

    Update 1.2.4 on 09-04-2016 23:38
    - Removed the wantedrankid value from the config.json. Anyone can get verified now as long as they do not have the wantedrankid group.
    - The bot will now reconnect to the TeamSpeak server after it goes down.
    - Added multi-group support, people with multiple groups assigned to them can now use !verify as well.

    Update 1.2.5c on 12-5-2016 0:32
    - Error messages no longer display [Object Object] but an actual useful message.
    - The silly message stating one should use !retry has been replaced.
    - Added a new IMPORTANT notice to the README.md file.
    Last edited by nikitavondel; December 16th, 2016 at 11:21 PM. Reason: 1.3.1

  2. #2
    Join Date
    March 2016
    Posts
    1
    I just want to say, I really like this addon, and it's quite literally the ONLY one that works, plus in development.
    Please continue developing this, please. Well done for being the first person to do this, properly.

  3. #3
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    Red face Thanks!

    Thank you! I have recently updated the version to 1.2.0, it should be muuuuch more stable now as it used to crash quite often during maintenance times of Steam servers which was quite annoying. Automated Steam guard support has also been added, meaning that the application can generate Steam Guard codes for your bot so that it just automatically restarts without requiring any input from the administartor.

  4. #4
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    Update 1.2.5c

    Update 1.2.5c on 12-5-2016 0:32
    - Error messages no longer display [Object Object] but an actual useful message.
    - The silly message stating one should use !retry has been replaced.
    - Added a new IMPORTANT notice to the README.md file.

  5. #5
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    Solved Update 1.3.0

    - Added an admin panel.
    - Improved overal stability.
    - More information on the GitHub page.

  6. #6
    Join Date
    July 2015
    Posts
    3
    Will this work on Windows Server TS servers?

  7. #7
    Join Date
    August 2016
    Location
    Germany
    Posts
    5
    Quote Originally Posted by VandaL.pr! View Post
    Will this work on Windows Server TS servers?
    since it is a Node.js application,i dont see why it wouldnt work on a windows machine, just make sure Node.js is installed
    (i am not the developer, so i dont know for sure :P)

  8. #8
    Join Date
    July 2015
    Posts
    3
    Yea I know it should work, I just don't know how.

    I would appreciate any step-by-step or close to it help!

  9. #9
    Join Date
    August 2016
    Location
    Sweden
    Posts
    3
    It works like a charm! But...
    1. How do I get it to work when shutting down PuTTY console?
    2. Is there possible for the steambot to automatically write to the person who added them.

    Example;
    User A goes to BOT Profile
    User A clicks "Add Friend"
    BOT automatically writes to User A with a text like "To start verification process for %SERVER%, write !verify in chat!"
    User A follows the steps as normal and becomes verified!

    Sincerely, Simon Mattila!

  10. #10
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    Solved Replies

    Windows is indeed supported, I am planning on releasing a step by step tutorial in the near future on how to install this bot as it can be quite tricky for people who do not have a lot of knowledge of Linux and or Node.js .

  11. #11
    Join Date
    November 2013
    Posts
    38
    Quote Originally Posted by SimonMattila View Post
    It works like a charm! But...
    1. How do I get it to work when shutting down PuTTY console?

    Sincerely, Simon Mattila!
    Are you runnign this in linux. If so open a screen.
    Use
    Code:
    screen -S steambot

  12. #12
    Join Date
    November 2013
    Posts
    38
    Would there be some sort of way to detect if the steam account owns a game or not. Say in the config we can specify app ids where it could be an one or many.

    It would pull the clients steam library and match it with the app IDs.
    People in my community play arma and are diehard fans.
    They dont want non arma players in the channel.
    The bot would only assign them as an arma registered guest. But if no arma they with still be added to the default steam group.

  13. #13
    Join Date
    August 2015
    Posts
    10

    Error?

    It tells me

    npm ERR! Linux 3.2.0-4-amd64
    npm ERR! argv "node" "/usr/bin/npm" "start"
    npm ERR! node v0.8.21
    npm ERR! npm v3.10.9
    npm ERR! code ELIFECYCLE
    npm ERR! [email protected] start: `node lib/launch.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] start script 'node lib/launch.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the steam-ts package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node lib/launch.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs steam-ts
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls steam-ts
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /usr/local/teamspeak3/steam/steam-ts-master/npm-debug.log
    Attached Files Attached Files

  14. #14
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    reply

    Quote Originally Posted by DarkTexas View Post
    It tells me
    You are running an outdated version of node.js

  15. #15
    Join Date
    February 2016
    Location
    Amsterdam
    Posts
    10

    reply

    Quote Originally Posted by FuzzyThor View Post
    Would there be some sort of way to detect if the steam account owns a game or not. Say in the config we can specify app ids where it could be an one or many.

    It would pull the clients steam library and match it with the app IDs.
    People in my community play arma and are diehard fans.
    They dont want non arma players in the channel.
    The bot would only assign them as an arma registered guest. But if no arma they with still be added to the default steam group.
    Yes this would be possible and I will consider adding it in a future update!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: November 24th, 2010, 08:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •