Coder Social home page Coder Social logo

ts-csgo-rankbot's People

Contributors

ananaskirsche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ts-csgo-rankbot's Issues

SyntaxError

I have a small problem running this.
I read another report and I know that you still have to wait for the working version

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3

Bot didn't assign servergroups

Bot configured, connects to TS, respond to commands. But as I see didn't assign servergroups:

[TeamspeakHelper.js] [debug]: New user xxxxxxxx added to database
[SteamHelper.js] [debug]: Ǹew relationship event from iiiiiiiiiiiiiiiiiiiiiiiiiii (relationship=2)
[SteamHelper.js] [debug]: Relationship event from iiiiiiiiiiiiiiiiiiiiiiiiiii , status=2
[SteamHelper.js] [debug]: Relationship event from iiiiiiiiiiiiiiiiiiiiiiiiiii is ok, added to friendlist
[SteamHelper.js] [debug]: Getting player Profile of steam64id iiiiiiiiiiiiiiiiiiiiiiiiiii 
[SteamHelper.js] [debug]: Ǹew relationship event from iiiiiiiiiiiiiiiiiiiiiiiiiii (relationship=3)
...
[TeamspeakHelper.js] [debug]: User xxxxxxxx issued update command
[TeamspeakHelper.js] [debug]: Getting steam64id of xxxxxxxx 
[TeamspeakHelper.js] [debug]: Updating rank of xxxxxxxx 
[SteamHelper.js] [debug]: Getting player Profile of steam64id iiiiiiiiiiiiiiiiiiiiiiiiiii 
...
[TeamspeakHelper.js] [debug]: Update timer tick!
[SteamHelper.js] [debug]: Getting player Profile of steam64id iiiiiiiiiiiiiiiiiiiiiiiiiii 
...
[TeamspeakHelper.js] [debug]: Update timer tick!
[SteamHelper.js] [debug]: Getting player Profile of steam64id iiiiiiiiiiiiiiiiiiiiiiiiiii 

config (defined rank group ID connected with TS group ID:

exports.tsRankSgids = {
    unranked: 214,
    silver_1: 215,
...
    supreme_master: 231,
    global_elite: 232
};

How to use it?

Hello!

Your script is what I'm looking for :-)
But how to use it? Put in into server?

Regards!

Bot warrnings

As I see bot seems to ready to use :-)

Is this warnings are worth of interest?

WARNING: Abstract#getCache() is deprecated please use the respective getters
WARNING: you can find a list of available getters on https://multivit4min.github.io/TS3-NodeJS-Library/#teamspeakclient
[2019-09-18 15:14:14] [TeamspeakHelper.js] [debug]: Client GameTracker just connected
(node:13237) UnhandledPromiseRejectionWarning: Error: invalid client type
    at Command.getError (/root/ts-csgo-rankbot/node_modules/ts3-nodejs-library/src/transport/Command.js:143:12)
    at TS3Query.handleQueryError (/root/ts-csgo-rankbot/node_modules/ts3-nodejs-library/src/transport/TS3Query.js:142:44)
    at TS3Query.handleLine (/root/ts-csgo-rankbot/node_modules/ts3-nodejs-library/src/transport/TS3Query.js:116:12)
    at RAW.emit (events.js:198:13)
    at lines.forEach.line (/root/ts-csgo-rankbot/node_modules/ts3-nodejs-library/src/transport/protocols/raw.js:81:32)
    at Array.forEach (<anonymous>)
    at RAW._handleData (/root/ts-csgo-rankbot/node_modules/ts3-nodejs-library/src/transport/protocols/raw.js:81:11)
    at Socket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:265:13)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
(node:13237) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 119)

Broadcastchannel

Jedes mal wenn ich versuche den Bot zu starten bekomme ich folgende fehlermeldung (https://i.imgur.com/WEOm5nb.png). Habe versucht den Teil auszukommentieren dann startet der Bot zwar aber das Terminal wird mit Error nachrichten vollgespammt.

Multilingual file and a welcome message

Are you able to add a translation file of individual messages that the bot sends on tsie?
I do not know if this is feasible, but whether people who connected their Steam-TS3 accounts did not have to receive messages from the bot every time after entering the ts3 server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.