Ok people, we need to decide once for all, now tell just ONE name you like that does not have Scape, Corporation, Realm, or any non-related to future terms. Also note that the main part of the game wont be space. BTW, I like Cataclyst and Endearth, but specially Cataclyst, so I go for that one. Make your vote ASAP!
To nxsupert, I know of an easier way to do the moving script. Just do one page for each direction. FE: moveRight.php. It wouldn't need to have the first IF statement, so you could do...
-moveRight.php- change the variable called "X" stored in the database by +1 just if variable X +1 is not in blocked.dat
I find it easier, but if you dont, then stay with the other one. About the antispam thing, leave that to me (or if you want, do it yourself). And last thing, I will fit the project to your php code, so dont worry.
Last edited by Rub0Gameton (2011-03-05 12:18:58)
Offline
Rub0Gameton wrote:
Ok people, we need to decide once for all, now tell just ONE name you like that does not have Scape, Corporation, Realm, or any non-related to future terms. Also note that the main part of the game wont be space. BTW, I like Cataclyst and Endearth, but specially Cataclyst, so I go for that one. Make your vote ASAP!
To nxsupert, I know of an easier way to do the moving script. Just do one page for each direction. FE: moveRight.php. It wouldn't need to have the first IF statement, so you could do...Code:
-moveRight.php- change the variable called "X" stored in the database by +1 just if variable X +1 is not in blocked.datI find it easier, but if you dont, then stay with the other one. About the antispam thing, leave that to me (or if you want, do it yourself). And last thing, I will fit the project to your php code, so dont worry.
i prefer they way i did it.
Offline
nxsupert wrote:
Rub0Gameton wrote:
Ok people, we need to decide once for all, now tell just ONE name you like that does not have Scape, Corporation, Realm, or any non-related to future terms. Also note that the main part of the game wont be space. BTW, I like Cataclyst and Endearth, but specially Cataclyst, so I go for that one. Make your vote ASAP!
To nxsupert, I know of an easier way to do the moving script. Just do one page for each direction. FE: moveRight.php. It wouldn't need to have the first IF statement, so you could do...Code:
-moveRight.php- change the variable called "X" stored in the database by +1 just if variable X +1 is not in blocked.datI find it easier, but if you dont, then stay with the other one. About the antispam thing, leave that to me (or if you want, do it yourself). And last thing, I will fit the project to your php code, so dont worry.
i prefer they way i did it.
Ok, it's awesome either way
To Necromaster, ok, you're in as spriter
Offline
info getter:
<?php
$username="";
$password="";
$database="";
mysql_connect("host",$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM table";
$result=mysql_query($query);
$num=mysql_numrows($result);
$i=0;
while ($i < $num) {
$x=mysql_result($result,$i,"x");
$y=mysql_result($result,$i,"y");
$id=mysql_result($result,$i,"ID");
$Money=mysql_result($result,$i,"Money");
$Type =mysql_result($result,$i,"Type");
$Online =mysql_result($result,$i,"Online ");
echo "$x,$y,$id,$Money,$Type,$Online;";
$i++;
}it will print like this:
x,y,id,Money,Type,Online;x,y,id,Money,Type,Online;x,y,id,Money,Type,Online;
Offline
exit code :
<?php
$username='';
$password='';
$database='';
$id = $_GET['id'];
mysql_connect('host',$username,$password);
@mysql_select_db($database) or die( 'ERROR, Unable to select database');
$query="UPDATE example SET Online='false' WHERE ID='$id ')";
mysql_query($query) or die('ERROR, insert query failed');
mysql_close();
?>Rub0Gameton, i would like to do the web page were you sing up ( it won't be in the panther project it will be on the web site).
Offline
nxsupert wrote:
exit code :
Code:
<?php $username=''; $password=''; $database=''; $id = $_GET['id']; mysql_connect('host',$username,$password); @mysql_select_db($database) or die( 'ERROR, Unable to select database'); $query="UPDATE example SET Online='false' WHERE ID='$id ')"; mysql_query($query) or die('ERROR, insert query failed'); mysql_close(); ?>Rub0Gameton, i would like to do the web page were you sing up ( it won't be in the panther project it will be on the web site).
Ok, for security reasons, you must make a different page for each one. This are the files you need to create:
Login.php - Where the form is. Send data as $_POST to loginProcess.php. Will be accessed through web browser.
LoginProcess.php - Where data is verified and saved to the database. Redirect to success.php when finished.
Success.php - The success page, for browsers only.
LoginPanther.php - This one is ONLY for Panther use. It receives data from the panther project as $_GET. If the login is successful, then "echo 'loginSuccess'". He project will then save the login information as variables and use them as cookies.
Offline
Rub0Gameton wrote:
nxsupert wrote:
exit code :
Code:
<?php $username=''; $password=''; $database=''; $id = $_GET['id']; mysql_connect('host',$username,$password); @mysql_select_db($database) or die( 'ERROR, Unable to select database'); $query="UPDATE example SET Online='false' WHERE ID='$id ')"; mysql_query($query) or die('ERROR, insert query failed'); mysql_close(); ?>Rub0Gameton, i would like to do the web page were you sing up ( it won't be in the panther project it will be on the web site).
Ok, for security reasons, you must make a different page for each one. This are the files you need to create:
Login.php - Where the form is. Send data as $_POST to loginProcess.php. Will be accessed through web browser.
LoginProcess.php - Where data is verified and saved to the database. Redirect to success.php when finished.
Success.php - The success page, for browsers only.
LoginPanther.php - This one is ONLY for Panther use. It receives data from the panther project as $_GET. If the login is successful, then "echo 'loginSuccess'". He project will then save the login information as variables and use them as cookies.
login for panther is the entrance code.
all i meant was a web page were you could sing up.
Offline
nxsupert wrote:
Rub0Gameton wrote:
nxsupert wrote:
exit code :
Code:
<?php $username=''; $password=''; $database=''; $id = $_GET['id']; mysql_connect('host',$username,$password); @mysql_select_db($database) or die( 'ERROR, Unable to select database'); $query="UPDATE example SET Online='false' WHERE ID='$id ')"; mysql_query($query) or die('ERROR, insert query failed'); mysql_close(); ?>Rub0Gameton, i would like to do the web page were you sing up ( it won't be in the panther project it will be on the web site).
Ok, for security reasons, you must make a different page for each one. This are the files you need to create:
Login.php - Where the form is. Send data as $_POST to loginProcess.php. Will be accessed through web browser.
LoginProcess.php - Where data is verified and saved to the database. Redirect to success.php when finished.
Success.php - The success page, for browsers only.
LoginPanther.php - This one is ONLY for Panther use. It receives data from the panther project as $_GET. If the login is successful, then "echo 'loginSuccess'". He project will then save the login information as variables and use them as cookies.login for panther is the entrance code.
all i meant was a web page were you could sing up.
Ok! Feel free to Do it! BTW, what name would you like for the game?
Offline
Rub0Gameton wrote:
nxsupert wrote:
Rub0Gameton wrote:
Ok, for security reasons, you must make a different page for each one. This are the files you need to create:
Login.php - Where the form is. Send data as $_POST to loginProcess.php. Will be accessed through web browser.
LoginProcess.php - Where data is verified and saved to the database. Redirect to success.php when finished.
Success.php - The success page, for browsers only.
LoginPanther.php - This one is ONLY for Panther use. It receives data from the panther project as $_GET. If the login is successful, then "echo 'loginSuccess'". He project will then save the login information as variables and use them as cookies.login for panther is the entrance code.
all i meant was a web page were you could sing up.Ok! Feel free to Do it! BTW, what name would you like for the game?
ok i will do the html , php , and css for the sing up.
p.s for now on i want you to use this e-mail info@compusci.co.uk (to mods , this is my work e-mail).
names
Back To The Earth
The Last Chance
The New Age
The End Of Days.
Offline
nxsupert wrote:
Rub0Gameton , i will e-mail you the file with all the php code in it.
why...
because i am updating the scripts so it has encryption .
i can not tell you what type here.
Nice! After all, it seems you are someone who knows what hes doing! And you do it good!
Btw, I think we may want to do the passive mode longer... Maybe 10 seconds because it goes a little slow over 5 seconds saving. About the sensing code, that will be inside the project, it is a script that will load the page to request information, which you already did!
Offline
Ok people, look, we will never get a good name if we don't know exactly what the game will be about! Any ideas of what to make it of? Anything related to medieval ages won't be used, as there are plenty in existence. We need a SPECIFIC TOPIC. I was thinking about a future game where there are missions minigames you can play with others. Make your suggestions!
Offline
I've got it! What about an MMO where you have a ship, right? You buy upgrades, get more ships to add to your fleet, and even colonize asteroids and planets to give you resources!
Or, I like the mission minigame idea a lot too.
Offline
Rub0Gameton wrote:
nxsupert wrote:
Rub0Gameton , i will e-mail you the file with all the php code in it.
why...
because i am updating the scripts so it has encryption .
i can not tell you what type here.Nice! After all, it seems you are someone who knows what hes doing! And you do it good!
Btw, I think we may want to do the passive mode longer... Maybe 10 seconds because it goes a little slow over 5 seconds saving. About the sensing code, that will be inside the project, it is a script that will load the page to request information, which you already did!
okay.
we will have to do a test run soon.
p.s
i am a little bit new to php but i can pick up programming languishes really fast.
Offline
astrodude1789 wrote:
I would like to help. I can do whatever you need.
What could you do? You know... We're a little full, but if ou could do something useful that no one else is doing, then maybe you could get in...
To necro, this is not dead, I'm sorry if it seems as if it was, but I started mid-term exams last Monday, so I had to study a lot. They will end next week, so I will be active again
I should have told you all
Btw, I'm happy to announce that if Scratch 2 is capable enough, we could port the game to it and get more people to see it! Not saying that it would go a bunch faster!
Offline
Rub0Gameton wrote:
astrodude1789 wrote:
I would like to help. I can do whatever you need.
What could you do? You know... We're a little full, but if ou could do something useful that no one else is doing, then maybe you could get in...
To necro, this is not dead, I'm sorry if it seems as if it was, but I started mid-term exams last Monday, so I had to study a lot. They will end next week, so I will be active againI should have told you all
Btw, I'm happy to announce that if Scratch 2 is capable enough, we could port the game to it and get more people to see it! Not saying that it would go a bunch faster!
Yes! Definitely!
Offline
Ok peeps, I tested it with Panther and yet it goes very slow, so I recommend to pause this project until Scratch 2 comes out, which should be a lot faster. However, if yall insist, we could finish it in Panther.
Offline