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

#1 2012-10-08 13:46:12

coinman
Scratcher
Registered: 2011-04-19
Posts: 500+

Online/offline detection does not work anymore

Online/offline detection does not work anymore for some reason.


Click the picture below to play my best game yet, Snowball Fight!
http://scratch.mit.edu/static/projects/coinman/3221194_sm.png

Offline

 

#2 2012-10-08 13:48:13

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: Online/offline detection does not work anymore

It works fine for me.

Offline

 

#3 2012-10-09 17:26:47

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Online/offline detection does not work anymore

Gravitation wrote:

It works fine for me.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#4 2012-10-10 08:41:02

coinman
Scratcher
Registered: 2011-04-19
Posts: 500+

Re: Online/offline detection does not work anymore

Mokat wrote:

Gravitation wrote:

It works fine for me.

go to rhy's mario bros, maybe it is just the method he used that does not work anymore.


Click the picture below to play my best game yet, Snowball Fight!
http://scratch.mit.edu/static/projects/coinman/3221194_sm.png

Offline

 

#5 2012-10-10 11:26:05

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: Online/offline detection does not work anymore

It's his method, it doesn't work in the new Flash player.

Offline

 

#6 2012-10-10 12:27:25

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

Re: Online/offline detection does not work anymore

coinman wrote:

Online/offline detection does not work anymore for some reason.

What online/offline detection?


Alt of Firedrake969.

Offline

 

#7 2012-10-10 12:58:04

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

Re: Online/offline detection does not work anymore

firedrake969_test wrote:

coinman wrote:

Online/offline detection does not work anymore for some reason.

What online/offline detection?

when gf clicked
set [mode v] to [offline]
wait <sqrt of [-1]> secs
set [mode v] to [online]
Using this script above you can detect if mode is online of offline
Online:
Java/flash ignores the mathmatical error

Offline:
Scratch detects mathmatical error and stops

Last edited by pizza22 (2012-10-10 16:47:41)

Offline

 

#8 2012-10-10 16:30:19

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Online/offline detection does not work anymore

pizza22 wrote:

firedrake969_test wrote:

coinman wrote:

Online/offline detection does not work anymore for some reason.

What online/offline detection?

when gf clicked
set [mode v] to [offline]
wait <sqrt of [-1]> secs
set [mode v] to [online]
Using this script above you can detect if mode is online of offline
Online:
Java/fash ignores the mathmatical error

Offline:
Scratch detects mathmatical error and stops

What's fash?  yikes


........................................................................................................................................................................................................................................

Offline

 

#9 2012-10-10 16:47:04

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

Re: Online/offline detection does not work anymore

zubblewu wrote:

pizza22 wrote:

firedrake969_test wrote:


What online/offline detection?

when gf clicked
set [mode v] to [offline]
wait <sqrt of [-1]> secs
set [mode v] to [online]
Using this script above you can detect if mode is online of offline
Online:
Java/fash ignores the mathmatical error

Offline:
Scratch detects mathmatical error and stops

What's fash?  yikes

Oops, I meant flash

Offline

 

#10 2012-10-10 17:27:38

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Online/offline detection does not work anymore

This one still works in all cases:

http://scratch.mit.edu/projects/BoltBait/676153


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#11 2012-10-17 10:15:57

thescratchytim
Scratcher
Registered: 2010-09-10
Posts: 25

Re: Online/offline detection does not work anymore

Does this script still work for online/offline detection?

when gf clicked
set [connected v] to [offline]
set [connected v] to (0/0)
set [connected v] to [online]

Last edited by thescratchytim (2012-10-17 10:16:16)


Hello! I'm thescratchytim!  Check out my projects here. Scratch on!
Status: http://blocks.scratchr.org/API.php?user=thescratchytim&amp;action=onlineStatus&amp;type=circle • Also, this project seems to be my most successful. I don't know why  tongue

Offline

 

Board footer