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

#26 2012-08-05 11:37:03

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

GeonoTRON2000 wrote:

Zeusking19 wrote:


We can transfer servine and your email addresses to your server, however I wont be able to create/administrate accounts  hmm

No need to transfer, just now that you're out.  And what do you mean by administrative accounts?

Nevermind about that

Anyway, I promoted you on our forums

Thank you very much...


http://i.imgur.com/BAEgGDL.png

Offline

 

#27 2012-08-05 13:23:02

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Apparently your disk is full, so here's the registering page (complete with PHP):

Code:

<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
  if (strlen($_POST["username"]) <= 0) {
    header("Location: register.php?error=username");
    die("Invalid username.");
  }
  if (strlen($_POST["password"]) <= 0) {
    header("Location: register.php?error=password");
    die("Invalid password.");
  }
  if (strlen($_POST["confirmpass"]) != $_POST["password"]) {
    header("Location: register.php?error=confirmpass");
    die("Passwords must match.");
  }
  if (!preg_match('/[0-9A-Za-z\.\-]@[0-9A-Za-z\-]\.[A-Za-z\.]+/', trim($_POST["email"]))) {
    header("Location: register.php?error=email");
    die("Invalid e-mail.");
  }
  mysql_connect("localhost", "*******", "*******");
  mysql_select_db("*********");
  $username = mysql_real_escape_string($_POST["username"]);
  $password = hash('sha256', $_POST["password"]);
  $email = mysql_real_escape_string($_POST["email"]);
  mysql_query("INSERT INTO `users` VALUES (null, '$username', '$password', '$email')") or die(mysql_error());
  die("Thanks for adopting a dragon!");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>DragonFEST - Adopt a Dragon!</title>

<style type="text/css">

body h1 {

    font-family: "Comic Sans MS", cursive;

    color: #FF001D;

}

#header {

    background-color: #840011;

    background-image: url(lib/images/logoback.png);

    background-repeat: no-repeat;

}

#header #menu {

    width: 850px;

    float: right;

    margin-top: 40px;

    color: #FFF;

    font-family: Arial, Helvetica, sans-serif;

    font-weight: bold;

}

body {

    color: #000000;

    background-color: #840011;

}

#header #menu a {

    color: #FFF;

    text-decoration: none;

}

#form1 label {

    color: #FFFFFF;

    font-family: Arial, Helvetica, sans-serif;

}

#form1 p label {

    text-align: justify;

}

#form1 p label {

    text-align: justify;

}

#form1 p label {

    text-align: justify;

}

#form1 {

    width: 300px;

    background-color: #C60000;

}

</style>

</head>



<body>

<div id="header"><img src="lib/images/logo.png" width="249" height="96" alt="logo" />

  <div id="menu"><a href="index.php">Home</a> &bull; <a href="register.php">Register </a>&bull; <a href="login.php">Login </a></div>

</div>

<p>&nbsp;</p>

<center>

<form id="form1" name="form1" method="post" action="">

  <p>

    <label for="username">Username<? if (@$_GET["error"]=="username"){ ?> <font color="red">(REQUIRED)</font><? } ?>:</label>

    <input type="text" name="username" id="username" />

  </p>

  <p>

    <label for="password">Password<? if (@$_GET["error"]=="password"){ ?> <font color="red">(REQUIRED)</font><? } ?>:</label>

    <input type="password" name="password" id="password" />

  </p>

  <p>

    <label for="confirmpass">Confirm Password<? if (@$_GET["error"]=="confirmpass"){ ?> <font color="red">(Must match above password)</font><? } ?>:</label>

    <input type="text" name="confirmpass" id="confirmpass" />

  </p>

  <p>

    <label for="email">Email Address<? if (@$_GET["error"]=="email"){ ?> <font color="red">(Please enter a valid e-mail)</font><? } ?>:</label>

    <input type="text" name="email" id="email" />

  </p>

  <p>

    <input type="submit" name="submit" id="submit" value="Submit" />

  </p>

</form>

</center>

</body>

</html>

I censored out the mysql info because: 1, I don't know it, and 2, we wouldn't want strangers to know it...


http://i.imgur.com/BAEgGDL.png

Offline

 

#28 2012-08-05 14:58:49

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

