Jump to content
MakeWebGames

Will

Members
  • Posts

    215
  • Joined

  • Last visited

    Never

Everything posted by Will

  1. I am currently running a mccodes v1.1 engine. The passwords aren't encoded so I added "`userpass`=md5('{$_POST['password']}')to authenticate and changed the register page. I then ran the query: $rfr=mysql_query("SELECT * FROM users",$c) or die(mysql_error()); while($r=mysql_fetch_array($rfr)) { mysql_query("UPDATE users SET userpass=md5('{$r['userpass']}') WHERE userid=$userid",$c) or die(mysql_error()); } This all works fine but I have a "Send Password" feature which now won't work for obvious reasons. Is there anyway to un-encode the encoded password?
  2. Re: Interest gained cap? Also you could make it so there is a cap and you can't put anymore in but you still get intrest on it: mysql_query("UPDATE users SET bankmoney=bankmoney*1.02 WHERE bankmoney > 0",$c) or die(mysql_error()); $rfr=mysql_query("SELECT * FROM users WHERE bankmoney>1000000000",$c) or die(mysql_error()); while($r=mysql_fetch_array($rfr)) { $userid=$r['userid']; $moneyover=$r['bankmoney']-1000000000; mysql_query("UPDATE users SET bankmoney=1000000000 WHERE userid=$userid",$c) or die(mysql_error()); mysql_query("UPDATE users SET money=money+$moneyover WHERE userid=$userid",$c) or die(mysql_error()); }
  3. Re: LARGE amount of stolen code in use. I am the guy who is coding for the site now, its under new ownership (I'm not the owner). I'm sorry that the codes where stolen from you I didn't know, thought they where bought, found this site by look in web referral logs. Anyway if you write down what specific codes are stolen, I'll write my own and remove your although I have significantly changed a lot of the files. Also I found the stock market bug and fixed that, I want to re-design it anyway, with graphs. Secondly in return for me removing the codes could you not go into peoples accounts. Thanks
×
×
  • Create New...