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

#1 2012-03-02 15:10:16

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Mesh Question?

can someone please tell me how to make it so anyone can connect to my mesh without Hamachi? I want to know how to do this because I want to use Zeroluck's mesh java player with RippleChat. Just to let you know RippleChat has a scratch project as its server not a python program.

Last edited by spud2451 (2012-03-02 15:15:49)


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#2 2012-03-02 15:28:23

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Mesh Question?

You need to port-forward port 42001 on your router.  smile

Offline

 

#3 2012-03-02 15:39:02

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

is that it?


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#4 2012-03-02 15:50:47

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

Re: Mesh Question?

Basically, yes.


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

Offline

 

#5 2012-03-02 16:03:18

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

do you use tcp or udp for the port forwarding?

Last edited by spud2451 (2012-03-02 16:05:27)


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#6 2012-03-02 16:08:00

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

Re: Mesh Question?

TCP, I believe.


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

Offline

 

#7 2012-03-02 16:09:15

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

thanks bobbybee and magne!


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#8 2012-03-02 16:10:50

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

Re: Mesh Question?

Your welcome!

bobbybee and Magnie...the two best networkers on Scratch! No wonder Chat.PY and FireMMO are so awesome.  tongue


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

Offline

 

#9 2012-03-02 16:26:19

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

true I'm trying to make RippleChat be as cool as FireChat and Chat.PY by adding the option to imbed it in your website using ZeroLuck's mesh java player.


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#10 2012-03-02 16:28:18

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

Re: Mesh Question?

I see...speed is still a concern  tongue


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

Offline

 

#11 2012-03-02 16:32:00

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

I know and that's why I plan to take out the server part and make it so i have just a client!


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#12 2012-03-02 16:33:25

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

Re: Mesh Question?

Where is the server, then? There has to be a server somewhere...


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

Offline

 

#13 2012-03-02 17:43:25

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

no not really all the code is in the project you download. i will just have a project open on my desktop that's hosting the mesh and that's all. it just sends the info straight to the other clients. it skips sending the info to a remote project therefore speeding it up.


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#14 2012-03-02 18:15:34

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

Re: Mesh Question?

That still isn't much of an improvement...


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

Offline

 

#15 2012-03-03 08:57:02

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

but its quite a still quite a bit faster. I timed them last knight and with server i got .76 seconds and without the server i got .23 seconds


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#16 2012-03-03 08:59:13

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

Re: Mesh Question?

Nice.


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

Offline

 

#17 2012-03-03 09:10:53

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

yeh I thought so.

I'm also planning to make a server that would allow for you to use some blocks from different mods in a regular scratch project through the use of mesh.

this is how it would work

Code:

scratch  --[command]--> server --[command]--> plugin --[processed data]--> scratch

http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#18 2012-03-03 09:40:37

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

Re: Mesh Question?

What kind of commands?


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

Offline

 

#19 2012-03-03 10:11:22

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

key:

Code:

[sbn] = score board name

[sbp] = score board place (exmpl. "#1")

scoreboard commands

Code:

broadcast    input1    input2    output
----------------------------------------------------------------
"addscore"   [sbn]     [value]   adds a score to the scorboard

"getscore"   [sbn]      [sbp]     value of the score board item

file commands

Code:

broadcast    input1    input2    output
----------------------------------------------------------------
"lofau"      [url.]    [line#]     value of [line#] of the file at [url]

Last edited by spud2451 (2012-03-03 10:16:43)


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#20 2012-03-03 10:24:39

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

Re: Mesh Question?

I see...is that useful?  tongue


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

Offline

 

#21 2012-03-03 10:42:11

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

to some people who want to make a scratch project that compatable with the website and want some other features those aren't the only commands i'll add to the server thought i just don't want to list them all cause it would take forever. But its plugin based so if you wanted me to add a command all you would have to do is ask and it would be on the server in less than ten minutes.

    I have an idea but you would need to help me with it. The idea is that i could add database control but I would need you to make a program in python that could use scratch broadcasts to manipulate a database.

diagram:

Code:

scratch --[command]--> panther server --[command]-->
 
plugin --[processed command]--> 

mySQL.py --[success/failed]--> scratch
    |
    V
database

Last edited by spud2451 (2012-03-03 10:43:07)


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#22 2012-03-03 11:03:45

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

Re: Mesh Question?

No one in the right mind would do that...luckily I'm not.  tongue


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

Offline

 

#23 2012-03-03 11:09:31

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

is that a yes or a no i cant tell?


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#24 2012-03-03 11:53:39

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

Re: Mesh Question?

Yes  tongue


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

Offline

 

#25 2012-03-03 11:54:48

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Mesh Question?

thanks when r u gunna start?


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

Board footer