Jump to content
MakeWebGames

Octet

Members
  • Posts

    149
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Octet

  1. So whilst you let it sink in you are rude and ungrateful?
  2. I got a feed on Facebook about a trending article saying a similar sort of thing. I think it was on 'The Guardian' website and it was a person moaning about how it was rubbish and the worst opening ceremony ever and how the Canadian Winter Olympics was better? Found it: http://www.guardian.co.uk/sport/blog/2012/jul/29/worst-olympics-ever-vancouver-london-revenge
  3. "Just to make sure I downloaded the GL script installed on my server and it worked after setting up the database and using the correct details to connect to it. So this is plain and simple user error due to lack of understanding of php and mysql and a failure to be able to follow advice." True dat!
  4. You really are an obnoxious, annoying person? All we have done is try and help you, and you can't even be bothered to either show some gratitude or attempt to learn the language yourself. Also, to work at PCWorld isn't exactly an achievement. The chances are you are a sales assistant? Trained to sell the products, you don't need to know too much at computers to do it. You don't need to know anything about programming, and so your comment 'get it right' is either meaningless or a poor use of English because at the moment you're implying that RulerofZu is both wrong about your work placement and about the MySQL issue you're having.
  5. No, to connect just use this:   mysql_connect ("localhost", "gothcent_admin3", "shadow0ffear") or die (mysql_error()); mysql_select_db ("db") or die (mysql_error());   And then don't bother with your if true and all that. If you want personalised messages and what not, do this (changing the href to your page locations):   mysql_connect ("localhost", "gothcent_admin3", "shadow0ffear") or die (Header ('Location: Errors/Connect.php')); mysql_select_db ("db") or die (Header ('Location: Errors/DB.php'));
  6. Two methods, the first one which is probably the best is to go for JavaScript or you can do some strange and complicated class, ID and a:hover spectacle and then change font colours to make it look like it isn't there and change it back. The best bet is to go Javascript though.
  7. You're not selecting your database by the looks of it? I would just completely get rid of all your if statements, it shall connect or it won't so there isn't really a need to check it again. In your current code you're just checking whether it is true and not actually connecting to the database.
  8. And of course, thank you SilverStar for bringing it to my attention originally!
  9. Have you tried the piece I sent, what did the errors say? Not sure if it is the password, but is it supposed to be with a zero for 0F in shadow0ffear? It is suggesting a problem in connecting, so it could be that if it is a typo?
  10. You really are new to PHP aren't you? Die() is a function, you can't enclose it in ' ' otherwise it is classed as a string. It should be die (mysql_error());   Try this, and a tip... don't include your password when posting on a public forum:   <?php session_start(); $connect = mysql_connect("localhost", "gothcent_admin3", "shadow0ffear") or die (mysql_error()); if($connect == TRUE) { if(mysql_select_db("db") != TRUE) { exit("<span style='color: red'>Can't connect to the MySQL database. Please contact the webmaster.</body></html>"); } }else{ exit("<span style='color: red'>Can't connect to the MySQL server. Please contact the webmaster.</body></html>"); } ?>
  11. Ok, you're using an engine which I don't have the files to but I presume that opens the connection. Did you get any errors whilst doing that, are you actually able to connect to the database?
  12. Is this when connecting through a script? If so, check your 'mysql_connect' and 'mysql_select_db' parts. If you have the correct information then do a 'die(mysql_error());' and post what it says.
  13. Thanks for clearing that up Guest!
  14. Ok, I've got the basic design for the site done, I am happy with it but your opinions would be appreciated. [ATTACH=CONFIG]575[/ATTACH] The content area is expandable and shall extend over the top of the grass (the grass and Vegas sign is fixed). The 'Welcome to Fabulous Las Vegas' sign is an Animated .gif file containing two images and sizing in at a minuscule 38.6 KB so load issues shouldn't be a problem and from what I understand once it is loaded it won't use any additional bandwidth? The animation part of the sign are the lights on the star and around the edges which flicker on and off. Any opinions? (Update: Ignore the 'Logout' and 'Register' bits being on the same screen, that is an error which I have just fixed, imagine it only says one or the other).
  15. Touche rulerofzu... Touche :P
  16. Thanks, you don't sound so sure though?
  17. Sounds good, good luck with the learning! Will the players investments affect the global financial economy? That would be interesting, not sure how the maths would work though.
  18. Yes and no, I shall be creating the setup for future multi-player functionality but in V1.0 it shall only be the solo game. In the future however I am looking to allow players to trade with each other in a black market style system as well as allow groups to be created so friends can gather resources for missions together (such as player A goes to location A to gather resource A whilst player B goes to location B to gather resource B and then together that creates quest item C).
  19. Hello MakeWebGames, Another project I am working on, this one is called 'Atomic Holocaust' and is an online Persistent Browser Based Role Playing Game (PBBRPG) which I am in the process of developing. The game itself places you in the post-apocalyptic landscape of Las Vegas after the world has been devestated by Nuclear War. It is inspired by the popular video game series, 'Fallout' and my personal interest for urban decay (strange one, I know). I am hoping to develop it to provide the most interactive possible experience for a text based game. Sorry about the long post, I would be appreciative if you could tell me your opinions. The Game Concept The concept of the game is you are an adult (male or female, you decide and can set your skills and traits) based in Las Vegas in the year 2000 (thirty years after the Nuclear War). Considering Las Vegas is approximately 200 miles from any major city, the fallout is minimal making it habitable but this doesn't make it safe with the main threat being bandits and raiders. The game shall try and capture as much of the glitz and glam of Las Vegas as I possibly can although unfortunately it shall be limited due to my poor artwork. You shall be focused in on Las Vegas but missions shall eventually lead you to explore the Mojave desert where you shall discover towns and locations which shall unlock further missions. Isn't that the same as Fallout? The Fallout series is probably the first video game you would think of when you mention 'Nuclear Apocalypse' and I think they captured it perfectly. Yes the game shall have similar features to the Fallout series but I shall attempt to put my own twist onto it and the main difference being this is an online game. After all, Fallout was inspired by a previous game called Wastelands. Game Play Game play shall mostly involve 'point and click' movement, with you having a general map of the area with squares which you click in to visit the location. Once you have zoomed in, you shall have a second map displaying the buildings of that area (or other features). You can then click on the buildings to enter them, where you can gather resources, trade or begin missions. The overall map shall be empty to begin with, and as you explore each square you shall unlock the main towns and locations. The missions shall probably consist of, find these parts to make this weapon or to clear out an area of enemies. This shall involve you travelling to the locations and fighting them, again it shall be as interactive as I can make it so you shall be able to choose your attack move and take it in turns against the AI. The Game Engine The Game Engine which it shall run is one I am in the process of developing called PiE (or PHP Indie Engine) and shall be created specifically for Atomic Holocaust and then extracted and refined for universal use.   That is about it, thanks for reading and I look forward to seeing your views and opinions!
  20. Shall definitely be a race I shall be watching, that's for sure! In his previous races, you have a sense that he hasn't really put in his full potential as of yet, so it would be interesting to see how fast he can actually run if he put in his full effort.
  21. Same thing with the running, and practically every sport now. It makes you wonder, how fast will people actually become before it isn't actually possible to get any faster.
  22. Yes, I think we should get back on subject. I didn't unfortunately, what event was it in?
  23. You shall be living a very sad and unfulfilled life then. If you don't respect anyone until you're 90 (if you live that long) then you shall struggle to get a job, a wife/husband and people won't help you in any way, shape or form.
  24. But surely you would still need to do,   $Fetch_Usernames = mysql_query("SELECT Username FROM Members WHERE Username = '$Username'"); $Count = mysql_num_rows($Fetch_Usernames);   In that query, surely you still need to convert it to lowercase?
  25. In my opinion, you want to disallow upper and lower case because when you query it such as if ($Username_From_Form == $Username_From_Database) then to query Bob would not be the same as BoB (but this may just be the way I query my usernames to avoid duplication of accounts). I also suggest the removal of spaces because of the same reason as above, you don't want to have duplicate, or extremely similar accounts. Thirdly, I wouldn't remove numbers personally, but that is what Daron is asking ('Names that are all numbers'). Also, in response to 'how do you know he isn't using mres on the variable he will input into the database'. You should always slash and sanitize your users inputs at the soonest possible moment for security, NEVER trust the user.
×
×
  • Create New...