Browser MMO Video #1
- SpiritWebb
- Posts: 3107
- Joined: Sun Jul 12, 2009 11:25 pm
Re: Video #1
did u rename the tutorial folder to something different? If you did, then make sure in the connect.php that you change "tutorial" to whatever u named it.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #1
try the wamp boards or troubleshooting to see if there is an answer there. I can't think of any reason why it wouldn't work if you followed the tut.
Re: Video #1
Yeeha i must be the biggest faliure so far
when i press "Put online" in WAMP
i get a error
Aestan tray Menu
Could not execute menu item (internal error)
[exception] could not preform service action
Couldent start

when i press "Put online" in WAMP
i get a error
Aestan tray Menu
Could not execute menu item (internal error)
[exception] could not preform service action
Couldent start
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #1
wow thats a new one one me. TO be honest I would ask this in the wamp forums. This sounds like a wamp issue and I would hate to give you the wrong answer 

Re: Video #1
fantastic first video, works like a charm. 

Re: Video #1
very nice 

Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
-
- Posts: 11
- Joined: Sun Nov 29, 2009 3:35 am
Re: Video #1
Just FYI, if you have any other servers running you might want to disable them if you are having problems.
The PC I'm running this on also has a VNC server set up on it so that I can hop into it while I work and that was giving me hassles getting wamp to start correctly. Disabled it, restarted wamp, works like a charm now
Haven't experimented to see if you can just change ports or something to make them play nicely as logmein works just fine until I need to get multiple users going on this box again (since logmein free version is only one remote session at a time)
The PC I'm running this on also has a VNC server set up on it so that I can hop into it while I work and that was giving me hassles getting wamp to start correctly. Disabled it, restarted wamp, works like a charm now

Haven't experimented to see if you can just change ports or something to make them play nicely as logmein works just fine until I need to get multiple users going on this box again (since logmein free version is only one remote session at a time)

Re: Video #1
Hi, I made a better one!
test.php
usertest.php
You have to go to usertest.php, enter the username you want to look up click Submit, and all the info should pop up 
And thanks to your tutorials hallsofvallhalla !
test.php
Code: Select all
<?php
include 'connect.php';
?>
<?php
$player=$_POST['player'];
$password=$_POST['password'];
$pass2=$_POST['pass2'];
$player=strip_tags($player);
$email=$_POST['email'];
$email=strip_tags($email);
$playerinfo = "select * from players where name = '$player'";
$playerinfo2 = mysql_query($playerinfo) or die ("Could not select players.");
$playerinfo3 = mysql_fetch_array($playerinfo2);
echo "Checking - <b>", $playerinfo3['name'], "</b><br><br>";
echo "<b>", $playerinfo3['name'], "'s</b> ID is <u>" . $playerinfo3['id'], "</u><br>";
echo "<b>", $playerinfo3['name'], "'s</b> email is <u>" . $playerinfo3['email'], "</u><br>";
echo "<b>", $playerinfo3['name'], "'s</b> level is <u>" . $platerinfo3['level'], "</u><br>";
echo "<b>", $playerinfo3['name'], "'s</b> XP is <u>" . $platerinfo3['exper'], "</u><br>";
echo "<b>", $playerinfo3['name'], "'s</b> passowrd is <u>" . $platerinfo3['password'], "</u><br><br><br><br>";
echo " <A href='usertest.php'>Check again</a><br>";
exit;
?>
Code: Select all
<form method = "post" action = "test.php">
Username: <input type="text" name="player" size="21" maxlength="21"><br>
<br>
<input type="submit" value="Submit">
</form>

And thanks to your tutorials hallsofvallhalla !