See number 6: http://www.freewebhostingarea.com/agreement.html
Offline
Oh...
Did you save a copy of the code?
Offline
Errm... no.
Offline
Yes. Not now though. I'm meant to be doing English homework.
Offline
Ok, if you can post it here as you make it (so we can all see) youll have a back up.
Try and make it so you can adapt it for any site (it can use any database)
Offline
Ok.
Offline
This maybe better for hosting: http://www.zymic.com/sign-up/
Offline
The website for my mod is already hosted there (http://xcubed.zxq.net), so I might be able to get it up there soon with its own subdomain as I already have an account. I'll do it tomorrow.
Offline
Their file manager is out of action and has been for a while. As soon as they fix it I'll create a new subdomain and set it up.
Offline
johnnydean1 wrote:
Heres a idea, how about we get together and make a very easy online multiplayer PHP.
Used in any mod that can get info from a webpage I propose these new blocks:
set name to %s
Sets the name of the client to a string
set game to %s
The name of the game you are playing
store %v online
Stores the chosen variable online using PHP, seperate for every user and seprated by game names
(get %v of player %s online)
Gets the variable of the selected player using PHP
(get all of %v seperated by %s)
Gets all copys of the chosen variable and the name seperated by the string
e.g
get hi seperated by /
would return:
/player1/6/player2/7/
(all players online seperated by %s)
Would return all players online seperated by a string
and they could also be used by
add all players online to list %L
add all of variable %v to list %L
so the lists would do the same as normal but the / is a newline
So anyone willing to code these in PHP please say, I can help with the Scratch side.
HOW
MUCH
WOULD
SERVERS
COST
EXACTLY
Offline
You can usually get something for free with a quick Google search.
Offline
Zymic have sorted everything out! I'll be starting soon.
Address: scratchphp.zxq.net/jd1 (I know it says 403 Forbidden).
Offline
heres an idea!
there is one buttion in a new category,the buttions called create new user! but under the buttion before you make the user there are a couple blocks
blocks before making user:
create new user named [some guy]
blocks when making new user:
ban [user]
monitor [user] {MONITOR NOT MODERATOR}
make moderator[some user]
and thos might help
Offline
stickdude123 wrote:
heres an idea!
![]()
there is one buttion in a new category,the buttions called create new user! but under the buttion before you make the user there are a couple blocks
blocks before making user:
create new user named [some guy]
blocks when making new user:
ban [user]
monitor [user] {MONITOR NOT MODERATOR}
make moderator[some user]
and thos might help
Creating blocks for a single project isn't a very good idea, basically useless, as this is going to be done in PHP, all users and stuff will be done on a PHP page, so when you load a web page "scratchonlinephp.tld/game/createuser.php?username=Magnie&password=mypassword". The page would create the user:
<?php
$con = mysql_connect("localhost","account","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
else
{
$page = "Connection Successful<BR><BR>";
}
$un = $_GET['username'];
$pw = $_GET['password'];
$pw = md5($pw);
$result = mysql_query("SELECT * FROM table.accounts", $con);
$num_rows = mysql_num_rows($result);
if ($un)
{
$add_user = mysql_query("INSERT INTO table.accounts (`id`,`username`,`password`)
VALUES ('$num_rows', '$un', '$pw')");
echo $un." ( with ID#".$num_rows." ) has been added.";
}
?>Adding a few other things you can add Membership groups, like Owner, Admin, Moderator, Banned, Member.
There isn't any need to make a block as far as I'm concerned.
Last edited by Magnie (2010-11-19 16:59:32)
Offline
We have already decided on the blocks.
Set Game || Player || Type || Variable || To ||
and
Get Game || Player || Type || Variable ||
and
Players in game ||
and
games
I will also be adding
PHP Chat || Username ||
(PHP Chat)
Offline
Mods remove that spam please (The html tags).
Any how, me and TheSuccessor have had this working before, but it was shut down. We know that PHP works.
Offline