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

#1 2010-04-24 06:34:12

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Mesh MMOG Thread

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!


You can now reach me on Twitter @johnnydean1_

Offline

 

#2 2010-04-24 10:26:06

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

You can now make your own useing the template!


You can now reach me on Twitter @johnnydean1_

Offline

 

#3 2010-04-24 12:19:14

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

Now, I have worked out how to include chat. A MMOG is finally looking like a real posibility!


You can now reach me on Twitter @johnnydean1_

Offline

 

#4 2010-04-24 13:07:23

AmoebaMan
Scratcher
Registered: 2009-01-26
Posts: 500+

Re: Mesh MMOG Thread

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.


http://i942.photobucket.com/albums/ad269/RyanScathe/AmoebaMan.png

Offline

 

#5 2010-04-24 13:35:25

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

Man, you may be a blackmailing scammer, but you beat me to it!


http://i46.tinypic.com/dw7zft.png

Offline

 

#6 2010-04-24 14:07:18

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

Thanks guys this is sort of funny.

As regards to IP use Hamachi


You can now reach me on Twitter @johnnydean1_

Offline

 

#7 2010-04-24 14:17:38

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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?


You can now reach me on Twitter @johnnydean1_

Offline

 

#8 2010-04-24 14:42:11

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Mesh MMOG Thread

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.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#9 2010-04-24 14:46:45

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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....


You can now reach me on Twitter @johnnydean1_

Offline

 

#10 2010-04-24 15:25:56

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

Updated new one.


You can now reach me on Twitter @johnnydean1_

Offline

 

#11 2010-04-24 15:52:39

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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.


You can now reach me on Twitter @johnnydean1_

Offline

 

#12 2010-04-24 17:15:26

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

So. Is the Panther/Claw rivalship over? You may, but you must stop giving out Panther blocks, and log off the website.


http://i46.tinypic.com/dw7zft.png

Offline

 

#13 2010-04-25 05:19:45

fireball123
Scratcher
Registered: 2008-05-08
Posts: 1000+

Re: Mesh MMOG Thread

mesh is too slow to try and make any really big games


I did it for the Lolz

Offline

 

#14 2010-04-25 11:24:09

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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?


You can now reach me on Twitter @johnnydean1_

Offline

 

#15 2010-04-25 11:35:26

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

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


http://i46.tinypic.com/dw7zft.png

Offline

 

#16 2010-04-25 11:36:27

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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)


You can now reach me on Twitter @johnnydean1_

Offline

 

#17 2010-04-25 14:13:37

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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?


You can now reach me on Twitter @johnnydean1_

Offline

 

#18 2010-04-25 15:41:28

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

Eh... Could I be level designer. I would make quests and stuff?

And no, you can't export exes, but why?


http://i46.tinypic.com/dw7zft.png

Offline

 

#19 2010-04-26 16:21:42

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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?


You can now reach me on Twitter @johnnydean1_

Offline

 

#20 2010-04-26 16:32:54

AmoebaMan
Scratcher
Registered: 2009-01-26
Posts: 500+

Re: Mesh MMOG Thread

hey, is there anything i can do?  i want in on this.


http://i942.photobucket.com/albums/ad269/RyanScathe/AmoebaMan.png

Offline

 

#21 2010-04-26 16:45:56

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Mesh MMOG Thread

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.  wink

Offline

 

#22 2010-04-26 16:50:52

AmoebaMan
Scratcher
Registered: 2009-01-26
Posts: 500+

Re: Mesh MMOG Thread

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  big_smile


http://i942.photobucket.com/albums/ad269/RyanScathe/AmoebaMan.png

Offline

 

#23 2010-04-27 02:50:54

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Mesh MMOG Thread

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  big_smile

Cool, may use 3D but graphics I will do last as the coding is the most imprortant.

Added you to staff


You can now reach me on Twitter @johnnydean1_

Offline

 

#24 2010-04-27 08:11:41

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

Umm... What server should I connect to?

I'll make a server connect feature in Panther, if you don't mind...


http://i46.tinypic.com/dw7zft.png

Offline

 

#25 2010-04-27 08:38:49

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Mesh MMOG Thread

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)


http://i46.tinypic.com/dw7zft.png

Offline

 

Board footer