Hey everybody!
I guess I am not the only one who is wondering how to use the new cloud data.
Of course a great idea would be a chat or a game which people can play together.
But I found something that could be ... problematic.
Imagine we have a chat. There is a List to show who's online. When you click the green flag, your Chat-Name will be added to the list. When you click the "Sign-Off" Icon, your Name will be removed. BUT WHAT if you don't sign off, but just close the Window/Click the Stop-Icon?
Your name will still be there. That might not be a big problem, but after a while, there will be a hundret people in the list, who never signed off.
So what about a hat-Block that is activated, if the User clicks the Stop-Icon or leaves the Page?
[User Leaves Project?]
Delete [X] item of List [Who's Online?]
(When the User logs in and his name is added to [Who's online], the variable X remembers his Number in this list)
What do you think, would such a block make sense? Or are there other solutions, maybe?
xJira wrote:
kayybee wrote:
I think that you should only be able to add a certain type of blocks to the "when user leaves project" block
Such as: variables, lists, operators and "if"
anything else that might be useful and not abusive?
and perhaps only 5 like big blocks can be added (I forgot what they're called but they're just the normal blocks)Yeah right! I've already mentioned that and you are totally right. Ofc this function should not be abused to make unstoppable projects with loops or long sounds!
And heres to the Scratch-Team: Could something like this be this possible? In my opinion it would be a great help for many projects that use the new Cloud Data - not just chats, but also games and other stuff.
Supporters
benjamin2
jontmy00
northmeister
soniku3
KyleK7
ErnieParke
OverPowered (does only support Ping-Idea)
Wes64
BirdByte
Molybdenum
MrFlash67
pizza22
funelephant
dvd4
xJira
THANK YOU!
Last edited by xJira (2012-10-01 12:27:25)
Offline
benjamin2 wrote:
I like this idea. A workaround could be to disconnect a user if they go inactive on the project.
Or if their mouse goes off the screen.
Exactly like a timeout.
I support.
Offline
taddl wrote:
but someone could do a project wich you can't stop with the stop button
But once the stop button has been clicked, everything stops. The only way anything can start working again is that scripts that start with key pressed or sprite clicked can still be activated.
Offline
I support because it can save space and help speed up some projects.
Offline
Support!
Offline
support
its currently impossible, and thus renders many uses of "user id" useless
Offline
Even though I support, I wanted to say something:
You could implement a ping every 2 minutes or so, and delete all users who don't respond to the ping (like in IRC). The problem is there's not really anyone who can ping everyone, but I saw another suggestion about serverscripts that would work.
Offline
Wait. If the entire "when disconnected" script happened when the user closed/stopped, couldn't people troll by doing something like this?
when disconnected forever play sound [LOL I'M GONNA PLAY THIS FOREVER!!!!11one1eleven v] until done endAnd what about if a user presses end task (task manager)? Then its automaticly stopped, and the disconnected script wouldn't run.
Last edited by Molybdenum (2012-09-02 16:49:26)
Offline
Wes64 wrote:
how about a hat block like
when stop sign clicked
or something
'
Exploit:
when gf clicked broadcast [start everything v] //This would be used in place of all of the when gf clickeds.
when stop clicked say [Y U NO PLAY MY GAME?] for (3) secs broadcast [start everything v]
Last edited by Molybdenum (2012-09-02 19:57:20)
Offline
Wes64 wrote:
how about a hat block like
when stop sign clicked
or something
That wouldn't exactly work since they could do
when gf clicked
broadcast whatever
when stop sign clicked
broadcast whatever
Then you'd never be able to stop the project
...As molybdenum said
Last edited by RedRocker227 (2012-09-02 19:21:09)
Offline
Well then this hat-block which notices when the user goes offline just allows the next blocks to a few save blocks?
Yeah well, the taskmanager-thing is a serious problem, but if projects run and are created online, maybe it will just check if the user is still connected. Then it would not matter, How the connection is cutted.
Offline
*cough* you could use a ping *cough*
Offline
Retracting my support due to possible trollifications.
The ping does seem more realistic...
Offline
it should work with ips or something like that...
then there could be a list wich contains every ip of the players, and appears as soon as you create a cloud variable/list.
there sould also be a variable called user ip.
Offline
OverPowered wrote:
Retracting my support due to possible trollifications.
The ping does seem more realistic...
Thats why I asked for other possibilities
Maybe it would make sense that this hat block (user leaves/project is stopped) can only be used in combination with any kind of variable-blocks and operators. That would totally do, to make sure the user is removed from the list "Online" for instance ^.^
but maybe there are more convenient... =S
Last edited by xJira (2012-09-05 15:30:07)
Offline
Program in that if there's a user who hasn't posted for 15 minutes they are automatically taken offline?
Offline