Jump to content
MakeWebGames

MNG

Members
  • Posts

    629
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by MNG

  1. Arson credit mode,I have full rights of it since I bought it from the user "skooda" when I bought Wise Crime.
  2. Donation sytems,house robbery cant name them off the top. I just need someone who know what they are doing.
  3. I need a few mccodes V2 Mods and files converted to GRPG. I will pay for this I just need to know the prices for this. Please send me a private message if you can do this, Looking to pay 5$ per mod to be converted over.
  4. MNG

    Crons

    Fixed, I just recreated the cron and checked everything manually.
  5. Not much to check out all links aren't done. But the view of it looks pretty good I would suggest putting a background image on your menu links.
  6. MNG

    Crons

    <? include 'dbcon.php'; include 'classes.php'; $resultgrow = mysql_query("SELECT * FROM `growing`"); while($line = mysql_fetch_array($resultgrow, MYSQL_ASSOC)) { $lost = floor(rand(0, $line['amount'] * 4)); if ($lost != 0){ $newamount = $line['cropamount'] - $lost; Send_Event($line['userid'], $lost." of your ".$line['croptype']." plants have died. Crop ID:".$line['id']); } $resultgrowupdate = mysql_query("UPDATE `growing` SET `cropamount` = '".$newamount."' WHERE `id` = '".$line['id']."'"); } //delete rows that are empty and give back land to owner $resultgrow = mysql_query("SELECT * FROM `growing`"); while($line = mysql_fetch_array($resultgrow, MYSQL_ASSOC)) { if ($line['cropamount'] == 0){ Give_Land($line['cityid'], $line['userid'], $line['amount']); $result = mysql_query("DELETE FROM `growing` WHERE `id`='".$line['id']."'"); } } //$result2 = mysql_query("DELETE FROM `spylog` WHERE `age` < ".time() - 172800);// clear out old spy log stuff $deletechat = mysql_query("DELETE FROM `message`"); //Events mysql_query("UPDATE events SET age=age+1"); mysql_query("UPDATE gang_events SET age=age+1"); mysql_query("UPDATE mail SET age=age+1"); mysql_query("DELETE FROM gang_events WHERE age >= 3"); //END EVENTS // Lottery Stuff $checklotto = mysql_query("SELECT * FROM `lottery`"); $numlotto = mysql_num_rows($checklotto); $amountlotto = $numlotto * 750; $offset_result = mysql_query( " SELECT FLOOR(RAND() * COUNT(*)) AS `offset` FROM `lottery` "); $offset_row = mysql_fetch_object( $offset_result ); $offset = $offset_row->offset; $result = mysql_query( " SELECT * FROM `lottery` LIMIT $offset, 1 " ); $worked = mysql_fetch_array($result); $winner = $worked['userid']; $lottery_user = new User($worked['userid']); $newmoney = $lottery_user->money + 20000 + $amountlotto;; Send_Event($lottery_user->id, "You won the lottery! Congratulations, you won $".$amountlotto); $result2 = mysql_query("UPDATE `grpgusers` SET `money` = '".$newmoney."' WHERE `id` = '".$lottery_user->id."'"); $result2 = mysql_query("DELETE FROM `lottery`"); // Lottery Stuff // Points Lottery Stuff $checkplotto = mysql_query("SELECT * FROM `plottery`"); $numplotto = mysql_num_rows($checkplotto); $amountplotto = $numplotto * 24; $poffset_result = mysql_query( " SELECT FLOOR(RAND() * COUNT(*)) AS `offset` FROM `plottery` "); $poffset_row = mysql_fetch_object( $poffset_result ); $poffset = $poffset_row->offset; $presult = mysql_query( " SELECT * FROM `plottery` LIMIT $poffset, 1 " ); $worked = mysql_fetch_array($presult); $pwinner = $worked['userid']; $plottery_user = new User($worked['userid']); $newpoints = $plottery_user->points + $amountplotto;; $pointsss = Points; Send_Event($plottery_user->id, "You won the points lottery! Congratulations, you won ".$amountplotto .$pointsss); $result2 = mysql_query("UPDATE `grpgusers` SET `points` = '".$newpoints."' WHERE `id` = '".$plottery_user->id."'"); $result2 = mysql_query("DELETE FROM `plottery`"); // Points Lottery Stuff $result = mysql_query("SELECT * FROM `grpgusers`"); while($line = mysql_fetch_assoc($result)) { $updates_user = new User($line['id']); $newmoney = $updates_user->money; $username = $updates_user->username; $newrmdays = $updates_user->rmdays - 1; $newrmdays = ($newrmdays < 0) ? 0 : $newrmdays; if($newrmdays > 1) { $interest = .03; } else { $interest = .01; } $newbank = ceil($updates_user->bank + ($updates_user->bank * $interest)); if($newrmdays > 1) { $interest = .0001; } else { $interest = .00001; } $newbank2 = ceil($updates_user->bank2 + ($updates_user->bank2 * $interest)); if($updates_user->job != 0){ $result_job = mysql_query("SELECT * FROM `jobs` WHERE `id`='".$updates_user->job."'"); $worked_job = mysql_fetch_array($result_job); $newmoney = $updates_user->money + $worked_job['money']; $newwexp33 = $updates_user->workexp +$worked_job['workexp']; $newwstr = $worked_job['strengthgain']; $newwdef = $worked_job['defensegain']; $newwspd = $worked_job['speedgain']; $result5846 = mysql_query("UPDATE `grpgusers` SET `workexp` = '".$newwexp33."',`money` = '".$newmoney."', `strength` = strength +'".$newwstr."', `defense` = defense +'".$newwdef."', `speed` = speed +'".$newwspd."' WHERE `id`='".$updates_user->id."'"); Send_Event($updates_user->id, "You earned $".$worked_job['money']." and ".$worked_job['workexp']." exp from your job. You now have $".$newmoney); } if($updates_user->gangjobs != 0){ $result_job = mysql_query("SELECT * FROM `gangjobs` WHERE `id`='".$updates_user->gangjobs."'"); $worked_job = mysql_fetch_array($result_job); $newmoney21 = $worked_job['money']; $result141 = mysql_query("UPDATE `gangs` SET `vault` = vault +'".$newmoney21."' WHERE `id`='".$updates_user->gang."'"); Send_Event($updates_user->id, "<font color = 'yellow'>You earned </font><font color = '#ffffff'>$".$worked_job['money']."</font> <font color = 'yellow'>from your gangjob. You now have </font> $".$newmoney); } // hooker stuff if($updates_user->hookers > 0){ $newbank = $newbank + (500 * $updates_user->hookers); $newhookers = ceil($updates_user->hookers - 0); Send_Event($updates_user->id, "You earned $".($updates_user->hookers * 500)." from your Drug Dealers. You now have $".$newbank); } //hooker stuff // hooker stuff if($updates_user->hoes > 0){ $newbank = $newbank + (100 * $updates_user->hoes); $newhoes = ceil($updates_user->hoes ); Send_Event($updates_user->id, "You earned $".($updates_user->hoes * 100)." from your Hookers. You now have $".$newbank); } //hooker stuff } $result2 = mysql_query("UPDATE `grpgusers` SET `workexp` = '".$newwexp."',`bank` = '".$newbank."',`bank2` = '".$newbank2."',`money` = '".$newmoney."', `hoes` = '0',`hookers` = '".$newhookers."', `rmdays` = '".$newrmdays."', `bank` = '".$newbank."', `searchdowntown` = '100', `csmuggling` = '10', `luckyrm` = '1', `lucky` = '1', `freefill` = '1',`boxes_opened` = '0', `slapping` = '0', `votemtl` = '0', `votegtop` = '0', `gymss` = '3',`gyms` = '1',`gs100` = '0', `m100` = '0',`bogd` = '0',`apex` = '0',`g200` = '0', `crack` = '0',`lastchase` = '0'"); mysql_query("UPDATE grpgusers SET userBANKDAYS = userBANKDAYS - 1 WHERE userBANKDAYS > 0") or mysql_error(); mysql_query("DELETE FROM `rates`") or mysql_error(); mysql_query("UPDATE mailbans SET days = days - 1 WHERE days > 0") or mysql_error(); mysql_query("DELETE FROM `mailbans` WHERE days < 1") or mysql_error(); mysql_query("UPDATE bans SET days = days - 1 WHERE days > 0") or mysql_error(); mysql_query("DELETE FROM `bans` WHERE days < 1") or mysql_error(); ?>   Everyday a user bank reset to 0, not sure whats the problem in this.
  7. I talked to Rockwood and that guy is great and he has told me my credit system is exploitable so now today a user has hacked over billions of credits on my game no big deal all fixed.   But I need someone to look on my site and find more exploits. I am willing to pay 5-10$ per page to be secured I need about 2-3 -ages secured that know of.   I need this asap.
  8. Nope, Just checked nothing.
  9. Nope still no effect
  10. Ever heard of view source? This is illegal your stealing images that could be copyrighted and that will to a DCMA or worst.
  11. Still no effect, but thanks trying to help.
  12. Yea, The IPN link is well connected
  13. I realize in the credit ipn it doesnt update into the database table call "IPN" anyone know what I am doing wrong?
  14. So far still nothing. It's just not granting the credits auto.
  15. Not using Sandbox and when a user pays for it take them back to the site.
  16. Nope, When a user buy credits they don't get them automatically.
  17. Credit Donation File   <? include "header.php"; if ($_GET['buy'] == "thirtyrm"){ if($user_class->credits > 2) { $newcredit = $user_class->credits - 3; $time = time(); $creditbalance = 30 + $user_class->rmdays; $result = mysql_query("UPDATE `grpgusers` SET `money` = money + 10000, `points` = points + 50, `rmdays` = '".$creditbalance."', `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '30 Day RM', '3')"); echo Message("You spent 3 credits for the 30 Day Respected Mobster Status."); Send_Event($user_class->id, "You have been credited with your 30 Day Respected Mobster Status, $10,000 and 50 points.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "sixtyrm"){ if($user_class->credits > 5) { $newcredit = $user_class->credits - 6; $time = time(); $creditbalance = 60 + $user_class->rmdays; $result = mysql_query("UPDATE `grpgusers` SET `money` = money + 25000, `points` = points + 120, `rmdays` = '".$creditbalance."', `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '60 Day RM', '6')"); echo Message("You spent 6 credits for the 60 Day Respected Mobster Status."); Send_Event($user_class->id, "You have been credited with your 60 Day Respected Mobster Status, $25,000 and 120 points.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "nintyrm"){ if($user_class->credits > 8) { $newcredit = $user_class->credits - 9; $time = time(); $creditbalance = 90 + $user_class->rmdays; $result = mysql_query("UPDATE `grpgusers` SET `money` = money + 75000, `points` = points + 300, `rmdays` = '".$creditbalance."', `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '90 Day RM', '9')"); echo Message("You spent 9 credits for the 90 Day Respected Mobster Status."); Send_Event($user_class->id, "You have been credited with your 90 Day Respected Mobster Status, $75,000 and 300 points..".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "oneawakepill"){ if($user_class->credits > 0) { $newcredit = $user_class->credits - 1; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '1 Awake Pill', '1')"); Give_Item(42, $user_class->id);//give the user their item they bought echo Message("You spent 1 credit for an Awake pill."); Send_Event($user_class->id, "You have been credited with your Awake pill.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "fiveawakepill"){ if($user_class->credits > 4) { $newcredit = $user_class->credits - 5; $time = time(); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '5 Awake Pills', '5')"); $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought echo Message("You spent 5 credits for 5 Awake pills."); Send_Event($user_class->id, "You have been credited with your Awake pills.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "tenawakepill"){ if($user_class->credits > 9) { $newcredit = $user_class->credits - 10; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '10 Awake Pills', '10')"); Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought echo Message("You spent 10 credits for 10 Awake pills."); Send_Event($user_class->id, "You have been credited with your Awake pills.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "fifteenawakepill"){ if($user_class->credits > 14) { $newcredit = $user_class->credits - 15; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '15 Awake Pills', '15')"); Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought Give_Item(42, $user_class->id);//give the user their item they bought echo Message("You spent 15 credits for 15 Awake pills."); Send_Event($user_class->id, "You have been credited with your Awake pills.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "rmpack"){ if($user_class->credits > 23) { $newcredit = $user_class->credits - 24; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '10 rm packs', '10')"); Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought Give_Item(3, $user_class->id);//give the user their item they bought echo Message("You spent 24 credits for 10 RM Packs."); Send_Event($user_class->id, "You have been credited with your 10 RM Packs.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack1"){ if($user_class->credits > 2) { $newcredit = $user_class->credits - 3; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 250, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '250 Points', '3')"); echo Message("You spent 3 credits for the 250 points pack."); Send_Event($user_class->id, "You have been credited with your 250 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack2"){ if($user_class->credits > 9) { $newcredit = $user_class->credits - 10; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 1000, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '1,000 Points Pack', '10')"); echo Message("You spent 10 credits for the 1,000 points pack."); Send_Event($user_class->id, "You have been credited with your 1,000 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack3"){ if($user_class->credits > 19) { $newcredit = $user_class->credits - 20; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 2200, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '2,200 Points Pack', '20')"); echo Message("You spent 10 credits for the 2,200 points pack."); Send_Event($user_class->id, "You have been credited with your 2,200 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack5"){ if($user_class->credits > 29) { $newcredit = $user_class->credits - 30; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 5000, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '5,000 Points Pack', '30')"); echo Message("You spent 30 credits for the 5000 points pack."); Send_Event($user_class->id, "You have been credited with your 5000 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack6"){ if($user_class->credits > 54) { $newcredit = $user_class->credits - 55; $time = time(); $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 10000, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '10,000 Points Pack', '55')"); echo Message("You spent 55 credits for the 10,000 points pack."); Send_Event($user_class->id, "You have been credited with your 10,000 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } if ($_GET['buy'] == "pointpack7"){ if($user_class->credits > 119) { $newcredit = $user_class->credits - 120; $result = mysql_query("UPDATE `grpgusers` SET `points` = points + 25000, `credits`='".$newcredit."' WHERE `id`='".$_SESSION['id']."'"); $result = mysql_query("INSERT INTO `spentcredits` (timestamp, spender, spent, amount)"."VALUES ('".$time."', '".$user_class->id."', '25,000 Points Pack', '120')"); echo Message("You spent 120 credits for the 25,000 points pack."); Send_Event($user_class->id, "You have been credited with your 25,000 points pack.".$user_class->formattedusername); } else { echo Message("You don't have enough credits.You can buy some at the upgrade store"); } } ?> <tr><td class='contenthead'>Your Wallet</td></tr> <tr><td class="contentcontent"> <center>1 credit= $1</center> <center>Your credits balance is: <font color=green><b><?php echo $user_class->credits; ?></center></font></b></td></tr> <tr><td class="contenthead">Please note!</td></tr> <tr><td class="contentcontent"> <center>If you do not receieve your credits, please message a member of staff or create a support ticket.</center> </td></tr> <tr><td class="contenthead">Upgrade Store</td></tr> <tr><td class="contentcontent"> <a href="/rmstoreoffers.php"><font size=3>Offers Here Click Me</font></a> <center> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target=_blank class="style8"> <select name=amount style="background-color:#ffffff; font: 10pt verdana; border: 1px solid #000000;"> <option value=1>1 Credit = $1.00</option> <option value=3>3 Credits = $3.00</option> <option value=6>6 Credits = $6.00</option> <option value=9>9 Credits = $9.00</option> <option value=15>15 Credits = $15.00</option> <option value=20>20 Credits = $20.00</option> <option value=30>30 Credits = $30.00</option> <option value=120>120 Credits = $120.00</option> <option value=200>200 Credits = $200.00</option> </select> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name=custom value=<?= $user_class->id ?>> <input type="hidden" name="business" value="N/A"> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="item_name" value="N/A Credits for <?= $user_class->username ?>"> <input type="hidden" name="notify_url" value="/ipn_credits.php"> <input type="submit" class="button" border="0" value="Continue" onClick="confirmbuy()" name="submit" alt=""></form></td> </td></tr> <tr><td class="contenthead">Upgrade Store</td></tr> <tr><td class="contentcontent"> <center> <img src="/rmupgrade.png"width=400 height=100";<center> <table width='100%'> <tr> <td> </td> <td>Free Member</td> <td>RM (30 days)</td> <td>RM (60 days)</td> <td>RM (90 days)</td> </tr> <tr> <td>Money Bonus (One Time)</td> <td>-</td> <td>$10,000</td> <td>$25,000</td> <td>$75,000</td> </tr> <tr> <td>Points Bonus (One Time)</td> <td>-</td> <td>50</td> <td>125</td> <td>300</td> </tr> <tr> <td>Access to RM Horse Races</td> <td>No</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> </tr> <tr> <td>Talk to the Drug Dealer</td> <td>No</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> </tr> <tr> <td>Energy Regain (Per 5 Mins)</td> <td>10%</td> <td>20%</td> <td>20%</td> <td>20%</td> </tr> <tr> <td>Bank Interest</td> <td>1%</td> <td>3%</td> <td>3%</td> <td>3%</td> </tr> <tr> <td>Max Items</td> <td>100</td> <td>250</td> <td>250</td> <td>250</td> </tr> <tr> <td>Credits Needed</td> <td>Free</td> <td><b>3</b></td> <td><b>6</b></td> <td><b>9</b></td> </tr> <tr> <td>Buy Now!</td> <td>Free</td> <td><a href="/rmstore.php?buy=thirtyrm"><b>Buy</b></a></td> <td><a href="/rmstore.php?buy=sixtyrm"><b>Buy</b></a></td> <td><a href="/rmstore.php?buy=nintyrm"><b>Buy</b></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td></tr> <tr><td class="contenthead">The Respected Mobsters Packs</td></tr> <tr><td class="contentcontent"> <table width="100%"> <tbody><tr> <td>Package</td> <td>Points</td> <td>Items</td> <td>Credits Required</td> <td>Buy</td> </tr> <tr> <td>10 RM Packs</td> <td>-</td> <td>RM Packs [x10]<br></td> <td>24</td> <td align="center"><a href="/rmstore.php?buy=rmpack"><b>Buy</b></td> </tr> <tr> <td>1 Awake Pill</td> <td>-</td> <td>Awake Pill [x1]<br></td> <td>1</td> <td align="center"><a href="/rmstore.php?buy=oneawakepill"><b>Buy</b></td> </tr> <tr> <td>5 Awake Pills</td> <td>-</td> <td>Awake Pill [x5]<br></td> <td>5</td> <td align="center"><a href="/rmstore.php?buy=fiveawakepill"><b>Buy</b></td> </tr> <tr> <td>10 Awake Pills</td> <td>-</td> <td>Awake Pill [x10]<br></td> <td>10</td> <td align="center"><a href="/rmstore.php?buy=tenawakepill"><b>Buy</b></td> </tr> <tr> <td>15 Awake Pills</td> <td>-</td> <td>Awake Pill [x15]<br></td> <td>15</td> <td align="center"><a href="/rmstore.php?buy=fifteenawakepill"><b>Buy</b></td> </tr> <tr> <td>250 Points Pack</td> <td>250</td> <td></td> <td>3</td> <td align="center"><a href="/rmstore.php?buy=pointpack1"><b>Buy</b></td> </tr> <tr> <td>1,000 Points Pack</td> <td>1,000</td> <td>-</td> <td>10</td> <td align="center"><a href="/rmstore.php?buy=pointpack2"><b>Buy</b></td> </tr> <tr> <td>2,200 Points Pack</td> <td>2,200</td> <td>-</td> <td>20</td> <td align="center"><a href="/rmstore.php?buy=pointpack3"><b>Buy</b></td> </tr> </form> <tr> <td>5,000 Points Pack</td> <td>5,000</td> <td>-</td> <td>40</td> <td align="center"><a href="/rmstore.php?buy=pointpack5"><b>Buy</b></td> </tr> <tr> <td>10,000 Points Pack</td> <td>10,000</td> <td>-</td> <td>75</td> <td align="center"><a href="/rmstore.php?buy=pointpack6"><b>Buy</b></td> </tr> <tr> <td>25,000 Points Pack</td> <td>25,000</td> <td>-</td> <td>120</td> <td align="center"><a href="/rmstore.php?buy=pointpack7"><b>Buy</b></td> </tr> <tr> </table> </td><tr> <tr><td class="contenthead">Rules Please Read:</td></tr> <tr><td class="contentcontent"> By donating to N/A you are agreeing on the following terms:<br> 1. If you didn't get your pack you brought please contact an admin or a member of staff with your transaction id and email address used to buy the package.<br> 2. Just because you have bought a package from us doesn't mean you can go around breaking rules. So be warned, you can still get banned for breaking them.<br> 3. No refunds will be given as the game runs on donations.<br> 4. If your trying to <b>refund</b> your money through PayPal, we will ban you account.<br> </td></tr> <?php include 'footer.php'; ?>     Credit IPN <? include "dbcon.php"; function Send_Event ($id, $text){ $timesent = time(); $text = mysql_real_escape_string($text); $result= mysql_query("INSERT INTO `events` (`to`, `timesent`, `text`)". "VALUES ('$id', '$timesent', '$text')"); } function microtime_float() { $time = microtime(); return (double)substr( $time, 11 ) + (double)substr( $time, 0, 8 ); } $time = microtime_float(); // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30); // assign posted variables to local variables $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST['txn_id']; $receiver_email = $_POST['receiver_email']; $payer_email = $_POST['payer_email']; $first = $_POST['first_name']; $last = $_POST['last_name']; $quantity = $_POST['quantity']; $user_id = $_POST['custom']; $result1000 = mysql_query("INSERT INTO `ipn` (`itemname`, `date`, `itemnumber`, `paymentstatus`, `paymentamount`, `currency`, `txnid`, `receiveremail`, `payeremail`, `first`, `last`, `quantity`, `user_id`)"."VALUES ('".$item_name."', '$time', '".$item_number."', '".$payment_status."', '".$payment_amount."', '".$payment_currency."', '".$txn_id."', '".$receiver_email."', '".$payer_email."', '".$first."', '".$last."', '".$quantity."', '".$user_id."')"); $result2 = mysql_query("SELECT*FROM `grpgusers` WHERE `id`='$_POST[custom]'"); $worked = mysql_fetch_array($result2); if ($item_number == 1 && $payment_status == "Completed"){ $userrmdays = $worked['credits'] + $_POST[mc_gross]; $result = mysql_query("UPDATE `grpgusers` SET `credits`='".$userrmdays."' WHERE `id`='$_POST[custom]'"); Send_Event($user_id, "Your $_POST[mc_gross] credit (s) have just been credited. PayPal Transaction id: ".$txn_id." "); } ?>     I don't which file is the problem. But it don't auto credit when a user buy credits.
  18. I agree with Ian, I also hired him to do some work for me and he said he would do and we agreed to a price but he has never gotten back to me.
  19. The RC engine? The one that look like torn right? Sadly all these games that uses this engine barely change anything nor add anything. I wouldn't even signed up just because the login looks horrible with the logo on on it. If you honestly wanna do something different with the look you can send me a pm I have some spare time for the next 4 days.
  20. Nice article gave me an idea for a GRPG plugin.
  21. MNG

    Manage Referrals

    Thanks guys I sort of fixed this yesterday :P.
  22. Mostly every game you see these days look like MCC because new owners wanna set their game as the first internet game they ever played.
  23. I believe it is Hydra
  24. Nice, A member on their is one of my staff.
  25. I have been having this tiny problem I dislike fake referrals so I manually accept them. But when I accept nothing is granted to the person who referred them.   <?php include 'spheader.php'; if ($user_class->admin != 1) { echo Message("You are not authorized to be here."); include 'footer.php'; die(); } if ($_GET['givecredit'] != ""){ $result = mysql_query("UPDATE `referrals` SET `credited`='1' WHERE `id`='".$_GET['givecredit']."'"); $result = mysql_query("SELECT * FROM `referrals` WHERE `id` = '".$_GET['givecredit']."'"); $line = mysql_fetch_array($result); $cp_user = new User($line['referrer']); $newpoints = $cp_user->points + 1; $newrefers = $cp_user->refers + 1; $result = mysql_query("UPDATE `grpgusers` SET `points` = '".$newpoints."', `refers` = '".$newrefers."' WHERE `id`='".$cp_user->id."'"); send_event($cp_user->id, "You have been credited 1 referral points for referring ".$line['referred'].". Keep up the good work!"); Staff_Log($user_class->id, "Aproved A Refferal!<br />Referrer: <a href=profiles.php?id=".$cp_user->id.">".Get_Username($cp_user->id)."</a><br />New User Referred: <a href=profiles.php?id=".Get_ID($line['referred']).">".$line['referred']."</a> !"); echo Message("You have accepted the referral."); } if ($_GET['denycredit'] != ""){ $result = mysql_query("DELETE FROM `referrals` WHERE `id`='".$_GET['denycredit']."'"); send_event($line['referrer'], "Unfortunately you have recieved no points for referring ".$line['referred'].". This could be a result of many different things, such as you abusing the referral system, or the player you referred only signing up, but never actually playing."); Staff_Log($user_class->id, "Denied A Refferal!<br />Referrer: <a href=profiles.php?id=".$line['referrer'].">".Get_Username($line['referrer'])."</a><br />New User Referred: <a href=profiles.php?id=".Get_ID($line['referred']).">".$line['referred']."</a> !"); echo Message("You have denied the referral."); } ?> <tr><td class="contenthead">Manage Referrals</td></tr> <tr><td class="contentcontent"> <? $result = mysql_query("SELECT * FROM `referrals` WHERE `credited`='0'"); $any_exist = mysql_num_rows($result); if($any_exist == 0){ echo ("There Are No Referals At The Moment!"); include 'footer.php'; die(); } while($line = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "<div>".$line['id'].".) ".$line['referred']." was referred by Player ID:". $line['referrer']." (".date(F." ".d.", ".Y." ".g.":".i.":".sa,$line['when']).") <a href='control.php?page=referrals&givecredit=".$line['id']."'>Credit</a> | <a href='control.php?page=referrals&denycredit=".$line['id']."'>Deny</a></div>"; } include 'footer.php'; ?>
×
×
  • Create New...