Jump to content
MakeWebGames

Absolute Zero

Members
  • Posts

    303
  • Joined

  • Last visited

    Never

Everything posted by Absolute Zero

  1. Re: Medical - Reduce Hospital Time Tried both: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',1)' at line 1 Any ideas?
  2. Hi, I don't post for much help but I couldn't figure out how to do this! With V1 it already comes with: Create New Item, Give Item To User, Edit Item, Delete An Item. When clicking "Create New Item" you can look through a list which has such things as: "Armor, Gun and Medical". When selecting medical you have the option to only "gain health" I would like to know how to minus hospital time with this. Any help is appreciated, and I thank all of you who try. -Absolute Zero
  3. Re: [Free] [v1] Jail Thanks Isomerizer, very useful and helpful mod! I'm just going to change everything that says prison to jail :P
  4. Re: Attack exp Need help with this...people gain thousands of EXP with 1 attack. Anyone know how to make max exp gain 100%?
  5. Re: [v1] [Free] Scuba Diving Just for saying "My name is Scuba Steve" +1! lol
  6. Re: Add Jail Time to Crimes! Thread can be closed. I took it upon myself to fix it unlike some people that always ask for help :P
  7. Could someone show me how to add jail time in the "docrime.php" file? Heres what I got so far...Trying to learn php. Help would be much appreciated.   <?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']; } print " [url='docrime.php?c={$_GET[']Try Again[/url] [url='criminal.php']Crimes[/url]"; } } $h->endpage(); ?>
  8. Re: Changing the layout Login Page + Register + Lost Password + Anything outside your game.... Has to be made separately and you cannot change it from header.
  9. Re: [Free] [v1] User Verification [Captcha] Fatal error: Call to undefined function: imagecreate() in /****/********/******/validate.php on line 35
  10. Re: [mccode] Improved Estate Agents for v2.0  
  11. Re: [mccode] Improved Estate Agents for v2.0 Just to add one thing....Theres no sell your house link.
  12. Re: >>??Add to Database??<<   How so?
  13. "In the crimes table in your database, add crimeITEM int(11) default 0" How would I do this? I appreciate the help, I'm trying to learn and usually don't use DB.
  14. Re: Free New City Mod For v1 and lite Works great....(+1)
  15. Re: [mccode] adding a crime panel in admin panel Sorry for all the posts but I believe I found the crime item mod which is needed to continue this mod: http://criminalexistence.com/ceforums/i ... pic=9692.0
  16. Re: HOW CAN I MAKE IT SO EVERYTIME SOMEONE REGISTERS TO MY GAME THERE........... -Crazy- Caps lock is like YOU ARE SCREAMING ON THE INTERNET ALL THE TIME....MAKES YOU SOUND ANGRY AND ANNOYING :P
  17. Re: BACKGROUND COLOR   Your my idle 8-)
  18. Re: Attack exp   If you put it before it doesn't know what your exp gain is going to be...b/c the line after it is going to dictate the random variable. If you put it after it gives you 0% exp... Any ideas?
  19. Re: [mccode] adding a crime panel in admin panel Can anyone atleast get the item crime mod that is needed to run this? I would be very grateful.
  20. Re: [All] Remove Items from Shops Actually everything that is owner.php change that to admin.php and it should work.
  21. Re: [All] Remove Items from Shops The requested URL /owner.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. any ideas?
  22. Re: Help on changing BG, font, and colors globally! actually I just changed the "header.php" file to include everything I wanted. Thanks for help.
  23. Is it possible to do this? Code in one file to make all of your website have the same background and font style?
  24. Re: [mccode] adding a crime panel in admin panel Can someone re-do this all? I would be so happy :P
  25. Re: v1.1 bug - Password change! Thanks Noelle...problems fixed...time to start reading.
×
×
  • Create New...