Jump to content
MakeWebGames

DreamCoder

Members
  • Posts

    268
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DreamCoder

  1. DreamCoder

    Website!

    i was thinking that but i cannot create images as i dont know how to but ive been creating a more pro website from last nite should be up soon :D
  2. DreamCoder

    Website!

    Also im Creating another peice of work that will be more professinal
  3. DreamCoder

    Website!

    The new Links Are Up This is my First Mess Around Peice of Word plz put feedback and what u think of it :D
  4. DreamCoder

    Website!

    I will find a site to host the pics on and its my first try of making a site soo :/
  5. DreamCoder

    Website!

    http://dreamertesting.webng.com/TravisWebsites/Index.html Please Tell Me What You Think Of 2 Hours Work I Had To Learn Codes At The Same Time Of Coding It Sometimes Please Remember this is my First Peice of HTML & CSS Work. Please Post FeedBack
  6. Im on w3schools now :D Looking over it again and yes i know you helped Wazam can we start Clean cause i understand and i do admit i am a little lazy i got Mcc lite on my computer with wampp and im currently playing around with my game will soon be put up Rage-Mafia
  7. but isnt this site about helping LOL my brother does help me he just fixes my error's when he gets time :D but as i said THIS SITE IS ABOUT HELPING OWT OTHER PEOPLE TOO!
  8. Brother is on holidays :/ and oki thanks for the suggestion , but I can tell your a person who wants to own a game, to make themselves think, and your mates think, your a coder and no i dont want people to think it i can do a minimum amount of html that is what im currently learning and most of them know that i will carry on with html then i will move onto Css
  9. id didnt mean it like that it like dont suit my game :/
  10. not what i really want :/
  11. its a suggestion to keep user's playing the game so stop taking the piss ur ment to be a helping website not a piss taking site!¬
  12. What about a ingame layout 4 free?
  13. I was Thinking bwt a mod that gives people Crystals every 24 hours they get a chance to loot 1 between 10 im not sure if you can do it or not as im learning to code :/ just my thoughts. i kno it says mccode lite but do it for all mcc if you can :L
  14. Hello Guys im Looking for a free login.php register.php mainmenu.php and header.php for a Mafia Based Game can someone provide me with 1 please thx.
  15. im not making the game im just testing around with it and if i like it im gna put it up i got my bro to help me owt any way hes just not here atm
  16. now saying Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\header.php on line 79
  17. carnt php code still learning :/
  18. if i get rid of that it says im banned
  19. <?php class headers { function startheaders() { global $ir; echo <<<EOF <html> <head> <title>Rage-Mafia</title> <style> body { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color: #666000; scrollbar-base-color: #666000; scrollbar-arrow-color: #666000; scrollbar-DarkShadow-Color: #666000; } a:visited,a:active,a:hover,a:link { color: #666000;text-decoration: none; } table,tr,td { font-family:helvetica, arial, geneva, sans-serif;font-size: 12; } img { border:none; } textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color:#666000; } </style> </head> EOF; } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $c,$userid; $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; mysql_query("UPDATE users SET laston=unix_timestamp(),lastip='$ip' WHERE userid=$userid",$c); if(!$ir['email']) { die ("<body>Your account may be broken. Please mail [email][email protected][/email] stating your username and player ID."); } if($dosessh && $_SESSION['attacking']) { print "You lost all your EXP for running from the fight."; mysql_query("UPDATE users SET exp=0 WHERE userid=$userid",$c); $_SESSION['attacking']=0; } $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ( $ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>{$ir['username']}</font>";$d="[img=donator.gif]"; } if($ir['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$ir['gang']}",$c); $rr=mysql_fetch_array($qg); $gn=$rr['gangPREF'].""; } else { $gn=""; } print "<body bgcolor='black'> <table width=100%><tr><td>[img=logo.png]</td> <td>[b]Name:[/b] $gn{$u} [{$ir['userid']}] $d [b]Money:[/b] {$fm} [b]Level:[/b] {$ir['level']} [b]ReWard points:[/b] {$ir['crystals']} [[url='logout.php']Logout[/url]]</td><td> [b]Energy:[/b] {$enperc}% <img src=bargreen.gif width=$enperc height=10><img src=barred.gif width=$enopp height=10> [b]Will:[/b] {$wiperc}% <img src=bargreen.gif width=$wiperc height=10><img src=barred.gif width=$wiopp height=10> [b]Rage:[/b] {$ir['brave']}/{$ir['maxbrave']} <img src=bargreen.gif width=$brperc height=10><img src=barred.gif width=$bropp height=10> [b]EXP:[/b] {$experc}% <img src=bargreen.gif width=$experc height=10><img src=barred.gif width=$exopp height=10> [b]Health:[/b] {$hpperc}% <img src=bargreen.gif width=$hpperc height=10><img src=barred.gif width=$hpopp height=10></td></tr></table></div>[url='voting.php'][b]<center><u>Vote for Rage-Mafia on various gaming sites and be rewarded!</u></center>[/b][/url] [url='donator.php'][b]<center><u>Donate to Rage-Mafia, it's only \$3-30 and gets you a lot of benefits!</u></center>[/b][/url] "; $q=mysql_query("SELECT * FROM ads ORDER BY rand() LIMIT 1",$c); if(mysql_num_rows($q)) { } print "<table width=100%><tr><td width=20% valign='top'> "; if($ir['fedjail']) { $q=mysql_query("SELECT * FROM fedjail WHERE fed_userid=$userid",$c); $r=mysql_fetch_array($q); die("[b]<font color=red size=+1>You have been put in the Rage-Mafia Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$ip)) { die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</body></html>"); } } function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign='top'> "; } function endpage() { print "</td></tr></table></body> </html>"; } } ?>
  20. also cause of the free mods i got for v1 says mysql_fetch_array() expects parameter 1 to be resource, boolean given in
  21. still say Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\header.php on line 81
  22. "; $q=mysql_query("SELECT * FROM ads ORDER BY rand() LIMIT 1",$c); if(mysql_fetch_assoc($q)) { } print "<table width=100%><tr><td width=20% valign='top'> "; there is no .com :/ sorry im new to mysql stuff
  23. Dont know how to call them
  24. when i put ! it dont work Call to undefined function mysql_nums_rows() in C:\xampp\htdocs\header.php on line 81
  25. when i change to mysql_fetch_assoc it says mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\header.php on line 81
×
×
  • Create New...