Z?v??
Members-
Posts
248 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Z?v??
-
Re: [TGM] Crystal Gym [TGM] Lmfao. I've bought several mods from Cronus and I haven't been disappointed once. He doesn't scam.
-
Re: Forums problem mccodes2 If i'm correct, there were 2 verions of MC Codes v2.0. You must have the version that didn't come with the staff panel to mess with your forums.
-
Jail time does not go down - mccodes 2
Z?v?? replied to Jamie Taylor - Director of's topic in General Discussion
Re: Jail time does not go down - mccodes 2 Well...either your cron isnt set up correctly in your cron tab or something is messed up in your cron_minute.php. -
Re: [mccode] Date Mod Whatever you say Sargent GF. :lol: :lol:
-
Re: [mccode] Date Mod Lol. You're funny. I don't care one little bit if you diss my game lol. And your mods arent even worth passing around. :lol: And as far as DJ Pro Styles goes...i've never talked to him in my life.
-
Re: [mccode] Date Mod Ouch! You hurt me now oxidati0n. :lol: And I never said I was a professional. And by the way your marriage mod works, or shall I say don't work, then I would assume you are no professional either. And I didn't modify anything on so called marriage mod. I'm not going to lie...if would have worked then it would be a pretty good mod. But it doesn't. So it's a piece of shit. Not to mention I like UCC and I think he could code anything alot better than you. I've had him make a few custom mods for me and I couldn't be happier with them.
-
Re: [mccode] Date Mod I would recommend buying UCC's marriage mod if you buy one because oxidati0ns don't even work.
-
Re: USER ID ???? Well....thats not 100% true. You could always edit each user in the users table but that would take ages. :lol: Not to mention you would have to do it all in the userstats table as well.
-
Re: Stopping IP Transfers You didn't even fully convert it. This is how it's properly converted. $m=db->query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1"); $rm=$db->fetch_row($m); if($rm['ip'] == $ir['ip']) { Die("No sending to people on the same IP."); } And this doesn't work in v2 because I tried it before he even posted this on here.
-
Yes, this is a small edit in oxidati0ns marriage mod. He claims it works but it obviously doesnt for me. Its an edit in the viewuser.php that shows who the users are married to. It doesnt error or anything but it doesnt say who the users are married to. if($r['married'] == 1) { $marryq=mysql_query("SELECT * FROM `marriages` WHERE (`marriage_from` = '$r[userid]') OR (`marriage_to` = '$r[userid]')",$c); $mr=mysql_fetch_array($marryq); if($mr['marriage_from'] == $userid) { $from=2; $themid=$mr['marriage_to']; } else { $from=1; $themid=$mr['marriage_from']; } if($from == 1) { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_to]'",$c); } else { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_from]'",$c); } $marr=mysql_fetch_array($uq); $married="[url='viewuser.php?u=$themid']".$marr['username']."[/url]"; $marriagetxt=" ([url='marriageinfo.php?ID=$themid']Info[/url])"; } else { $married="N/A"; $marriagetxt=""; } print "Married: $married$marriagetxt Married: ".number_format($r['married_times'])." times
-
Re: Login Logs Fully Work [FREE] So the owner knows who logged in that day in case a bug gets exploited?
-
Re: Login Logs Fully Work [FREE] Do you want to supply us with file based login logs?
-
Re: Giving Item To All Users [FREE] I don't know if it will make a difference or not but you may want to take the ,$c off the ends of your $db->query's.
-
Re: Menu on Left and Right Side I got it all figured out.
-
I'm using MC Codes v2.0 and i'm looking for a "How To" to add a mainmenu on the right side of the screen so there will be the regular mainmenu.php on the left side of the screen and a mainmenu2.php on the right side of the screen.
-
Re: [TGM] User Comments [TGM] I agree. A log for this would be pretty handy and may persuade buyers a bit more.
-
Re: [TGM] User Comments [TGM] I got it from him in v1 but it was super easy to change to v2. Piece of cake for someone like you UCC.
-
Re: Ruby Trader Mod FREE!!! V2 Try this for v1... <?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(); if(!$_GET['spend']) { print "Welcome to the Ruby Trader You have [b]{$ir['ruby']}[/b] Ruby's. What would you like to spend your Ruby's on? Every day your ruby's will go up by one <table cellpadding=8 width=75% border=1><th width=25% background=tablehgrad.png>Improvement</th><th width=25% background=tablehgrad.png>Amount</th><th width=25% background=tablehgrad.png>Cost</th><th width=25% background=tablehgrad.png>Trade</th> <tr><td>Strength</td><td>3 Strength</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=strength']Trade[/url]</td></tr> <tr><td>IQ</td><td>1 IQ</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=IQ']Trade[/url]</td></tr> <tr><td>Money</td><td>$200</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=money']Trade[/url]</td></tr> <tr><td>Labour</td><td>3 Labour</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=labour']Trade[/url]</td></tr> <tr><td>Agilty</td><td>3 Agilty</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=agilty']Trade[/url]</td></tr> <tr><td>Crystals</td><td>2 crystals</td><td>1 Ruby</td><td>[url='ruby_trader.php?spend=crystal']Trade[/url]</td></tr> <tr><td>$3 Donator Pack</td><td> 1 Donator Pack</td><td>100 Ruby's</td><td>[url='ruby_trader.php?spend=dp']Trade[/url]</td></tr><tr><td>Will Potion</td><td>1 Will Potion</td><td>50 Ruby's</td><td>[url='ruby_trader.php?spend=will']Trade[/url]</td></tr></table>"; } else { if($_GET['spend'] == 'dp') { if($ir['ruby'] < 100 ) { print "You don't have enough Rubys's"; } else { mysql_query("UPDATE users SET donatordays=donatordays+30,money=money+5000,crystals=crystals+50,ruby=ruby-100 WHERE userid=$userid", $c); mysql_query("UPDATE userstats SET IQ=IQ+50 WHERE userid=$userid", $c); print "You have paid 100 Ruby's to Get your $3 Donator Pack :)."; } } else if($_GET['spend'] == 'IQ') { print "Type in the amount of Ruby's you want to swap for IQ. You have [b]{$ir['ruby']}[/b] Ruby's. One Ruby = 1 IQ.<form action='ruby_trader.php?spend=IQ2' method='post'><input type='text' name='ruby' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'IQ2') { $_POST['ruby']=(int) $_POST['ruby']; if($_POST['ruby'] <= 0 || $_POST['ruby'] > $ir['ruby']) { print "Error, you either do not have enough ruby's or did not fill out the form. [url='ruby_trader.php?spend=IQ']Back[/url]"; } else { $iqgain=$_POST['ruby']*1; mysql_query("UPDATE users SET ruby=ruby-{$_POST['ruby']} WHERE userid=$userid", $c); mysql_query("UPDATE userstats SET IQ=IQ+$iqgain WHERE userid=$userid", $c); print "You traded {$_POST['ruby']} Ruby's for $iqgain IQ."; } } else if($_GET['spend'] == 'money') { print "Type in the amount of Ruby's you want to swap for money. You have [b]{$ir['ruby']}[/b] Ruby's. One Ruby = \$".number_format(200).".<form action='ruby_trader.php?spend=money2' method='post'><input type='text' name='ruby' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'money2') { $_POST['ruby']=(int) $_POST['ruby']; if($_POST['ruby'] <= 0 || $_POST['ruby'] > $ir['ruby']) { print "Error, you either do not have enough Ruby's or did not fill out the form. [url='ruby_trader.php?spend=money']Back[/url]"; } else { $iqgain=$_POST['ruby']*200; mysql_query("UPDATE users SET ruby=ruby-{$_POST['ruby']},money=money+$iqgain WHERE userid=$userid", $c); print "You traded {$_POST['ruby']} Ruby's for \$".number_format($iqgain)."."; } } else if($_GET['spend'] == 'strength') { print "Type in the amount of Ruby's you want to swap for Strength. You have [b]{$ir['ruby']}[/b] Ruby's. One Ruby = 3 Strength<form action='ruby_trader.php?spend=strength2' method='post'><input type='text' name='ruby' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'strength2') { $_POST['ruby']=(int) $_POST['ruby']; if($_POST['ruby'] <= 0 || $_POST['ruby'] > $ir['ruby']) { print "Error, you either do not have enough Ruby's or did not fill out the form. [url='ruby_trader.php?spend=strength']Back[/url]"; } else { $iqgain=$_POST['ruby']*3; mysql_query("UPDATE users SET ruby=ruby-{$_POST['ruby']} WHERE userid=$userid", $c); mysql_query("UPDATE userstats SET strength=strength+$iqgain WHERE userid=$userid", $c); print "You traded {$_POST['ruby']} Ruby's for $iqgain strength."; } } else if($_GET['spend'] == 'labour') { print "Type in the amount of Ruby's you want to swap for Labour. You have [b]{$ir['ruby']}[/b] Ruby's. One Ruby = 3 Labour<form action='ruby_trader.php?spend=labour2' method='post'><input type='text' name='ruby' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'labour2') { $_POST['ruby']=(int) $_POST['ruby']; if($_POST['ruby'] <= 0 || $_POST['ruby'] > $ir['ruby']) { print "Error, you either do not have enough Ruby's or did not fill out the form. [url='ruby_trader.php?spend=labour']Back[/url]"; } else { $iqgain=$_POST['ruby']*3; mysql_query("UPDATE users SET ruby=ruby-{$_POST['ruby']} WHERE userid=$userid", $c); mysql_query("UPDATE userstats SET labour=labour+$iqgain WHERE userid=$userid", $c); print "You traded {$_POST['ruby']} Ruby's for $iqgain labour."; } } else if($_GET['spend'] == 'crystal') { print "Type in the amount of Ruby's you want to swap for Labour. You have [b]{$ir['ruby']}[/b] Ruby's. One Ruby = 2 Crystals<form action='ruby_trader.php?spend=crystal2' method='post'><input type='text' name='ruby' /> <input type='submit' value='Swap' /></form>"; } else if($_GET['spend'] == 'crystal2') { $_POST['ruby']=(int) $_POST['ruby']; if($_POST['ruby'] <= 0 || $_POST['ruby'] > $ir['ruby']) { print "Error, you either do not have enough Ruby's or did not fill out the form. [url='ruby_trader.php?spend=crystal']Back[/url]"; } else { $iqgain=$_POST['ruby']*2; mysql_query("UPDATE users SET ruby=ruby-{$_POST['ruby']},crystals=crystals+$iqgain WHERE userid=$userid", $c); print "You traded {$_POST['ruby']} Ruby's for $iqgain Crystals."; } } else if($_GET['spend'] == 'will') { if($ir['ruby'] < 50 ) { print "You don't have enough Rubys's"; } else { mysql_query("UPDATE users SET ruby=ruby-50 WHERE userid=$userid", $c); mysql_query("INSERT INTO inventory VALUES('',150,$userid,1)",$c); print "You have paid 50 Ruby's to Get your Will Potion :)."; } } } $h->endpage(); ?>
-
[mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2]
Z?v?? replied to stryker's topic in Free Modifications
Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Try this for v1... <?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(); print "<h3>Crystal Reserve</h3>"; if($ir['cbank']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>4999999) { print "Congratulations, you bought a crystal reserve account for \$5,000,000! [url='cbank.php']Start using my account[/url]"; mysql_query("UPDATE users SET money=money-5000000,cbank=0 WHERE userid=$userid", $c); } else { print "You do not have enough money to open an account. [url='explore.php']Back to town...[/url]"; } } else { print "Open a crystal reserve account today, just \$5,000,000! [url='cbank.php?buy']> Yes, sign me up![/url]"; } } function index() { global $ir,$c,$userid,$h; print "\n[b]You currently have {$ir['cbank']} in the crystal reserve.[/b] At the end of each day, your crystal reserve balance will go up by 2%. <table width='75%' cellspacing=1 class='table'> <tr> <td width='50%'>[b]Deposit Crystals[/b] It will cost you 15% of the crystals you deposit, rounded up. The maximum fee is \$3,000.<form action='cbank.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['crystals']}' /> <input type='submit' value='Deposit' /></form></td> <td> [b]Withdraw Crystals[/b] There is no fee on withdrawals.<form action='cbank.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['cbank']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $ir,$c,$userid,$h; $_POST['deposit']=abs((int) $_POST['deposit']); if($_POST['deposit'] > $ir['crystals']) { print "You do not have enough crystals to deposit this amount."; } else { $fee=ceil($_POST['deposit']*15/100); if($fee > 3000) { $fee=3000; } $gain=$_POST['deposit']-$fee; $ir['cbank']+=$gain; mysql_query("UPDATE users SET cbank=cbank+$gain, crystals=crystals-{$_POST['deposit']} where userid=$userid", $c); print "You hand over {$_POST['deposit']} to be deposited, after the fee is taken ($fee), $gain crystals is added to your crystal reserve account. [b]You now have {$ir['cbank']} in the crystal reserve.[/b] [url='cbank.php']> Back[/url]"; } } function withdraw() { global $ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['cbank']) { print "You do not have enough reserved crystals to withdraw this amount."; } else { $gain=$_POST['withdraw']; $ir['cbank']-=$gain; mysql_query("UPDATE users SET cbank=cbank-$gain, crystals=crystals+$gain where userid=$userid", $c); print "You ask to withdraw $gain, the crystal reserve automated teller spits out your crystals into a little satchel. A robotic arm then picks up the satchel and drops it into your hand. You there hear a robotic voice chime - Have a nice day {$ir['username']} - [b]You now have {$ir['cbank']} crystals in the crystal reserve.[/b] [url='cbank.php']> Back[/url]"; } } $h->endpage(); ?> -
Re: [free] Staff Delete Gang Option [V2] Works great. +1
-
Re: [TGM] Custom Hospital Message [TGM] Maybe a simple threat of being Fed Jailed for life would do the trick?
-
Re: Best Freebies I like GoldenZero's as well.
-
Re: SPECIAL ATTACK legit
-
Re: [TGM] Delete Gang - Admin Function [TGM] Ahh, ok. Sorry. :-D
-
Re: [TGM] Delete Gang - Admin Function [TGM] Weren't you just giving this out for free?