TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

My TS3AudioBot has a 4200 packet loss

Open andrethnc opened this issue 3 years ago • 5 comments
trafficstars

, no matter what I do, if the bot is on the ts joint, it already has the packet loss!

packet loss bot

How i can Fix that ?

andrethnc avatar Jan 29 '22 15:01 andrethnc

Hehe, that's not quite a bug. I just havn't implemented packet loss calculation for input packets yet so this is a constant dummy value. https://github.com/Splamy/TS3AudioBot/blob/develop/TSLib/Full/NetworkStats.cs#L152 If you want to change that you will need to modify that line and recompile the project.

Splamy avatar Jan 30 '22 10:01 Splamy

can you explain to me how it works haha ​​I don't know that much about it yet

andrethnc avatar Jan 30 '22 10:01 andrethnc

Basically unless you really care about that number, there's no need to worry and can just leave it be.
If you do care about the number, you need to download the project, then change those 4 values here to 0 https://github.com/Splamy/TS3AudioBot/blob/develop/TSLib/Full/NetworkStats.cs#L152-L155
and compile the project by following the guide on our readme: https://github.com/Splamy/TS3AudioBot#building-manually

Splamy avatar Jan 30 '22 10:01 Splamy

why can't I set up the webinterface?

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle [email protected]~prebuild: [email protected] 6 info lifecycle [email protected]~build: [email protected] 7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/TS3AudioBot/WebInterface/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/root/.dotnet/tools 9 verbose lifecycle [email protected]~build: CWD: /root/TS3AudioBot/WebInterface 10 silly lifecycle [email protected]~build: Args: [ '-c', 'webpack --config webpack.production.config.js' ] 11 silly lifecycle [email protected]~build: Returned: code: 2 signal: null 12 info lifecycle [email protected]~build: Failed to exec build script 13 verbose stack Error: [email protected] build: webpack --config webpack.production.config.js 13 verbose stack Exit status 2 13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at EventEmitter.emit (events.js:214:7) 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at emitTwo (events.js:126:13) 13 verbose stack at ChildProcess.emit (events.js:214:7) 13 verbose stack at maybeClose (internal/child_process.js:915:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 14 verbose pkgid [email protected] 15 verbose cwd /root/TS3AudioBot/WebInterface 16 verbose Linux 4.9.0-17-amd64 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build" 18 verbose node v8.17.0 19 verbose npm v6.13.4 20 error code ELIFECYCLE 21 error errno 2 22 error [email protected] build: webpack --config webpack.production.config.js 22 error Exit status 2 23 error Failed at the [email protected] build script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 2, true ]

did everything as instructed.!

andrethnc avatar Jan 30 '22 16:01 andrethnc

is the npm log file from the error

andrethnc avatar Jan 30 '22 16:01 andrethnc