
gangsta life
Members-
Posts
41 -
Joined
-
Last visited
gangsta life's Achievements
Newbie (1/14)
0
Reputation
-
preety neat work ill bid 35$
-
Am looking for a successfull game to buy with users online , and the site to be earning my budget is around £5000 which is dollar is around $6000+
-
my sql table is called vp_accepted and these are my tables rows vpID int(11) vpBUYER vpFOR vpTYPE vpTIME vpTXN
-
and yeh how much total donation from V.I.P
-
it for version mccodes v2 and i want to log every donation say like a user donates $5 i want that automatically going into the logg for me so i can keep track of how much am earning easily and it shows when user donated who donated and how much total donation it basically for a vip section of mine my table is called vp_accepted so its a fixed price $25.00 to buy V.I.P so every time some buy v.i.p i want it in logs who bought ,when bought, what bought (ovious V.I.P ONLY) , how much (fix price $25.00) done
-
can anyone code me a little donation log or give me a link towards as ifound none here please..;)
-
ok i got a streets mod but everytime i press search i get this You found a total of 0 Crystals. You found a total of $0. You found a total of 0 Items. here is my file <?php include "globals.php"; ?> <style type="text/css"> p.together { line-height: .5em; text-align: left; } </style> <?php $pointsf=0; $moneyf=0; $itemsf=0; $ritemf=0; $sritemf=0; print "<h3>Scavenge</h3> <hr> "; $_GET['action'] = mysql_real_escape_string($_GET['action']); $search=$ir['turns']; if($_POST['turns']>$search) { print("You do not have that many turns left. <a href='streets.php'><i>Continue ...</i></a> "); return; } if ($_GET['action'] != 'search') { $search=$ir['turns']; print "You can search the streets 25 times a day. You have {$search} turns left for today. You can find Crystals, Money, Items or even Gain EXP. "; print " <form method=post action=streets.php?action=search><input type=hidden name=action value=search><input type='text' name='search' value='{$ir['turns']}'> <input type=submit value='Search'></form> "; } else { $search=abs((int) $_POST['turns']); for($i=0;$i<$search;$i++) if ($ir['turns'] < 1) { print("You have searched all you can for today. Come back at newday. <a href='explore.php'><i>back to city</i></a> "); return; } else { $g=$i+1; $chance = rand(1,10); ## $chance = random numbr between 1 and 15 -- diferrent posiblities for search $chancepoints= rand (1,25); ## Chance to find points : tweak this to change the rate that you find points $chancemoney = rand (1,10); $chanceitem = rand (1,35); $chanceritem = rand (1,70); $chancesritem = rand (1,100); $query1=sprintf("UPDATE users SET turns=turns-1 where userid=$userid"); $db->query($query1); print"<p class='together'><b> $g : </b>"; if ($chance == 1) { print "Nothing here."; } ## CHANCE FOR POINTS if ($chance == 2) { if ($chancepoints < 23) { print "Nothing here."; } if ($chancepoints == 23) { $gain = rand(1,15); print "You found <b>$gain</b> Crystals."; $query2=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query2); $pointsf=$pointsf+$gain; } if ($chancepoints == 24) { $gain = rand(1,10); print "You found <b>$gain</b> Crystals."; $query3=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query3); $pointsf=$pointsf+$gain; } if ($chancepoints == 25) { $gain = rand(1,5); print "You found <b>$gain</b> Crystals."; $query4=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query4); $pointsf=$pointsf+$gain; } } ## CHANCE FOR MONEY if ($chance == 3) { if ($chancemoney < 7) { print "Nothing here."; } if ($chancemoney == 7) { $gain = rand(50,100)*(floor($ir['level']/2)+1); print "You found <b> \$$gain</b>."; $query5=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query5); $moneyf=$moneyf+$gain; } if ($chancemoney == 8) { $gain = rand(75,150)*(floor($ir['level']/2)+1); print "You found <b> \$$gain</b>."; $query6=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query6); $moneyf=$moneyf+$gain; } if ($chancemoney == 9) { $gain = rand(50,100)*(floor($ir['level']*2)); print "You found <b> \$$gain</b>."; $query7=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query7); $moneyf=$moneyf+$gain; } if ($chancemoney == 10) { $gain = rand(150,300)*(floor($ir['level']/2)+1); print "You found <b> \$$gain</b>."; $query8=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query8); $moneyf=$moneyf+$gain; } } if ($chance == 4) { print "Nothing here. "; } ########################### ## CHANCE FOR COMMON ITEM # ########################### if ($chance == 5) { if ($chanceitem == 22) { ## RANDOM NUMBER FOR COMMON ITEM srand ((double) microtime() * 10000000); // $ri = array("9","52","53","54","8","30");**EXAMPLE** $ci = array("9","15","16"); ## Add You common Items ID to this array $cia = array_rand($ci,1); $common = $db->query("SELECT * FROM `items` WHERE `itmid`='".$ci[$cia]."' LIMIT 1"); $comi = mysql_fetch_array($common); $query9=sprintf("INSERT INTO inventory VALUES('',$ci[$cia],$userid,1)",$c); $db->query($query9); $itemsf = $itemsf +1; print " You found a/an {$comi['itmname']} !"; } else { echo "Nothing here."; } } if ($chance == 6) { print "Nothing here. "; } if ($chance == 7) { $gain = rand(50,100)*(floor($ir['level']*2)); print "You found <b> \$$gain</b>."; $query10=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query10); $moneyf=$moneyf+$gain; } if ($chance == 8) { $gain = rand(50,100)*(floor($ir['level']/2)+1); print "You found <b> \$$gain</b>."; $query11=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query11); $moneyf=$moneyf+$gain; } ########################## ## CHANCE FOR RARE ITEM ## ########################## if ($chance == 9) { if ($chanceritem == 25) { ## RANDOM NUMBER FOR RARE ITEM srand ((double) microtime() * 10000000); $ri = array("17","34","66"); ## Add Your Rare Items ID to this array $ria = array_rand($ri,1); $common = $db->query("SELECT * FROM `items` WHERE `itmid`='".$ri[$ria]."' LIMIT 1"); $ri = mysql_fetch_array($common); $query12=sprintf("INSERT INTO inventory VALUES('',$ri[$ria],$userid,1)",$c); $db->query($query12); $ritemf = $ritemf + 1; print " You found a/an {$ri['itmname']} !"; } else { echo "Nothing here."; } } ################################ ## CHANCE FOR SUPER RARE ITEM ## ################################ if ($chance == 10) { if ($chancesritem == 25) { ## RANDOM NUMBER FOR SUPER RARE ITEM srand ((double) microtime() * 10000000); $ri = array("73","70","75"); ## Replace numbers with your Super Rare Items ID to this array $ria = array_rand($ri,1); $common = $db->query("SELECT * FROM `items` WHERE `itmid`='".$ri[$ria]."' LIMIT 1"); $ri = mysql_fetch_array($common); $query13=sprintf("INSERT INTO inventory VALUES('',$ri[$ria],$userid,1)",$c); $db->query($query13); $sritemf = $sritemf + 1; print " You found a/an {$ri['itmname']} !"; } else { echo "Nothing here."; } } } $moneyf=number_format($moneyf); print " <hr></p> You found a total of <b> $pointsf </b>Crystals. You found a total of <b> \$$moneyf. </b> You found a total of <b> $itemsf </b> Items. "; if ($ritemf > 0){ print "<b> You found a total of<i> $ritemf </i>Rare Items.</b> "; } if ($sritemf > 0){ print "<b> You found a total of<i> $sritemf </i> Super Rare Items.</b> "; } print "<hr>"; if($ir['turns']==0) { print("You have searched all you can for today. Come back at newday. <a href='explore.php'><i>back to city</i></a> "); return; } else { print " <form method=post action=streets.php?action=search><input type=hidden name=action value=search><input type='text' name='search' value=' {$ir['turns'] }'> <input type=submit value='Search'></form>"; } } $h->endpage(); ?>
-
does any one have working ONE click attack system for MCV2 please post here or give me a working link i have spent more than 4 hours looking every were for a working version but cant seem to find one Most of the link are old and cant be accessed no more so can some one help me out PLEASE?
-
Oh soz LOL ill contact them yeh i have valid licence :)
-
3rd part your gang
-
2nd part your gang
-
continued below
-
staff houses files
-
i have 4 file from the Mcv2.0.3 staff houses and the Your gangs,staff_gangs, and also staff.php basically in all of them there is a query problem in your gangs file it dont show Organised crimes where this is some in Table and also it has query prblems accept users application in Staff house there is query problems also it says unkown colums when trying to edit houses and adding houses and in staff.php basic setting dont seems to work what i mean is like update the table i have tried everything i will post below 4 files...
-
just wanted some one to post me a useronline.php where is show users online in 15 mins, 30 mins, 24 hours i want it as text only like users online in 15 mins :1 || users online in 30 mins: 5 || usersonline in 24 hours: 100