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

#1 2012-11-17 14:36:58

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

Users Viewing Reporter

Maybe there could be a sort of reporter called Users Viewing which would show the users online. You could also use

<[x v] contains [y]?>
for it.

This would allow for easier MMOs and multiplayer projects.

Last edited by ImagineIt (2012-11-17 14:38:39)

Offline

 

#2 2012-11-17 15:40:27

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Users Viewing Reporter

There could be a very long workaround (which I'm too lazy to make right now), but that would be an awesome feature. Support!

Offline

 

#3 2012-11-17 16:01:34

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

Re: Users Viewing Reporter

TorbyFork234 wrote:

There could be a very long workaround (which I'm too lazy to make right now), but that would be an awesome feature. Support!

Well, it's possible, but that requires checks that happen periodically. But, thanks!

Last edited by ImagineIt (2012-11-17 16:01:49)

Offline

 

#4 2012-11-17 16:05:30

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Users Viewing Reporter

user id prob, no?


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#5 2012-11-17 17:14:29

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

Re: Users Viewing Reporter

bobbybee wrote:

user id prob, no?

That's what I meant.

Offline

 

#6 2012-11-18 11:23:27

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: Users Viewing Reporter

You can programme it, simply made a list called users, then make a script call "if not users contains user id add user id to users" and another script called "wait length of users, delete all of users", this would make a script that checks the amount of users playing automatically, and also it would check the users playing depending on how many users were on according to last check, its automatic and efficient.


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&amp;user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#7 2012-11-18 11:42:37

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

Re: Users Viewing Reporter

Tbtemplex97 wrote:

You can programme it, simply made a list called users, then make a script call "if not users contains user id add user id to users" and another script called "wait length of users, delete all of users", this would make a script that checks the amount of users playing automatically, and also it would check the users playing depending on how many users were on according to last check, its automatic and efficient.

Yes, but it would need to wait a while if a lot of players are playing. Also, when everyone left, it would still keep them in there.

Offline

 

Board footer