Comments (9)
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.
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.
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.
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.
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.
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.
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.
Easiest thing to do is check the length of the username list to show how many people are online.
from meower-vanilla.
isnt this added in the latest beta 5 preview?
from meower-vanilla.
Related Issues (20)
- Home reverses when cancelling create post HOT 1
- Make client use REST API more HOT 2
- Better dark theme HOT 6
- UI Bug HOT 3
- E:109 Make's meower think the servers are down. HOT 3
- BGM is completely broken HOT 1
- Graphical glitches with home and messages screen HOT 7
- Make new messages appear while typing HOT 1
- B6P1 Modules//GUI: Setting RGB colors to sprites sometimes doesn't work as expected HOT 1
- B6P1 MeowEngine//Renderer: Maximum scroll range is sometimes buggy HOT 1
- B6P1 Performance issues (Stutter/lagspikes while scrolling) HOT 1
- Patch: BG Music Selection Blank? HOT 3
- Upgrade to CL4 HOT 2
- unread icon for inbox
- change password
- the end of an era HOT 2
- Remove unused features / Update password code HOT 2
- How do i package the project? HOT 1
- How do i Package the project HOT 6
- Client is screwed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meower-vanilla.