nXIII wrote:
archmage wrote:
nXIII wrote:
?
PHP would be MUCH fasterAre 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.
And web wizard.
The problem with Mesh is that it is local! It would have to be adapted (or you would have to use a program like Hamachi) for you to connect to computers outside your network.
Offline
bounce bounce *crash* bump!
Offline
shadow_7283 wrote:
nXIII wrote:
archmage wrote:
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.
And web wizard.
![]()
The problem with Mesh is that it is local! It would have to be adapted (or you would have to use a program like Hamachi) for you to connect to computers outside your network.
Thats the point in this topic... it doesn't use mesh.
It uses things like the web page blocks in Panther (Example) to communicate with a PHP file stored on a website.
Offline
markyparky56 wrote:
shadow_7283 wrote:
nXIII wrote:
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.And web wizard.
![]()
The problem with Mesh is that it is local! It would have to be adapted (or you would have to use a program like Hamachi) for you to connect to computers outside your network.Thats the point in this topic... it doesn't use mesh.
![]()
I was referring to Archmage's post where he claimed that Mesh was a better solution than PHP.
Offline
shadow_7283 wrote:
markyparky56 wrote:
shadow_7283 wrote:
And web wizard.![]()
The problem with Mesh is that it is local! It would have to be adapted (or you would have to use a program like Hamachi) for you to connect to computers outside your network.Thats the point in this topic... it doesn't use mesh.
![]()
I was referring to Archmage's post where he claimed that Mesh was a better solution than PHP.
Ah, ok. We'll maybe it would been quicker.
Offline
Could someone help with some PHP on this topic? I feel too lazy to do it myself. But I can if needed.
http://scratch.mit.edu/forums/viewtopic.php?id=41406
Offline
Once ours is done you can use that!
Offline
johnnydean1 wrote:
Once ours is done you can use that!
Okay. Maybe I will learn PHP so I can help.
Offline
I can do PHP with databases so I could help now if you want.
Offline
Please, I know little PHP so I can understand what you write but cant then add anything as of now.
I would like any help and anyone who helps get thier name on a credits page. I can make some squeak blocks to transmit strings in Panther, so go write your PHP!
Offline
If you can get PHP to use sockets and ports, then just have it send data back and forth. Have it connect on the Scratch Ports... But even then, that's still gona be complicated. I would stick to using Python as a server just for the sake of simplicity.
Offline
Sparks worked out our system for sending info.
Offline
sparks wrote:
what was the point of that? I was explaning why a new catagory does not work, why custom blocks can be used and generally ANSWERING IT! No need to repeat
![]()
Well, how did the Scratch Team make the categorys?
See? Bad Point.
Offline
Well you would only need 1 block so whats the point!
Offline
johnnydean1 wrote:
I made a account there and I got this:
$mysql_host = "*****************************";
$mysql_database = "*******************";
$mysql_user = "*******************";
$mysql_password = "********";
Its a PHP thing I think. Its a empty database.
That's the connection information for the MySQL database. You store those in a file called sql.php between <?php and ?> tags and connect to the database like this in the actual web page:
<?php
include('sql.php');
$connection = mysql_connect($mysql_host, $mysql_user, $mysql_password);
mysql_select_db($mysql_database, $connection);
?>I recommend deleting the post with that information if don't want people hacking into your database.
Last edited by TheSuccessor (2010-08-11 15:53:57)
Offline
When the PHP code is done I will remove, can you alter yours you put * and not the codes.
Offline
Will do.
Offline
My current formula for an online multiplayer game is having a PHP port from scratch and coding it in there after creating a new database in MYsql, then you could code the server information in the PHP port.
Offline
We have a system worked out (By Sparks/NXiii Not sure whom) and I would like it coded.
Offline
I could code it if you tell me the system.
Offline