So, you may know Scratch has a Mesh feature that allowes 2 or more projects to communicate. ( If you did not know about Mesh go here: http://scratch.mit.edu/forums/viewtopic.php?id=32046)
Loopholes
If you connect some projects via Mesh and they both have the same variable. So for the purpose of this we will call that variable 'n'.
So if you have 2 projects and on the 1st project the variable 'n' is set to 4, and on the 2nd it is set to 6. If you tell a 3rd project (and they are all connected) to get the variable 'n', it will get the most recently updated, not the sum. This is a keyloop hole for a MMOG
How does it work?
It explained breifly here: http://scratch.mit.edu/galleries/view/80231 .
For a more deatiled explaination read below.
o The server broadcasts 'Check Details'
o The server set the variable update player no. to 1
o The client recives 'Check Details'
o The client checks if the connected number (that it got earlier) it the same as the update no.
o If they are the same it updates the output variables
o The server then gets the variables and saves them in a list
o If on the client the numbers are not the same then it waits for the variable to update and then goes to the position, switches to the costume and stamps itself
This is how a server and client work.
How can I connect them
1.) Host mesh on the server
2.) Join the mesh on all the clients
Where can I get the server and client?
Here: http://scratch.mit.edu/galleries/view/80231
Can I make one?
Yes you may remix any of my projects in the gallery (except the server) and make them in to your own MMOG.
You could make one from scratch (I mean nothing not the program) if you understand the coding.
Have fun and keep Scratching!
Offline
You can now make your own useing the template!
Offline
Now, I have worked out how to include chat. A MMOG is finally looking like a real posibility!
Offline
an MMOG is a great idea, and i have been actually working on one for a long time. the only issue i haven't resolved is the fact that you would need an open-internet IP address to host the MMO mesh. and so far I have been unable to figure out how the heck you would do that.
another major concern is that with Scratch being so easy to edit, you would have waaaay to many hackers who would just hack the game to make themselves invincible or something. unless you could work out a failsafe for that, it would get nowhere.

Offline
Thanks guys this is sort of funny.
As regards to IP use Hamachi
Offline
Ohh and I am not bothering stopping hackers as I could put up 100 lines of code to stop them, but they could get through....
The only way I can think of is to use Panther's join mesh and host mesh blocks and then export it into a .exe , so they could not edit the scripts.
What do you think?
@ Panther Team
Would this work with Panther?
Offline
johnnydean1 wrote:
Ohh and I am not bothering stopping hackers as I could put up 100 lines of code to stop them, but they could get through....
The only way I can think of is to use Panther's join mesh and host mesh blocks and then export it into a .exe , so they could not edit the scripts.
What do you think?
@ Panther Team
Would this work with Panther?
That'd be a good way to avoid hackers.
Offline
Yes I have nearly craked saving and loading...
+ I have cracked disconnecting you from the server if you close your client.
Expect a new release shortly....
Offline
AmoebaMan wrote:
ackers who would just hack the game to make themselves invincible.
Just to let you know with stamping invisibilty is imposible.
My MMOG uses stamping.
Offline
So. Is the Panther/Claw rivalship over? You may, but you must stop giving out Panther blocks, and log off the website.
Offline
mesh is too slow to try and make any really big games
Offline
SeptimusHeap wrote:
So. Is the Panther/Claw rivalship over? You may, but you must stop giving out Panther blocks, and log off the website.
Ok I have logged off and I promise to stop with the blocks.
So is the Panther thing a posibilty?
Offline
johnnydean1 wrote:
SeptimusHeap wrote:
So. Is the Panther/Claw rivalship over? You may, but you must stop giving out Panther blocks, and log off the website.
Ok I have logged off and I promise to stop with the blocks.
So is the Panther thing a posibilty?
Using it - Yes
Making a full working MMOG - Yes
Giving it out - No
Offline
I am wondering if anybody would like to help code it. If so quote this post and say what you will code.
I have these things done
o Saving 100%
o Loading 100%
o Logging on 100%
o Movement 100%
o Area Changes 100%
o Chat 100%
o Items/Inventory 10%
Things left to do
o More areas
o Graphic Improvements
Staff
o johnnydean1 (creator)
o SeptimusHeap -Sep (Lvl Designer)
o AmoebaMan (3D and Items/Inventory)
o Zorbak42 (Anything he wants)
NOTE TO STAFF
To chnage a thing remix the project and post it in the gallery. OR post the coding here.
------
Last edited by johnnydean1 (2010-04-26 16:59:21)
Offline
SeptimusHeap wrote:
johnnydean1 wrote:
SeptimusHeap wrote:
So. Is the Panther/Claw rivalship over? You may, but you must stop giving out Panther blocks, and log off the website.
Ok I have logged off and I promise to stop with the blocks.
So is the Panther thing a posibilty?Using it - Yes
Making a full working MMOG - Yes
Giving it out - No
No I mean it is posible to export to a .exe from Panther?
Offline
Eh... Could I be level designer. I would make quests and stuff?
And no, you can't export exes, but why?
Offline
SeptimusHeap wrote:
Eh... Could I be level designer. I would make quests and stuff?
And no, you can't export exes, but why?
@ Lvl Designer
Sure, added you to staff. To do it download the MMOG and create the levels. Then post them in the same gallery and I will add them. To make a quest remix and add coding or post coding here.
@ .exe
As I could put in the Mesh Blocks and export as .exe to stop people changing the code and hacking the game
-------------------------------------------------------
@ Everyone
Has anyone tried it with more than 1 client, and does it work?
Offline
johnnydean1 wrote:
I am wondering if anybody would like to help code it. If so quote this post and say what you will code.
I have these things done
o Saving 100%
o Loading 100%
o Logging on 100%
o Movement 100%
o Area Changes 100%
o Chat 100%
o Items/Inventory 10%
Things left to do
o More areas
o Graphic Improvements
Staff
o johnnydean1 (creator)
o SeptimusHeap -Sep (Lvl Designer)
------
Sure, I'd love to help. I could help with Items/inventory and more areas, or anything else. But not graphic improvements. If you get me to draw stuff, it will not make an improvement. (I fail at drawing) Thanks.
Offline
AmoebaMan wrote:
items/inventory I could do. that shouldn't be too hard. also, I have a great 3D graphic software that you might find a use for
![]()
Cool, may use 3D but graphics I will do last as the coding is the most imprortant.
Added you to staff
Offline
Umm... What server should I connect to?
I'll make a server connect feature in Panther, if you don't mind...
Offline
I got it to show the names of un-full servers, and ask which one to connect to. I'll upload it to mediafire or something later. (It's on Panther)
Offline