Jump to content
MakeWebGames

AlabamaHit

Members
  • Posts

    1,308
  • Joined

  • Last visited

Everything posted by AlabamaHit

  1. Re: Clean up cron Just curious.....not asking to convert nothing, lol. I can handle that...Just wonderin if I put those querys in my day cron page on my v2 if it would work?
  2. Re: Voting For Crystas are you serious? look at the other voting pages.........im amazed that people could pay 300 for codes to a game and can not code at all.......
  3. Re: Need some help just put this right after the include "globals.php";   $_POST['price']=abs((float) $_POST['price']) ; $_GET['ID'] = abs((int) $_GET['ID']);   that will fix it....also...put that on ALL markets you have that is like the crystal market.
  4. Re: Attack And Lose No Hosp because there is no query to tell it to, lol.. open your attacklost.php find this   $db->query("UPDATE users SET exp=0 WHERE exp<0");   add this after that   $db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Lost to <a href=\'viewuser.php?u={$r['userid']}\'>{$r['username']}</a>' WHERE userid=$userid");   now find   $expgainp=$expgain/$ir['exp_needed']*100;   add after   $hosptime=rand(10,20);   change the 10, 20 for the hospital times.
  5. Re: Password Protect Pages Ghettos looks very familiar......edited from the mccode login page? maybe?
  6. Re: [mccode] Streets for v2.0 so did you get it fixed?
  7. Re: [mccode] Streets for v2.0 Just change the $find to the Item name...........You know what its giving out right? lol
  8. Re: QUERIES if you have v2......look in your cron_day.php......
  9. Re: [mccode] Supporter Packs Yup that would work to :mrgreen:
  10. Re: [mccode] Supporter Packs cant you do that its simple, lol........just put this at the top of the page if($ir['supporterdays'] < 1) { print "This is for supporters only!! [url='index.php']> Home[/url]"; $h->endpage(); exit;   That will keep anyone that dont have a supporter day off the page. I just dont think that anyone will waist there time making you a page taht is so simple that you should be able to do if you own a game......even if you dont know how to code, you could do this one, lol.
  11. Re: [V2]Lock Down[V2] Shouldn't there be something in there so everyone on the game cant see the staff_lockdown.php...and Im not sure just curious shouldnt it include "sglobals.php" not the globals.php....Please dont attack me to hard just curious on this not saying your wrong :mrgreen: yeah i think its inlcude "sglobals.php" not globals.php and i would put at the top of page something like if($ir['userid'] != 1) { print "This is for the Owner only &gt Back"; $h->endpage; exit;
  12. Re: Need Help With [V3] I'm confussed. Please explain it more and we might be able to help.
  13. Re: Count Users Clicks lol
  14. Re: Somebody help! lesson learnt....backup your game everysingle day.
  15. Re: Email validating help change taht is all messed up...make sure you insert the values in order....its wayyyy off
  16. Re: Email validating help VALUES( '{$username}', md5('{$_POST['password']}'), 1, You left out the login name you jumped from username to password
  17. Re: Count Users Clicks u dont have to give rewards for clicks he said if ya just want to....i think its cool to keep up with the click nice work man :-D
  18. Re: global_func.php what is the line...
  19. Re: Attack Bug that is already in there....
  20. Im aware of a attack bug in V2 i was just wondering if someone might have a fix for it i avhe tried everthing i know what ot do.. can cant figure it out. Of course im not going to say the bug exactly but what i will say is its a bug where they can attack someoen no matter if they are in the same location or gang....For the people that know about this one will know what i mean any help would be greatly appreciated.
  21. Re: mails wow man...please read the stuff I'm not bashing you but you have to help us help you. I told you how to fix it. If you do what I said to do everyone in the gang will get the mail alert just like if you was to send a mail to a person . same way...
  22. Re: Stopping IP Transfers dang dude I don't mind helping but you ahve to read. You put it in EVERY page that has transfering...look at my post you will see examples.
  23. Re: mails this is a easy fix :-P open yourgang.php Find:   function gang_staff_massmailer() { global $db,$ir,$c,$userid,$gangdata; if($_POST['text']) { $subj="This is a mass mail from your gang"; $q=$db->query("SELECT * FROM users WHERE gang={$ir['gang']}"); while($r=$db->fetch_row($q)) { $db->query("INSERT INTO mail VALUES('', 0, {$ir['userid']}, {$r['userid']}, unix_timestamp(),'$subj','{$_POST['text']}')");   Add After:   $db->query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$r['userid']}");
  24. Re: Stopping IP Transfers I don't know about that but I know that if you put it in each file. Which ain't that many. Like 5 or so. It will work that way.
  25. Re: Stopping IP Transfers For v2 this works. It works on mine 100% but you have to put it in all pages involving sending..example sendcash.php, sendcrystals.php..you get the idea.   $m=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']} LIMIT 1",$c); $rm=$db->fetch_row($m); if($rm['lastip'] == $ir['lastip']) { print "No Sending money to people on same IP. Stop trying to cheat. [url='index.php']> Back[/url]"; $h->endpage(); exit; }
×
×
  • Create New...