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)
Offline
You need to port-forward port 42001 on your router.
Offline
Basically, yes.
Offline
TCP, I believe.
Offline
Your welcome!
bobbybee and Magnie...the two best networkers on Scratch! No wonder Chat.PY and FireMMO are so awesome.
Offline
I see...speed is still a concern
Offline
Where is the server, then? There has to be a server somewhere...
Offline
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.
Offline
That still isn't much of an improvement...
Offline
Offline
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
scratch --[command]--> server --[command]--> plugin --[processed data]--> scratch
Offline
What kind of commands?
Offline
key:
[sbn] = score board name [sbp] = score board place (exmpl. "#1")
scoreboard commands
broadcast input1 input2 output ---------------------------------------------------------------- "addscore" [sbn] [value] adds a score to the scorboard "getscore" [sbn] [sbp] value of the score board item
file commands
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)
Offline
I see...is that useful?
Offline
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:
scratch --[command]--> panther server --[command]-->
plugin --[processed command]-->
mySQL.py --[success/failed]--> scratch
|
V
databaseLast edited by spud2451 (2012-03-03 10:43:07)
Offline
No one in the right mind would do that...luckily I'm not.
Offline
Offline