Jump to content
MakeWebGames

Absolute Zero

Members
  • Posts

    303
  • Joined

  • Last visited

    Never

Everything posted by Absolute Zero

  1. Recently I have become interested in making my own voting site such as TOPRPG or TWG. I heard of people using aardvarktopsitesphp and stuff like that, but, I was wondering if it was any good? How customizable? Also would it be worth coding from scratch? Is it even worth it? How long would this sort of project take? If this is the wrong section for this please move it, if not, please help! Thank you for all your input, Absolute Zero.
  2. Re: Page Tutorials [$5]   Your retarded, or stupid, or something. First, the image is NOT the same, just because its a light bulb doesn't mean that it is the same light bulb. Second I added the same features, so? Half the mods for sale here are probably already found on torncity if not more, so why don't you go into every other thread and say that?
  3. Re: [Free] Jail Bail [V1] Converted, not sure if it works for V2, someone can tell me, here it is: Bail.php <?php /*/////////////////////////////////////////////////////////////////| -------------------------------------------------------------------- || _ _ _ _ _____ || || /_\ | |__ ___ ___ | |_ _| |_ ___ / _ / ___ _ __ ___ || || //_\\| '_ \/ __|/ _ \| | | | | __/ _ \ \// / / _ \ '__/ _ \ || || / _ \ |_) \__ \ (_) | | |_| | || __/ / //\ __/ | | (_) | || || \_/ \_/_.__/|___/\___/|_|\__,_|\__\___| /____/\___|_| \___/ || -------------------------------------------------------------------- ///////////////////////////////////////////////////////////////////| -------------------------------------------------------------------- | Copyright © 2007-2008 Zero-Networks.com, Absolute Zero. | | Created by Absolute Zero, not to be redistributed. | -------------------------------------------------------------------*/ include "globals.php"; echo " <center> <font size='4'>Jail</font><hr width='75%'>"; $id = abs((int) $_GET['id']); $z=$db->query("SELECT * FROM users WHERE userid = $id") or die(mysql_error()); if(!mysql_num_rows($z)) { echo " Jail Buy System Error: Either you didn't select an id or the system failed to pass the information along. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } $user = mysql_fetch_array($z); if($ir['userid'] == $id) { echo " Error: You can't buy yourself out. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } if(!$user['jail']) { echo " Error: The player you selected is not in jail. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } if($ir['userid'] != $id AND $ir['jail']) { echo " Error: You can't buy someone out of jail while you are in jail <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } switch($_GET['action']) { case 'buy': buy(); break; case 'buysub': buy_sub(); break; default: buyout_index(); break; } function buyout_index() { global $ir,$db,$userid; $id = abs((int) $_GET['id']); $z=$db->query("SELECT * FROM users WHERE userid = $id") or die(mysql_error()); $user = mysql_fetch_array($z); $price=($user['jail']*2*1000); echo " Are you sure you want to buy {$user['username']} out of jail? It will cost you \$".money_formatter($price, "")." to do so. <table border='0' width='75%'><tr><td width='50%'><center>»[url='bail.php?id=$id&action=buy']Yes[/url]</center></td> <td width='50%'><center>»[url='jail.php']No[/url]</center></td></tr></table> <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; } function buy() { global $ir,$db,$userid; $id = abs((int) $_GET['id']); $z=$db->query("SELECT * FROM users WHERE userid = $id") or die(mysql_error()); $user = mysql_fetch_array($z); $price=($user['jail']*2*1000); if ($ir['money'] < $price) { echo " Error: You do not have the funds to bail this person out of jail! <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; exit; } $db->query("UPDATE users SET money = money - $price WHERE userid = $userid") or die(mysql_error()); $db->query("UPDATE users SET jail = 0 WHERE userid = $id") or die(mysql_error()); event_add($id,"[url='profile.php?u=$userid']{$ir['username']}[/url] bought you out of jail for \$".money_formatter($price, "")."!",$c); echo " You bought {$user['username']} out of jail for \$".money_formatter($price, "").". <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; } $h->endpage(); ?>   Finally make a link to this page in jail.php   [url='bail.php?id=']Bust[/url]   -Absolute Zero, www.zero-networks.com
  4. This lets you bail someone in jail for money, you can change the equation if needed. Right now the price would be (Time in Jail) * 2 * 1000. e.g 20 minutes = $40,000. Bail.php <?php /*/////////////////////////////////////////////////////////////////| -------------------------------------------------------------------- || _ _ _ _ _____ || || /_\ | |__ ___ ___ | |_ _| |_ ___ / _ / ___ _ __ ___ || || //_\\| '_ \/ __|/ _ \| | | | | __/ _ \ \// / / _ \ '__/ _ \ || || / _ \ |_) \__ \ (_) | | |_| | || __/ / //\ __/ | | (_) | || || \_/ \_/_.__/|___/\___/|_|\__,_|\__\___| /____/\___|_| \___/ || -------------------------------------------------------------------- ///////////////////////////////////////////////////////////////////| -------------------------------------------------------------------- | Copyright © 2007-2008 Zero-Networks.com, Absolute Zero. | | Created by Absolute Zero, not to be redistributed. | -------------------------------------------------------------------*/ 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(); echo " <center> <font size='4'>Jail</font><hr width='75%'>"; $id = abs((int) $_GET['id']); $z=mysql_query("SELECT * FROM users WHERE userid = $id",$c) or die(mysql_error()); if(!mysql_num_rows($z)) { echo " Jail Buy System Error: Either you didn't select an id or the system failed to pass the information along. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } $user = mysql_fetch_array($z); if($ir['userid'] == $id) { echo " Error: You can't buy yourself out. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } if(!$user['jail']) { echo " Error: The player you selected is not in jail. <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } if($ir['userid'] != $id AND $ir['jail']) { echo " Error: You can't buy someone out of jail while you are in jail <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; $h->endpage(); die(""); } switch($_GET['action']) { case 'buy': buy(); break; case 'buysub': buy_sub(); break; default: buyout_index(); break; } function buyout_index() { global $ir,$c,$userid; $id = abs((int) $_GET['id']); $z=mysql_query("SELECT * FROM users WHERE userid = $id",$c) or die(mysql_error()); $user = mysql_fetch_array($z); $price=($user['jail']*2*1000); echo " Are you sure you want to buy {$user['username']} out of jail? It will cost you \$".money_formatter($price, "")." to do so. <table border='0' width='75%'><tr><td width='50%'><center>»[url='bail.php?id=$id&action=buy']Yes[/url]</center></td> <td width='50%'><center>»[url='jail.php']No[/url]</center></td></tr></table> <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; } function buy() { global $ir,$c,$userid; $id = abs((int) $_GET['id']); $z=mysql_query("SELECT * FROM users WHERE userid = $id",$c) or die(mysql_error()); $user = mysql_fetch_array($z); $price=($user['jail']*2*1000); if ($ir['money'] < $price) { echo " Error: You do not have the funds to bail this person out of jail! <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; exit; } mysql_query("UPDATE users SET money = money - $price WHERE userid = $userid",$c) or die(mysql_error()); mysql_query("UPDATE users SET jail = 0 WHERE userid = $id",$c) or die(mysql_error()); event_add($id,"[url='profile.php?u=$userid']{$ir['username']}[/url] bought you out of jail for \$".money_formatter($price, "")."!",$c); echo " You bought {$user['username']} out of jail for \$".money_formatter($price, "").". <hr width='75%' />»[url='jail.php']Back[/url]<hr width='75%' />"; } $h->endpage(); ?>   Finally make a link to this page in jail.php   [url='bail.php?id={$r[']Bust[/url]   Should work without any problems, I'm not liable for you screwing this up. Feel free to convert it to V2, I can probably do it, but not right now. Thanks, Enjoy. -Absolute Zero, www.zero-networks.com
  5. Re: [v1] Jail Bust with EXP This was nearly a month ago, but I just stumbled upon it! Great job, just one fix regarding your link you your code.   [url="bust.php?u={userid}"]Bust[/url]   $id = abs((int) $_GET['id']); //Get players Id   See either your link has to be   [url="bust.php?id={userid}"]Bust[/url]   or you can change the GET to:   $id = abs((int) $_GET['u']); //Get players Id   Minor fix, but great mod. I'm using this, thank you! EDIT: Also remember to change {userid} to the variable your jail system uses (usually {$r['userid']})
  6. Re: Understanding An Error Message!   What should the permissions be? The folder's perms are currently 755 and I have plenty disk space :oops:
  7. As I was fixing my login page, I tried to login and got this error (never happened before): Warning: session_start() [function.session-start]: open(/tmp/sess_1061e1f5673530e91645d55b313354a2, O_RDWR) failed: Permission denied (13) in /home/battlefi/public_html/authenticate.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/battlefi/public_html/authenticate.php:3) in /home/battlefi/public_html After a couple of minutes, I deleted my cache, cookies, etc and it went away. I talk to one of my members and he said this has happened to him since day 1! Anyway I could fix this, or what the problem is? Thank you, sincerely, Absolute Zero
  8. Re: Free 2 - Icons Haha, this is weird. I made the exact same thing yesterday for my game, and I think we got the icons from the same site, seeing I have several of the ones there. Anyway, nice job :)
  9. Re: Casino [$15] BUMP. Still have copies to sell, just PM me! Thanks
  10. Re: Ranger Den [$25] BUMP, Almost all sold out, get it while you can!
  11. Re: Page Tutorials [FREE]   Who the .... asked you to pay $10? No ones forcing you to buy it, so don't complain. Wow, very impolite. I could have released several free mods that people already made mods to sell, but I haven't. And as you had seen, I changed the price to $5. Disrespectful, plain and simple. I have lost all or most respect for you.
  12. Re: Page Tutorials [$10]   Thanks, but I changed the price to $5.00, so no one gets angry or anything :-)
  13. Title: Casino Price: $15.00 Availability: 11 Codes Left! Includes: - 2 PHP files (casino.php & roulette.php) - 37 Images (roulette images) - Instructions (instructions.txt) Description: -Adds a new area called "Casino". -In the casino gambling area it shows how many gambling tokens you have, your streak and what games are available to you. -You get 75 casino tokens a day and your streak is reset. -You can bet on the roulette table and watch it spin. -Everytime you spin your winstreak goes up/down and you lose a token. -Once you lose all 75 casino tokens, you cannot play again. -If a player reaches over $200,000 in streak money, they cannot access the roulette for that day. -Soon more gambling games can be purchased from Absolute Zero! Screenshots: Information (Side note): This mod was coded by me, and was made for V1 and It can be converted to V2. I can install this mod for a small fee if your having difficulties. If there are any problems with the script please contact me and I will be glad to fix them! You are not allowed to resell, thank you! If you have any questions/want to purchase please contact me at: Email & MSN: [email protected]
  14. Re: Page Tutorials [$10]   Depends if you want a tutorial on a page, you can add/remove them at your own free will.   Ok not to be rude or anything here either but dont you think it will take to long to put it on every page? sheesh i could most prob code some thing in 10 minutes and less coding. Anyway you do it, you still have to write some code on every page that you want a tutorial on.
  15. Re: Page Tutorials [$10]   No offense taken, but 2 minutes is an understatement. Price is all opinion based to be honest, if someone doesn't like my prices, they wont pay me :-)
  16. Re: Page Tutorials [$10]   Depends if you want a tutorial on a page, you can add/remove them at your own free will.
  17. Title: Page Tutorials Price: $5.00 Availability: 8 Codes Left! Includes: - 1 PHP file (preferences.php) - 1 Image (tutorialicon.png) - Instructions (instructions.txt) Description: -Tired of users always sending you mail and asking questions? This is perfect for you! -You can have page tutorials on every page! -You can toggle tutorials on and off. -Very easy for you to install tutorials on every page you want. -Visit the demo site located at the bottom for a full preview. -But enough for text, pictures say a thousand words NOTE: Screenshots only show preferences, when this can be added to all pages! Screenshots: Information (Side note): Demo: http://www.zero-networks.com/demo/login.php Username: demo Password: demo This mod was coded by me, and was made for V1 and I have a converted version of the PHP files in V2. I can install this mod for a small fee if your having difficulties. If there are any problems with the script please contact me and I will be glad to fix them! You are not allowed to resell, thank you! If you have any questions/want to purchase please contact me at: Email & MSN: [email protected]
  18. Re: [mccodes] Free Crystal Bank [v1] Wow I can't believe people are still using this :P My old no0obie coding!
  19. Re: Counting (nr game) 1839
  20. Re: Guess the next poster nope, killah
  21. Re: Ranger Den [$25]   Thank you, codes are still available, get them when you can!
  22. Re: Spamming One Problem....This is modification requests not complain forum!
  23. Re: Ranger Den [$25]   He's on my MSN, I talked to him, he already knows and understands.
  24. Re: New Amazing Register Page Try making the images thumbnails so that they pop up in a new window, really hard to see.
  25. Title: Ranger Den Price: $25.00 Availability: 1 Codes Left! Includes: - 2 PHP Files (rangerden.php & rangerexchange.php) - Instructions (instructions.txt) Description: -Adds a new area called "Ranger Den". -You can hunt for animals using your bow & arrows. -Your arrows run out, and you must refill them when necessary. -You have dexterity (new statistic) in which you use to hunt. -You can exchange what you receive from defeated animals for money. -You can fight: birds, lambs, sheep, goats, tigers and elephants! -But enough for text, pictures say a thousand words! Screenshots: Information (Side note): This mod was coded by me, and was made for V1 and I have a converted version of the PHP files in V2. I can install this mod for a small fee if your having difficulties. If there are any problems with the script please contact me and I will be glad to fix them! You are not allowed to resell, thank you! If you have any questions/want to purchase please contact me at: Email & MSN: [email protected]
×
×
  • Create New...