Jump to content
MakeWebGames

Aurora078

Members
  • Posts

    103
  • Joined

  • Last visited

    Never

Everything posted by Aurora078

  1. And i just like mentioning JS/AJAX because im a fan of Mafia Wars.
  2.   $Row = mysql_num_rows(mysql_query("SELECT `cmADDER` FROM `crystalsmarket` WHERE (`cmADDER` = ".$_SESSION['userid'].")")); if($Row >= 5) { echo '<p style = "text-align : center;">You have reached your maximum allowed limit for listings on the market <a title = "Crystal market" href = "cmarket.php">Back</a></p>'; exit($h->endpage()); } Awesome Equinox. I know how to do it, but thanks for posting that, now people can use it
  3. Yeah i am steering off topic too :/ Back on topic for me
  4. Im talking about jail/bail, in games its much easier if the bail doesnt try to stop refreshing auto, cuz u can just use opera's refresh to keep bailing automatically
  5. When i had helped someone with a game, i redid the crime system to work on their level, so it gave them exp based on their level, but also increased the fail rate.
  6. There are effective method's for leveling without cheating with bots. One thing that i know alot of players do if they can is called jail/bail. one user clicks the crime button, and on the other end someone bails them out. I know this cuz i used to do it
  7. Well considering tables arent going to be deprecated i think until HTML 5 comes out, you can still learn them, but yes div's are much better and flexible
  8. ID using Auto Increment, for me, have always started at 1 in phpMyAdmin.. Which is what i was reffering to. I've never seen 0 or negative ID rows myself. Using auto increment yes, not using it? Negative/0 rows usually unless you use something that reads the last id and then add's 1, which is basically acting just like auto-increment
  9. Ooh i misread it ^^. I thought it was a ctemple xD. The only thing that should be added is limit the amount of entries each user should be able to have on the market at once. Like say 5 entries per user at a time, so you dont have someone with 1k points putting 1 point in and using a macro to keep posting and spam your thing up
  10.   TeamViewer is good for assistance, not for teaching someone to do a whole thing lol. and yes tables should be learned before divs, but either way if you want to learn you can witha bit of trial & error
  11. Well if you think so, its your opinion so im not going to say its not, but yes youtube does have alot of tutorials for things. Google of course always helps searching, and George if your looking to learn valid (X)HTML/CSS try w3schools, code a small bit like just a basic page with a body of something and then use the validator every few 20 lines or so and learn that way. Remember to always use a DOCTYPE, html tags, head tag, title attribute within the head tags ( can be blank or not, but must be there in order to be valid ), charset which i most often forget about, and to put any stuff like <link href="" type="text/css" rel="stylesheet" /> or <script src=""></script> in the head tags as well. Here's what a XHTML 1.0 Strict basic document would look like: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Document Title</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> </head> <body> Hello World! </body> </html>
  12. Don't nearly all databases use negative/zero id's?, or that was just being sarcastic meaning it wont work..?
  13. Well, +1 for effort. However, i'd love to see some JS/Ajax put into it, as well as something to stop macro bots from just refilling automatically
  14. No. You could use z-index to position some divs at the lowest possible layer and then set the div's background's to the backgrounds you want and have your other div's be over them, but there is not a way to have more than 1 body background.
  15. If i do make one i will be sure to put up screenshots and such :)
  16. Very True Alain ( I think thats your name... ).
  17. I could code one myself but i'm too tired right now. Does anyone know where i can find one?
  18. I agree with Dave. The newest software or latest release of anything isnt the best option ( e.g. iPhone 4). It is wiser to use a version with all/most of it's bugs worked out to ensure maximum compatibility and usability. Oh, and jQuery is great :) I use it all the time for most of my JS
  19. ^.^ . Once you learn to slice and code your layout, for the little icons you may have, search Image Sprites :) . Will lower the amount of HTTP Requests your browser sends for images and improve loading time.
  20. My preference is Notepad++, but thats because i don't like how DW's interface is, all cluttered and such. Anyway, If you would like to learn how to code PSD's, its very simple. First you need to know (x)HTML/CSS. Once you know these, all you have to do is slice your images and position them where you want them.
  21.   the point was it was wrong but i have seen people do it then wounder why it fails to work here it is (kinda) vailed for text :)   $_GET['name'] = isset($_GET['name']) && is_string($_GET['name']) ? strtolower(trim($_GET['name'])) : false;   Could always use ctype_alpha($_GET['name']) as well, but good example of something that is useful, but is not gonna fix your whole page in one click.
  22. Your have a valid point. Although that thing would be completely useless consider $_GET['name'] is probably alphabetical, and ctype_digit and abs() and (int) are only for numbers..
  23. Nice one dave. I'm learning jQuery myself
×
×
  • Create New...