Giter VIP home page Giter VIP logo

Comments (9)

Bloctans avatar Bloctans commented on July 21, 2024

umm, what about just, pinging he user every 10 seconds. once again for that error you said in the scratch forum, i quoted with:
lil idea, heres some python persudocode:
pingconnection).every(10 seconds)
if ping.fails then
connection.close
else
re run this code

from meower-vanilla.

Bloctans avatar Bloctans commented on July 21, 2024

also can you go fork my wikimeower into here or invite me so i can figure out how to move it into here?

from meower-vanilla.

TermOfficial avatar TermOfficial commented on July 21, 2024

Kinda what bloctans said, except you just check the "usernames" variable block and look for the username. (all connected users are saved to a var) If the var doesn't match, send the global message

from meower-vanilla.

Pixelation-Creations avatar Pixelation-Creations commented on July 21, 2024

umm, what about just, pinging he user every 10 seconds. once again for that error you said in the scratch forum, i quoted with: lil idea, heres some python persudocode: pingconnection).every(10 seconds) if ping.fails then connection.close else re run this code

what about lag with that
meower's advertized as fast and reliable

from meower-vanilla.

CST1229 avatar CST1229 commented on July 21, 2024

also can you go fork my wikimeower into here or invite me so i can figure out how to move it into here?

wikimeower is already here

from meower-vanilla.

williamhorning avatar williamhorning commented on July 21, 2024

user online and offline notifs shouldn't be super hard, looking at the underlying cloudlink protocol, the ulist command is sent when someone goes online or offline, we could try to listen for changes to this

from meower-vanilla.

tnix100 avatar tnix100 commented on July 21, 2024

Adding another suggestion to this, we could have an epoch time stored for when they last pinged the server, if the epoch time is over let's say 2 minutes then they're considered offline. The ping function will just be the built in one that helps keep the connection alive.

I also like the idea of using ulist, it's simple and already in CloudLink, will just have to implement client side.

from meower-vanilla.

MikeDev101 avatar MikeDev101 commented on July 21, 2024

Easiest thing to do is check the length of the username list to show how many people are online.

from meower-vanilla.

Bloctans avatar Bloctans commented on July 21, 2024

isnt this added in the latest beta 5 preview?

from meower-vanilla.

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.