
Astra
Members-
Posts
284 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Astra
-
Re: Help with a syntax error Thanks Decepti0n that worked great.
-
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]"; }
-
Re: LARGE ammount of stolen code in use. lol, bet you had something to do with that awakenedlands.com :roll:
-
Re: i better warn all game owners here lol, he keeps asking me to fix his crons
-
Re: How do You Code Php Tables lol and stop acting like a noob on msn CrazyT.
-
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.
-
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.
-
Re: User "sifter" cron I am well buying this :lol:
-
Re: Counting (nr game) 801
-
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.
-
validation mod Yes it is .png Also how would you enable the GD library?
-
validation mod Even with that uploaded it still does not work could it be anything else?
-
validation mod I just can't get the image too show :hmmm: does anyone have the image used?
-
[mccode] adding a crime panel in admin panel
Astra replied to seanybob's topic in Free Modifications
adding a crime panel in admin panel Thanks it works great now. -
[mccode] adding a crime panel in admin panel
Astra replied to seanybob's topic in Free Modifications
adding a crime panel in admin panel I think I did it right but I get this :hmmm: -
[mccode] adding a crime panel in admin panel
Astra replied to seanybob's topic in Free Modifications
adding a crime panel in admin panel same it is great -
[mccode] adding a crime panel in admin panel
Astra replied to seanybob's topic in Free Modifications
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 -
[Lite] Jail well thats what it says to do. :hmmm:
-
[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(); ?>
-
[Lite] Jail well it don't work for v1.1 :no:
-
Re: Dabs lol I got that as well
-
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?
-
[Lite] Bugget streets v1 Great mod on_fire :thumbs_up:
-
Admin Modifcations Or you could just remove the user from the MySQL database lol, but I might add it later
-
Side Bars I am still geting that same error