This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-09-05 17:04:39

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

when gf clicked
forever 
     if <(timer) > [30]>
          delete item (player number) of [player list v]
          end


when gf clicked
forever
     set [x v] to (mouse x)
     set [y v] to (mouse y) 
     wait [0.5] secs 
     if <not<<(x) = (mouse x)> and <(y) = (mouse y)>>>  
          reset timer
          end

Last edited by pizza22 (2012-09-05 17:16:37)

Offline

 

#27 2012-09-05 17:40:43

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Awesome idea!

Support!


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#28 2012-09-06 13:48:49

xJira
Scratcher
Registered: 2012-03-24
Posts: 91

Re: Cloud-Data Problem / [User Leaves Project?]-Block

pizza22 wrote:

when gf clicked
forever 
     if <(timer) > [30]>
          delete item (player number) of [player list v]
          end


when gf clicked
forever
     set [x v] to (mouse x)
     set [y v] to (mouse y) 
     wait [0.5] secs 
     if <not<<(x) = (mouse x)> and <(y) = (mouse y)>>>  
          reset timer
          end

Its about suddelny going offline what would stop any script. there should be a script that works if you go off/close the window/press stop

Offline

 

#29 2012-09-06 19:53:58

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Support


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#30 2012-09-10 10:59:32

xJira
Scratcher
Registered: 2012-03-24
Posts: 91

Re: Cloud-Data Problem / [User Leaves Project?]-Block

scimonster wrote:

Program in that if there's a user who hasn't posted for 15 minutes they are automatically taken offline?

Something like that, yeah. Though the actual idea had been to check if the User leaves the project!

Offline

 

#31 2012-09-11 17:10:45

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Maybe instead, an online list?

Offline

 

#32 2012-09-12 14:09:05

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

xJira wrote:

pizza22 wrote:

when gf clicked
forever 
     if <(timer) > [30]>
          delete item (player number) of [player list v]
          end


when gf clicked
forever
     set [x v] to (mouse x)
     set [y v] to (mouse y) 
     wait [0.5] secs 
     if <not<<(x) = (mouse x)> and <(y) = (mouse y)>>>  
          reset timer
          end

Its about suddelny going offline what would stop any script. there should be a script that works if you go off/close the window/press stop

Yes, the exit would cause the script to stop, i support

Offline

 

#33 2012-09-14 16:52:04

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Good Idea!! I want to make a chat game, and that would make it easier.
It should be like

 when [stop v] clicked
and it would run the actions before stopping the project.


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&amp;action=onlineStatus&amp;type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#34 2012-09-14 17:06:37

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

PencilFactory wrote:

Good Idea!! I want to make a chat game, and that would make it easier.
It should be like

 when [stop v] clicked
and it would run the actions before stopping the project.

when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done
end


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#35 2012-09-14 17:24:38

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Molybdenum wrote:

PencilFactory wrote:

Good Idea!! I want to make a chat game, and that would make it easier.
It should be like

 when [stop v] clicked
and it would run the actions before stopping the project.

when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done

Please don't block spam.  sad


http://i46.tinypic.com/35ismmc.png

Offline

 

#36 2012-09-14 20:15:47

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

ErnieParke wrote:

Molybdenum wrote:

PencilFactory wrote:

Good Idea!! I want to make a chat game, and that would make it easier.
It should be like

 when [stop v] clicked
and it would run the actions before stopping the project.

when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done

Please don't block spam.  sad

Its not (I thought you knew that I've been on here for a long time (relative to most people) so I would know not to blockspam). Its an example of how someone would be annoying with when stop clicked.

Last edited by Molybdenum (2012-09-14 20:20:05)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#37 2012-09-14 22:37:04

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

ErnieParke wrote:

Molybdenum wrote:

PencilFactory wrote:

Good Idea!! I want to make a chat game, and that would make it easier.
It should be like

 when [stop v] clicked
and it would run the actions before stopping the project.

when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done

Please don't block spam.  sad

that isn't blockspam, he is using the plugin to demonstrate a way the proposed function could be misused.

that being said, just report blockspam rather than saying "please don't blockspam" yourself. that's mini-modding and it offends people.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#38 2012-09-14 22:42:54

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Wes64 wrote:

ErnieParke wrote:

Molybdenum wrote:


when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done

Please don't block spam.  sad

that isn't blockspam, he is using the plugin to demonstrate a way the proposed function could be misused.

that being said, just report blockspam rather than saying "please don't blockspam" yourself. that's mini-modding and it offends people.

In this case ,saying so is better than reporting


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#39 2012-09-14 23:40:10

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

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)

Last edited by kayybee (2012-09-14 23:40:51)

Offline

 

#40 2012-09-15 05:49:49

taddl
Scratcher
Registered: 2009-03-08
Posts: 100+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

you can just do it with the id blocks!


http://blocks.scratchr.org/API.php?action=projects&amp;type=newest&amp;return=image&amp;user=taddl
http://blocks.scratchr.org/API.php?user=taddl&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1

Offline

 

#41 2012-09-15 05:57:20

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

taddl wrote:

you can just do it with the id blocks!

No you cannot.


http://i50.tinypic.com/312u714.jpg

Offline

 

#42 2012-09-15 08:46:54

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

Wes64 wrote:

ErnieParke wrote:

Molybdenum wrote:


when [stop v] clicked
forever
   play sound [Imma annoy u cuz i CAN!!!!! v] until done

Please don't block spam.  sad

that isn't blockspam, he is using the plugin to demonstrate a way the proposed function could be misused.

that being said, just report blockspam rather than saying "please don't blockspam" yourself. that's mini-modding and it offends people.

Ohhh… I saw the "Imma annoy u cuz i CAN!!!!!" and instantly though it was blockspam. My mistake.  tongue


http://i46.tinypic.com/35ismmc.png

Offline

 

#43 2012-09-15 09:05:01

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

ErnieParke wrote:

Wes64 wrote:

ErnieParke wrote:


Please don't block spam.  sad

that isn't blockspam, he is using the plugin to demonstrate a way the proposed function could be misused.

that being said, just report blockspam rather than saying "please don't blockspam" yourself. that's mini-modding and it offends people.

Ohhh… I saw the "Imma annoy u cuz i CAN!!!!!" and instantly though it was blockspam. My mistake.  tongue

Sorry  tongue  I guess I should have used something that sounds less annoying, like "play sound [This gets played if you try to stop the project!!!!11 one thousand one hundred and eleven v]"


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#44 2012-09-15 16:22:42

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

guys, just make the "server" delete the user list every two minutes or so and users to forever if not in user list add name  smile

Offline

 

#45 2012-09-30 12:21:37

Tornado27
Scratcher
Registered: 2012-09-02
Posts: 17

Re: Cloud-Data Problem / [User Leaves Project?]-Block

xJira wrote:

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?

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
Tornado27
xJira

THANK YOU!

Offline

 

#46 2012-09-30 12:37:44

shiguy101
Scratcher
Registered: 2010-11-17
Posts: 1000+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

i support

Offline

 

#47 2012-10-01 12:25:31

xJira
Scratcher
Registered: 2012-03-24
Posts: 91

Re: Cloud-Data Problem / [User Leaves Project?]-Block

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...

Offline

 

#48 2012-10-01 12:38:22

firedrake969_test
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Cloud-Data Problem / [User Leaves Project?]-Block

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...

But it would be abused.  There's always someone who will abuse something.


Alt of Firedrake969.

Offline

 

Board footer