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

#26 2010-08-05 03:09:44

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

Re: Online Multiplayer PHP

bump


You can now reach me on Twitter @johnnydean1_

Offline

 

#27 2010-08-05 05:44:18

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Online Multiplayer PHP

Interesting... I like the idea... but currently its just not possible... (Or is it?)


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#28 2010-08-05 08:23:57

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

johnnydean1 wrote:

bump

Yeah, sorry, I have a couple of other things to take care of first  smile


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#29 2010-08-05 10:13:06

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Online Multiplayer PHP

Why would you use php for this when you could just run a Scratch project to act as the server? Using php would be good for highscores but something like an MMO would run far too slowly. Not to mention that mesh makes connecting to projects easy so if you want to connect to a web page then extra work is needed.

Last edited by archmage (2010-08-05 10:14:02)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#30 2010-08-05 16:26:03

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Online Multiplayer PHP

If the online scratch (Flash) has mesh... will that mean that you can have an online server... sort of? Does anyone understand what I'm saying?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#31 2010-08-05 16:27:38

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

Re: Online Multiplayer PHP

I get it but this will do for now!


You can now reach me on Twitter @johnnydean1_

Offline

 

#32 2010-08-05 16:29:04

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Online Multiplayer PHP

markyparky56 wrote:

If the online scratch (Flash) has mesh... will that mean that you can have an online server... sort of? Does anyone understand what I'm saying?

Mesh is a server program. So if there is mesh there can be servers.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#33 2010-08-05 16:36:15

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Online Multiplayer PHP

johnnydean1 wrote:

I get it but this will do for now!

...the hard way is better than the easy way for you... riiiiiiiiight...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#34 2010-08-05 17:36:44

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

markyparky56 wrote:

If the online scratch (Flash) has mesh... will that mean that you can have an online server... sort of? Does anyone understand what I'm saying?

Flash can't act as a server, at least from my own experience, so mesh as we know it won't be in 2.0  sad


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#35 2010-08-05 17:48:19

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Online Multiplayer PHP

is game name taken? block


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#36 2010-08-05 18:17:17

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Online Multiplayer PHP

archmage wrote:

Why would you use php for this when you could just run a Scratch project to act as the server? Using php would be good for highscores but something like an MMO would run far too slowly. Not to mention that mesh makes connecting to projects easy so if you want to connect to a web page then extra work is needed.

?

PHP would be MUCH faster


nXIII

Offline

 

#37 2010-08-05 18:43:09

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Online Multiplayer PHP

nXIII wrote:

archmage wrote:

Why would you use php for this when you could just run a Scratch project to act as the server? Using php would be good for highscores but something like an MMO would run far too slowly. Not to mention that mesh makes connecting to projects easy so if you want to connect to a web page then extra work is needed.

?

PHP would be MUCH faster

Are you sure of this? I remember people on newgrounds talking about php servers a while ago. From what I've heard they are not that great at constant activity (MMO shooter) but are well suited to things like chatrooms and highscore boards. I think you need to provide some sort of way to prove the effectiveness of php servers for MMOs.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#38 2010-08-07 07:31:08

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

Re: Online Multiplayer PHP

bump


You can now reach me on Twitter @johnnydean1_

Offline

 

#39 2010-08-07 15:49:22

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Online Multiplayer PHP

Ok... just done a little research... found Electroserver... http://www.electro-server.com/overview.aspx (Don't be surprised at the price, click on download and you see you can get a nice little free 25-user version.  smile


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#40 2010-08-07 18:09:48

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

johnnydean1 wrote:

bump

I really can't start it until I finish my Scratch Resources uploader...


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#41 2010-08-07 18:13:55

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Online Multiplayer PHP

archmage wrote:

nXIII wrote:

archmage wrote:

Why would you use php for this when you could just run a Scratch project to act as the server? Using php would be good for highscores but something like an MMO would run far too slowly. Not to mention that mesh makes connecting to projects easy so if you want to connect to a web page then extra work is needed.

?

PHP would be MUCH faster

Are you sure of this? I remember people on newgrounds talking about php servers a while ago. From what I've heard they are not that great at constant activity (MMO shooter) but are well suited to things like chatrooms and highscore boards. I think you need to provide some sort of way to prove the effectiveness of php servers for MMOs.

Oh, yea, I didn't think you meant a shooter. I think they might be okay for small sessions, too, with 2-4 players in each one.


nXIII

Offline

 

#42 2010-08-07 18:54:04

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Online Multiplayer PHP

Even with a small number of players having constant movement will not work properly in php.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#43 2010-08-07 19:00:12

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

archmage wrote:

Even with a small number of players having constant movement will not work properly in php.

Most MPOG's handle onnections to PHP with sockets, but that's not an option in Scratch.  sad  I don't know how well any of this will perform, but since it's fairly easy so I'm doing it anyway.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#44 2010-08-07 19:01:11

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Online Multiplayer PHP

It's ultra-easy  big_smile


nXIII

Offline

 

#45 2010-08-07 19:07:48

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Online Multiplayer PHP

fullmoon wrote:

Most MPOG's handle onnections to PHP with sockets, but that's not an option in Scratch.  sad  I don't know how well any of this will perform, but since it's fairly easy so I'm doing it anyway.

I haven't heard of any MMOs that use php servers, most run on dedicated servers using specific server software. It is harder than using mesh but it can be done using the info @ http://scratchconnections.wik.is


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#46 2010-08-07 19:24:12

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

archmage wrote:

fullmoon wrote:

Most MPOG's handle onnections to PHP with sockets, but that's not an option in Scratch.  sad  I don't know how well any of this will perform, but since it's fairly easy so I'm doing it anyway.

I haven't heard of any MMOs that use php servers, most run on dedicated servers using specific server software. It is harder than using mesh but it can be done using the info @ http://scratchconnections.wik.is

I wrote a Scratch Wiki Article about this a while ago, before it was migrated. Actually, Scratch acts more as the server than the client in that situation.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#47 2010-08-08 09:21:22

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

Re: Online Multiplayer PHP

FullMoon have you coded it yet?


You can now reach me on Twitter @johnnydean1_

Offline

 

#48 2010-08-08 12:48:16

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

johnnydean1 wrote:

FullMoon have you coded it yet?

No, it'll be a week or so...


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#49 2010-08-08 15:58:26

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

Re: Online Multiplayer PHP

Can you get it done by the 13th as I go on holiday on the 14th.


You can now reach me on Twitter @johnnydean1_

Offline

 

#50 2010-08-08 16:42:05

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Online Multiplayer PHP

johnnydean1 wrote:

Can you get it done by the 13th as I go on holiday on the 14th.

Ummm...probably not. I'm leaving too. But I'll keep you posted!


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

Board footer