GithubHelp home page GithubHelp logo

Observer crashes about ts3observer HOT 3 CLOSED

fechnert avatar fechnert commented on August 19, 2024
Observer crashes

from ts3observer.

Comments (3)

fechnert avatar fechnert commented on August 19, 2024 1

Will investigate, known bug, should be easy to fix

from ts3observer.

fechnert avatar fechnert commented on August 19, 2024 1

After some investigation and testing, i found out that this will happen under very special circumstances.

If a plugin has moved a client into another channel, it saves the moved client id (clid) ant the channel he comes from (cid). After that the plugin checks every cycle if the condition which triggered the move process is still True.

If true, nothing happens. The client remains into the "to-move" (afk) channel.
Otherwise the action which moved the client expires. If no further condition insists on holding the client in the afk channel, he will be moved back to his original (source) channel.

The problem now is right between this two conditions.

If a client is moved to another channel and leaves the server afterwards (while he is hold in that channel), the action still saves the client_id and tries to move the client back to his original channel.
Since the client is disconnected, this produces the given error message.

This Exception should actually be catched, but this piece of code was missing ... The following fix should prevent the ts3observer from crashing.

from ts3observer.

stphnrdmr avatar stphnrdmr commented on August 19, 2024

Awesome!

from ts3observer.

Related Issues (20)

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.