ananaskirsche / ts-csgo-rankbot Goto Github PK
View Code? Open in Web Editor NEWBot which changes teamspeak group depending on CSGO rank
License: Other
Bot which changes teamspeak group depending on CSGO rank
License: Other
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 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
};
Hello!
Your script is what I'm looking for :-)
But how to use it? Put in into server?
Regards!
Hello,
Can you help me with installation i install everything (http://prntscr.com/qbo8nh) that is required for running but when i execture node index.js i get this error http://prntscr.com/qbnk5d
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)
Hi, I have a small problem with the application after the introduction of multilang, the application sometimes crashes
How i start the bot after the configuration?
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.
Hello how can i start the bot?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.