I really dont understand, because x10 is supposed to supply unlimited disk space
Edit: Use cpanel`s file manager for now. I am sending a ticket to x10.

Last edited by Zeusking19 (2012-08-05 14:59:59)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#29 2012-08-05 15:10:13

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

and it reckons that the password confirmation is wrong


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#30 2012-08-05 15:13:31

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: DragonFEST - Flash MMORPG

I could help with any PHP coding if you'd like.

Offline

 

#31 2012-08-05 15:21:02

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

and it reckons that the password confirmation is wrong

roll


http://i.imgur.com/BAEgGDL.png

Offline

 

#32 2012-08-05 15:36:17

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

JackERY wrote:

I could help with any PHP coding if you'd like.

Sure

@Geono

Any idea why it isnt working?


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#33 2012-08-05 16:27:42

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

JackERY wrote:

I could help with any PHP coding if you'd like.

Sure

@Geono

Any idea why it isnt working?

It works with cPanel file manager.  Just their response was what made me roll my eyes.
EDIT:
@JackERY:
Username: jackery@df.thegt.org
Password: E?=&r[l~P2!D
Webmail Login: http://df.thegt.org/webmail
Make sure to change your password, 'cuz there's no way you'll remember that one.

Last edited by GeonoTRON2000 (2012-08-05 16:30:10)


http://i.imgur.com/BAEgGDL.png

Offline

 

#34 2012-08-06 03:28:51

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

I really dont understand, because x10 is supposed to supply unlimited disk space
Edit: Use cpanel`s file manager for now. I am sending a ticket to x10.

I already said that. Anyway, lemme check x10`s response

Sierra Brown wrote:

Hello,
This should now be resolved.

Last edited by Zeusking19 (2012-08-06 03:30:27)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#35 2012-08-06 10:56:06

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

Zeusking19 wrote:

I really dont understand, because x10 is supposed to supply unlimited disk space
Edit: Use cpanel`s file manager for now. I am sending a ticket to x10.

I already said that. Anyway, lemme check x10`s response

Sierra Brown wrote:

Hello,
This should now be resolved.

OK, isssue resolved.  Use cPanel file manager.
Now, try checking the website, see what I did.  (It's good, not bad.)


http://i.imgur.com/BAEgGDL.png

Offline

 

#36 2012-08-06 11:38:39

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

GeonoTRON2000 wrote:

Zeusking19 wrote:

Zeusking19 wrote:

I really dont understand, because x10 is supposed to supply unlimited disk space
Edit: Use cpanel`s file manager for now. I am sending a ticket to x10.

I already said that. Anyway, lemme check x10`s response

Sierra Brown wrote:

Hello,
This should now be resolved.

OK, isssue resolved.  Use cPanel file manager.
Now, try checking the website, see what I did.  (It's good, not bad.)

Thats pretty cool  big_smile  I may change some colours and fonts, but overall it is good  smile  I had an   idea - When the user is logged in, the menu bar could display home and logout,  but when  no one is logged in, it would display home, login and register.


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#37 2012-08-06 11:45:07

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Also, I am working on a downloadable `launcher` for Windows. It is an easy way to play DragonFEST, and enables you to login and play the game quickly without opening your browser  smile

Edit: Done  smile  Issue: When logging in through launcher, it displays a blank page instead of a thank you for logging in message.

Good news for us: The launcher never needs updating. The website contains all the files.
https://dl.dropbox.com/u/85765634/Drago … uncher.exe

Last edited by Zeusking19 (2012-08-06 12:12:23)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#38 2012-08-06 15:34:54

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

GeonoTRON2000 wrote:

Zeusking19 wrote:

Zeusking19 wrote:

I really dont understand, because x10 is supposed to supply unlimited disk space
Edit: Use cpanel`s file manager for now. I am sending a ticket to x10.

