Jump to content
MakeWebGames

gurpreet

Members
  • Posts

    834
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gurpreet

  1. Re: Staff Positions Mod well u make better free mods then iso :) And its ok i guess i gave u +1 for tryin
  2. Re: Staff Positions Mod So yes it is a staff list but more detailed?
  3. Re: Staff Positions Mod I don't get it, is it just a staff list thing, but your custom one?
  4. Re: PLZ HELP ME !!!! ARGENTLY!!! Ok look im not being "bare sad" to u but can't you do anything yourself? 1. Learn to spell, its urgently not argently. 2. Learn to add simple code. 3. All you do is "beg" for stuff and most likely download illegal mods...
  5. Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other   HAHAHAHAHAHA good joke :) wait it wasnt :)
  6. Re: quantify items automatically   No its post after include "globals.php"
  7. Re: [mccode] staff applications Seriously dude use google, you dont have to post everything here..
  8. Re: [mccode] quantify items automatically   For v2, im sure there is no $h->menuarea();. So they'd have to add it after require("globals.php"); True and is it while ($i=$db->queryfetch_array($item)) anyways. I thought its $db->query fetch_array.   AND why post this im using the v1 version posted by seany on my v2 game and its fine..
  9. Re: [mccode] Mining mod   Sorry but you must be pretty dull if you can't edit it yourself to not give so many crystals. I could and i did, but even so some people found ways dont know how to keep doing it.. so they had like 400 crystals in a day which is kinda bad for everyone except them..
  10. Re: [mccode] Mining mod ffs dude thats how you do it. :roll: :roll: If you cant add that on 1st page then dont make a game... I didnt like this mod as users got too many crystals :evil:
  11. Re: [V1][V2] 50/50 Chance Mod. Free Version Cool thanks for this +1 :mrgreen:
  12. Re: [mccode] Register Page get lost you noob :evil: :x :x :x :x
  13. Re: [free] Staff Delete Gang Option [V2] No shut it. This is about staff delete gang option. Shutup and make your own topic nub :x :x :roll:
  14. Re: [free] Staff Delete Gang Option [V2] so why post it here :x :x :roll:
  15. Re: [v2]Take Your Partner On A Date[v2] Dude this has already been posted!!! :evil: :x :x
  16. Re: Bank.php TYVM you 2. I will give you +1 for a day or 2 :) Thanks again
  17. Re: Bank.php Well it kinda works, but if you dont have a bank account, it just say BANK nothing else. No withdraw or anything :S
  18. Re: wats correct do you have to have the ;? or is that just extra?
  19. Re: wats correct Finally query :) Your learning lol. I think its:   ALTER TABLE `users` add currentmission int 11 default 0   Try that
  20. Re: [$10] Secure Password System   No... Alot of under 18's use paypal, Im 16 and been using paypal since i was 13 :-P I been using since i had my 13th Bday xd. Also i might try this is i can quickly get some money
  21. Re: wats correct AAAAAAGHHHHH FFS its not sql!!!! its query. And if you bought the mod, i think its Isomerizer's mod, he would have provided you with queries. If it is the same missions mod..
  22. Ok im trying to make it so on my game, mccodes v2, on bank.php you dont have to buy an account. <?php include "globals.php"; print "<h3>Bank</h3>"; if($ir['bankmoney']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } function index() { global $db, $ir,$c,$userid,$h; print "\n[b]You currently have \${$ir['bankmoney']} in the bank.[/b] At the end of each day, your bank balance will go up by 2%. <table width='100%' cellspacing=1 class='table'> <tr> <td width='50%'>[b]Deposit Money[/b] It will cost you 15% of the money you deposit, rounded up. The maximum fee is \$3,000.<form action='bank.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['money']}' /> <input type='submit' value='Deposit' /></form></td> <td> [b]Withdraw Money[/b] There is no fee on withdrawals.<form action='bank.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['bankmoney']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $db,$ir,$c,$userid,$h; $check = ( strpos($_POST[' deposit'],'<script>') || strpos($_POST['deposit'],'<script/>') || strrchr($_POST['deposit'],'>') || strrchr($_POST['deposit'],'<') || strrchr($_POST['deposit'],'{') || strrchr($_POST['deposit'],'}') || strrchr($_POST['deposit'],'/') || strrchr($_POST['deposit'],'<?') || strrchr($_POST['deposit'],';')); if($check===true){ $message = htmlentities($_POST['deposit'], ENT_QUOTES); event_add(1, "{$ir['username']} [$userid] Possibly Tried SQL Injecting Thebr /> [b]message post error/b> Message:- $deposit",$c); die (" <h4> PAGE ERROR -- Illeagal Entry! </h4> You`re Input Contains An Illegal String, A Copy Of What You Entered Has Been Sent To Admin For Evaluation. Please Start Again And Only Enter Valid Characters.... Thank you. [url='bank.php'] Back [/url]"); $h->endpage(); exit; } $_POST['deposit']=abs($_POST['deposit']); if($_POST['deposit'] > $ir['money']) { print "You do not have enough money to deposit this amount."; } else { $fee=ceil($_POST['deposit']*15/100); if($fee > 3000) { $fee=3000; } $gain=$_POST['deposit']-$fee; $ir['bankmoney']+=$gain; $db->query("UPDATE users SET bankmoney=bankmoney+$gain, money=money-{$_POST['deposit']} where userid=$userid"); print "You hand over \${$_POST['deposit']} to be deposited, after the fee is taken (\$$fee), \$$gain is added to your account. [b]You now have \${$ir['bankmoney']} in the bank.[/b] [url='bank.php']> Back[/url]"; } } function withdraw() { global $db,$ir,$c,$userid,$h; $check = ( strpos($_POST[' withdraw'],'<script>') || strpos($_POST['withdraw'],'<script/>') || strrchr($_POST['withdraw'],'>') || strrchr($_POST['withdraw'],'<') || strrchr($_POST['withdraw'],'{') || strrchr($_POST['withdraw'],'}') || strrchr($_POST['withdraw'],'/') || strrchr($_POST['withdraw'],'<?') || strrchr($_POST['withdraw'],';')); if($check===true){ $message = htmlentities($_POST['withdraw'], ENT_QUOTES); event_add(1, "{$ir['username']} [$userid] Possibly Tried SQL Injecting There /> [b]message post error/b> Message:- $withdraw",$c); die (" <h4> PAGE ERROR -- Illeagal Entry! </h4> You`re Input Contains An Illegal String, A Copy Of What You Entered Has Been Sent To Admin For Evaluation. Please Start Again And Only Enter Valid Characters.... Thank you. [url='bank.php'] Back [/url]"); $h->endpage(); exit; } $_POST['withdraw']=abs($_POST['withdraw']); if($_POST['withdraw'] > $ir['bankmoney']) { print "You do not have enough banked money to withdraw this amount."; } else { $gain=$_POST['withdraw']; $ir['bankmoney']-=$gain; $db->query("UPDATE users SET bankmoney=bankmoney-$gain, money=money+$gain where userid=$userid"); print "You ask to withdraw $gain, The bank lady happily gives you the money. [b]You now have \${$ir['bankmoney']} in the bank.[/b] [url='bank.php']> Back[/url]"; } } $h->endpage(); ?>   Then i get the error about unexpected $send on last line, which i think means im missing a { or }. Can someone please help me fix this. Thanks
  23. Re: {V2 }Marriage Mod {V2}   Its not about being nice or not. If he bought it legally, it would come with all queries. If not, you don't get everything...
  24. Re: {V2 }Marriage Mod {V2}   If he coded it himself *maybe* I could understand posting for help. Haha he could never code it himself or he wouldnt be asking these nooby questions xd
  25. Re: reseting all users I think that you have to truncate the userstats and money and level and stuff but DONT do it until someone better than me agrees. Because if this is wrong, you may lose valuable information... so wait for someone good at this stuff maybe iso or hamster, or someone else who is good.
×
×
  • Create New...