
phoenix201012
Members-
Posts
20 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by phoenix201012
-
hey mate i will pay for this mod once its done if ya finish it
-
TO COMBAT THE REFERAL PROBLEM SIMPLY MAKE A REGISTER2.php use one of many on here or make your own. :) PM me if ya want a lil more help
-
HERE IS THE FILES :) http://www.mediafire.com/?y4d4ixb8bzh5e42 http://www.mediafire.com/?y4d4ixb8bzh5e42
-
works for me thanks
-
mccode-v2 Gang Shop [Gang Replacement by Floydian]
phoenix201012 replied to Analog's topic in Free Modifications
testing it now -
do you know where i can get a banner from
-
yeah but wot i dont get is i used the same code in something else and it worked fine without them
-
no its was a silly ; at the end of $gained=rand(100,5000); but thanks for the help
-
what the mod does? The Randomizer Possible outcomes are either gaining money [$3 million - $50 million], crystals [100 - 5000], Azure Gems [1 - 15], Will Potions [1 - 5] & Turns [100 - 1000]
-
First Posted Mod and this has Doubled my donator since i used it as a donators item. first open Inventory.php and find if($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { print " [[url='itemuse.php?ID={$i[']Use[/url]]"; } Add Below if($i['itmname'] == 'Randomizer') { print " [[url='itemuse.php?ID={$i[']Use[/url]]"; } Open Itemuse.php find if(!$r['effect1_on'] && !$r['effect2_on'] && !$r['effect3_on']) { die("Sorry, this item cannot be used as it has no effect."); } replace with if($r['itmname'] == 'Randomizer') { $chance = rand(1,6); if ($chance == 1) { $gained=rand(3000000,50000000); print "You Got From The Randomizer [b]\$$gained[/b]. "; $db->query("UPDATE users SET money=money+$gained WHERE userid=$userid"); } if ($chance == 2) { $gained=rand(100,5000); print "You Got From The Randomizer [b]$gained Crystals[/b]. "; $db->query("UPDATE users SET crystals=crystals+$gained WHERE userid=$userid"); } if ($chance == 3) { $gained=rand(1,15); print "You Got From The Randomizer [b]$gained Azure Gem(s)[/b]. "; $db->query("UPDATE users SET AzureGems=AzureGems+$gained WHERE userid=$userid"); } if ($chance == 4) { $gained=rand(1,5); print "You Got From The Randomizer [b]$gained Will Potion(s)[/b]. "; $db->query("INSERT INTO inventory VALUES('',2,$userid,$gained)"); } if ($chance == 5) { $gained=rand(100,1000); print "You Got From The Randomizer [b]$gained Turns[/b]. "; $db->query("UPDATE users SET turns=turns+$gained WHERE userid=$userid"); } if ($chance == 6) { $gained=rand(1,10); print "You Got From The Randomizer [b]$gained Level Up(s)[/b]. "; $db->query("INSERT INTO inventory VALUES('',147,$userid,$gained)"); } } else { if(!$r['effect1_on'] && !$r['effect2_on'] && !$r['effect3_on']) { die("Sorry, this item cannot be used as it has no effect."); } } You can change the code to suit you. Enjoy.
-
[Mccodes V2] Item Sell Update [Javascript!]
phoenix201012 replied to Dave's topic in Free Modifications
i cant get it to work could you post the full code please ino its cheeky lol -
[Mccodes V2] Item Sell Update [Javascript!]
phoenix201012 replied to Dave's topic in Free Modifications
Is there a way you can use something like this in item send to display who you are sending to before you send. ino loads of peolpe send items to wrong person by id. -
more options in hall of fame
phoenix201012 replied to thedestroyer's topic in Requests & In Production
Does Anyone here Know how to add Referals to hall of fame. i tryed but its too big of a challege for me. -
nope i got it working installed find but i assigned it to a page and nothing what it the mod ment to do??
-
This Mod Dont Work For Me I tested it out but nothing happend i installed it correctly if anyone ha got this working please can you tell me how it works.
-
please some one get this working im noob and this code is to complex but there is so much confusen when reading this but. can some awsome user post a full working and tested one on here (hint Downloadable zip file if many files) thank you very much
-
I looked but cant find a way to make it so when score is less than 0 it takes them off cus all that i happening is peolpe get -28 score.
-
my cron is not working Fatal error: Call to undefined method database::fetch_array() in /home/fracktor/public_html/cron_day.php on line 99
-
This is what i have mate. <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "/class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE users SET hospital=hospital-1 WHERE hospital>0"); $db->query("UPDATE `users` SET jail=jail-1 WHERE `jail` > 0"); $hc=$db->num_rows($db->query("SELECT * FROM users WHERE hospital > 0")); $jc=$db->num_rows($db->query("SELECT * FROM users WHERE jail > 0")); $db->query("UPDATE settings SET conf_value='$hc' WHERE conf_name='hospital_count'"); $db->query("UPDATE settings SET conf_value='$jc' WHERE conf_name='jail_count'"); $db->query("update auctions set time=time-1",$c); $qqq=$db->query("select * from auctions where time=0",$c); while($win=$db->fetch_row($qqq)) { $time=$win['time']; $item=$win['itemname']; $winner=$win['bidder']; $owner=$win['owner']; $iname=mysql_result($db->query("SELECT itmname FROM items WHERE itmid={$item}", $c), 0, 0); if($win['bids']>0) { $db->query("insert into inventory VALUES('',$item,$winner,1,0)",$c) or die($db->error()); $db->query("update users set money=money+{$win['current']},auctionquota=auctionquota-1 where userid=$owner", $c); } if($win['bids']==0) { $winner=$win['owner']; $db->query("insert into inventory VALUES('',$item,$winner,1)",$c) or die($db->error()); } } $db->query("delete from auctions where time < 0", $c); event_add($win['owner'],"Your auction has ended with no bidders. Your {$iname} has been returned to your inventory.",$c); event_add($winner,"You won the auction of the {$iname} for \${$win['current']}",$c); event_add($owner, "Your {$iname} sold succesfully on the auction market with {$win['bids']} bids. You have been paid \${$win['current']}", $c); ?>
-
WOW thanks BRILLIENT