I already said that. Anyway, lemme check x10`s response


OK, isssue resolved.  Use cPanel file manager.
Now, try checking the website, see what I did.  (It's good, not bad.)

Thats pretty cool  big_smile  I may change some colours and fonts, but overall it is good  smile  I had an   idea - When the user is logged in, the menu bar could display home and logout,  but when  no one is logged in, it would display home, login and register.

OK, that could be done... I'll add that.


http://i.imgur.com/BAEgGDL.png

Offline

 

#39 2012-08-06 20:50:15

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

DONE.
I've also created a rank system... it'll probably only help the flash people, unless we want special admin menus or something.


http://i.imgur.com/BAEgGDL.png

Offline

 

#40 2012-08-07 05:02:02

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

GeonoTRON2000 wrote:

DONE.
I've also created a rank system... it'll probably only help the flash people, unless we want special admin menus or something.

Thanks  big_smile

Which we probably will, seeing as the team will need to be able to administrate players in the game.

Would it be possible to implement http://www.phpbb.com/kb/article/phpbb3- … ntegration?

Last edited by Zeusking19 (2012-08-07 05:06:40)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#41 2012-08-07 11:00:05

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

GeonoTRON2000 wrote:

DONE.
I've also created a rank system... it'll probably only help the flash people, unless we want special admin menus or something.

Thanks  big_smile

Which we probably will, seeing as the team will need to be able to administrate players in the game.

Would it be possible to implement http://www.phpbb.com/kb/article/phpbb3- … ntegration?

Yes.  I can implement that into sessions.php.


http://i.imgur.com/BAEgGDL.png

Offline

 

#42 2012-08-07 13:28:54

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

GeonoTRON2000 wrote:

Zeusking19 wrote:

GeonoTRON2000 wrote:

DONE.
I've also created a rank system... it'll probably only help the flash people, unless we want special admin menus or something.

Thanks  big_smile

Which we probably will, seeing as the team will need to be able to administrate players in the game.

Would it be possible to implement http://www.phpbb.com/kb/article/phpbb3- … ntegration?

Yes.  I can implement that into sessions.php.

Parse error: syntax error, unexpected '"' in /home/dfest/public_html/sessions.php on line 31


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#43 2012-08-07 15:23:23

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: DragonFEST - Flash MMORPG

Anything you need me to do?

Offline

 

#44 2012-08-07 15:38:38

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

JackERY wrote:

Anything you need me to do?

Could you start an account portal type of page where people can close their accounts, change password etc


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#45 2012-08-07 15:46:54

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: DragonFEST - Flash MMORPG

I might have to resign as I have BlueTetra to work with. I want to, but i'll be too busy. Maybe we could sponsor eachother?


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#46 2012-08-07 16:27:24

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Servine wrote:

I might have to resign as I have BlueTetra to work with. I want to, but i'll be too busy. Maybe we could sponsor eachother?

I totally understand. Thank you for your interest, and if you want to access our code for other reasons, or in case you want to put a minor change in, feel free. You have the details. Your email account has been removed to allow space for a new account.

Please keep active on our forums. I would love to keep you in touch with the game`s community.

GeonoTRON2000 has been given the position of Head PHP Developer in your absence. Have fun, and good luck with BlueTetra.

Thank you again  smile

Last edited by Zeusking19 (2012-08-07 16:29:54)


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#47 2012-08-07 16:55:58

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

Servine wrote:

I might have to resign as I have BlueTetra to work with. I want to, but i'll be too busy. Maybe we could sponsor eachother?

I totally understand. Thank you for your interest, and if you want to access our code for other reasons, or in case you want to put a minor change in, feel free. You have the details. Your email account has been removed to allow space for a new account.

Please keep active on our forums. I would love to keep you in touch with the game`s community.

GeonoTRON2000 has been given the position of Head PHP Developer in your absence. Have fun, and good luck with BlueTetra.

Thank you again  smile

Thanks!  The forum sync thing is a major security flaw so I removed it.  (If you have the same username as someone on the forums, they can login to your account, and vice versa.)

I would also appreciate if the rest of the DragonFEST team would register for the game, so I can assign ranks.

Last edited by GeonoTRON2000 (2012-08-07 17:05:39)


http://i.imgur.com/BAEgGDL.png

Offline

 

#48 2012-08-07 17:37:01

JackERY
Scratcher
Registered: 2010-10-13
Posts: 69

Re: DragonFEST - Flash MMORPG

Zeusking19 wrote:

JackERY wrote:

Anything you need me to do?

Could you start an account portal type of page where people can close their accounts, change password etc

I'll start on it now.

Offline

 

#49 2012-08-07 19:08:52

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

The GT would officially like to sponsor DragonFEST.
Sponsor image:
Imageshack: http://img837.imageshack.us/img837/5466 … essage.png
Imgur: http://i.imgur.com/ZqdFI.png
Tinypic: http://i49.tinypic.com/2nhevwm.png
Small: http://img9.imageshack.us/img9/1345/gtsponsorsmall.png

Last edited by GeonoTRON2000 (2012-08-07 19:11:23)


http://i.imgur.com/BAEgGDL.png

Offline

 

#50 2012-08-07 19:24:53

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: DragonFEST - Flash MMORPG

yikes  the site just got deleted!  Who did that?
EDIT: and all the cpanel information.  Must be a glitch with the host.

Last edited by GeonoTRON2000 (2012-08-07 19:28:43)


http://i.imgur.com/BAEgGDL.png

Offline

 

Board footer