Jump to content
MakeWebGames

Astra

Members
  • Posts

    284
  • Joined

  • Last visited

    Never

Everything posted by Astra

  1. Re: Help with a syntax error Thanks Decepti0n that worked great.
  2. hello, I am trying to make a user icon for the players gender in the format like the donoter icon but after trying a lot of differnt trys I am unable to get this to work would anyone be able to help with this?   if($r['gender']) == Female { $icon_gender = "[img=images/icons/male.png]"; } if($r['gender']) == Male { $icon_gender = "[img=images/icons/female.png]"; }
  3. Re: LARGE ammount of stolen code in use. lol, bet you had something to do with that awakenedlands.com :roll:
  4. Re: i better warn all game owners here lol, he keeps asking me to fix his crons
  5. Re: How do You Code Php Tables lol and stop acting like a noob on msn CrazyT.
  6. Re: no encryption Thats very ture I find the encryption very useful just get a password reset mod for your site that mails the user their new password.
  7. Re: User "sifter" cron well when you have like 4,000 accounds you what to remove them as the 5min cron is updating accounts that no one uses so this puts lag on the server ect.
  8. Re: User "sifter" cron I am well buying this :lol:
  9. Re: Counting (nr game) 801
  10. I am looking into Dedicated Hosting if anyone knows any good hosting that does not cost too much then could you let me know and does anyone have any kind of idea how much ram a online text based uses? with around 1,800 players? Thanks for any help.
  11. validation mod Yes it is .png Also how would you enable the GD library?
  12. validation mod Even with that uploaded it still does not work could it be anything else?
  13. validation mod I just can't get the image too show :hmmm: does anyone have the image used?
  14. adding a crime panel in admin panel Thanks it works great now.
  15. adding a crime panel in admin panel I think I did it right but I get this :hmmm:  
  16. adding a crime panel in admin panel same it is great
  17. adding a crime panel in admin panel hmm when you go into edit crime nothing is displayed in CrimeITEXT but apart from that its great means I can add new crimes at school now as my cpanel is blocked
  18. [Lite] Jail well thats what it says to do. :hmmm:
  19. [Lite] Jail hmm I get this all the time   this is docrime.php   <?php /*----------------------------------------------------- -- Mono Country v1.0 BETA -- A product of DBS-entertainment -- Copyright held 2005 by Dabomstew -- INDEX.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['c']=abs((int) $_GET['c']); if(!$_GET['c']) { print "Invalid crime"; } else { $q=mysql_query("SELECT * FROM crimes WHERE crimeID={$_GET['c']}",$c); $r=mysql_fetch_array($q); if($ir['brave'] < $r['crimeBRAVE']) { print "You do not have enough Brave to perform this crime."; } else { $ec="\$sucrate=".str_replace(array("LEVEL","EXP","WILL","IQ"), array($ir['level'], $ir['exp'], $ir['will'], $ir['IQ']),$r['crimePERCFORM']).";"; eval($ec); print $r['crimeITEXT']; $ir['brave']-=$r['crimeBRAVE']; mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); if(rand(1,100) <= $sucrate) { print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); $ir['money']+=$r['crimeSUCCESSMUNY']; $ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']},exp={$ir['exp']} WHERE userid=$userid",$c); } else { print $r['crimeFTEXT']; $jailtime=(int) rand(10,30); mysql_query("UPDATE users SET jail=$jailtime WHERE userid=$userid", $c); mysql_query("UPDATE users SET jailreason='failed a crime' WHERE userid=$userid", $c) } print " [url='docrime.php?c={$_GET[']Try Again[/url] [url='criminal.php']Crimes[/url]"; } } $h->endpage(); ?>
  20. [Lite] Jail well it don't work for v1.1 :no:
  21. Re: Dabs   lol I got that as well
  22. Profile Signatures I get this error on preferences.php Parse error: syntax error, unexpected $end in /home/astravn/public_html/rpg/preferences.php on line 208 and line 208 is ?> not sure why this is a error anyone know?
  23. [Lite] Bugget streets v1 Great mod on_fire :thumbs_up:
  24. Admin Modifcations Or you could just remove the user from the MySQL database lol, but I might add it later
  25. Side Bars I am still geting that same error
×
×
  • Create New...