Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Re: Tutorial: v2 - v1 Conversion Sup Floydian hows tricks mate...
  2. Re: stop same ip transfers Aw Kyle you edited it again :-P You love me so much don't ya :-D
  3. Re: Updated Mailbox [v1] lol wonder how many times this has actually been edited lol
  4. Re: Please help.... ok...
  5. Re: [v1 & v2]Reset your users without deleating them my bad <?php include "globals.php"; if($ir['userid'] != 1) { print "Coo Off!"; $h->endpage(); exit; } mysql_query("UPDATE users SET money=100000,level=1,exp=0,crystals=100,job=0,location=1,hospital=0,jail=0,course=0,cdays=0,donatordays=2,bankmoney=0,cybermoney=0,turns=100,exp=0.0000,maxwill=100,will=100,energy=100,maxenergy=100,brave=5,maxbrave=5,hp=100,maxhp=100,gang=0,daysingang=0,jobrank=0 WHERE user_level=1", $c) or die(mysql_error()); mysql_query("UPDATE userstats SET strength=10,agility=10,guard=10,labour=10,IQ=10", $c) or die(mysql_error()); mysql_query("TRUNCATE TABLE mail,events,friendslist,blacklist", $c) or die(mysql_error()); $h->endpage(); ?>
  6. Re: Generate Password yeah thats why i added that i use my own encryption... lol i mean it isn't hard to encryption text into like sjrhewhewurh489325u384tr54ut2injrhg2%$#^@ 1char - 50 chars
  7. Re: Generate Password i take a word then encrypt to md5 then use that has my password lol so i can say for example to someone my password is "password" then they try it and be like no it ain't lol or use my own encryption since md5 is iight but i prefer my own
  8. Re: [v1 & v2]Reset your users without deleating them   <?php include "globals.php"; if($ir['userid'] != 1) { print "Coo Off!"; $h->endpage(); exit; } mysql_query("UPDATE users SET money=100000,level=1,exp=0,crystals=100,job=0,location=1,hospital=0,jail=0,course=0,cdays=0,donatordays=2,bankmoney=0,cybermoney=0,turns=100,exp=0.0000,maxwill=100,will=100,energy=100,maxenergy=100,brave=5,maxbrave=5,hp=100,maxhp=100,gang=0,daysingang=0,jobrank=0 WHERE user_level=1", $c) or die(mysql_error()); mysql_query("UPDATE userstats SET strength=10,agility=10,guard=10,labour=10,IQ=10 WHERE user_level=1", $c) or die(mysql_error()); mysql_query("TRUNCATE TABLE mail,events,friendslist,blacklist", $c) or die(mysql_error()); $h->endpage(); ?>   Maybe that would be better? theres not really any point clearing fedjail because well they normally did something bad...
  9. Re: Get your site free traffic! what kinda coffee... nescafe gold blend?
  10. Re: Generate Password how about just posting what the password is in a alternative window... then they choose to use it or not...
  11. Re: *+*Amazing New Explore *+* [V1] So its just a table... whats so amazing about that...
  12. Re: Steps Market [V2] yeah i think maybe remove that from your site because you just gunna get hacked there matey
  13. Re: Generate Password Thats the first time i seen a generate password modification and someone thinking it stops hacks and multis lmfao
  14. Re: Guess Who! wouldn't be so hard to do it yourself mate... and again nice mod mate
  15. Re: Please help.... ah yeah thats the problem then the password has been changed by your host and send via email or something? then the config file tries running old pw n fails to connect to the databases lol so when you get the new one just add it in config.php and you'll be fine mate, glad i could help
  16. Re: Please help.... yeah your info in your config.php wont match your actual info
  17. Re: stop same ip transfers   $select = mysql_query("SELECT * FROM users WHERE lastip='{$IP}' AND lastip_login='{$IP}' AND lastip_signup='{$IP}'") or die(mysql_error()); if(mysql_num_rows($select) > 1) { event_add(1,"ID <a href=\"viewuser.php?u=".$ir['userid']."\">".$ir['userid']."</a> has got more than 1 account on his/her IP."); echo '<h1><font color="red">A Admin has been notified that you have more than 1 account.</font></h1>'; } i have just realized something lol this code will notify id 1 with a event every time the header is loaded... lol maybe try $select = mysql_query("SELECT * FROM users WHERE lastip='{$IP}' AND lastip_login='{$IP}' AND lastip_signup='{$IP}'") or die(mysql_error()); if(mysql_num_rows($select) > 1) { if($ir['Multi'] == 1) { Print "Your ID is a multi and you have been reported for this."; } else { event_add(1,"ID <a href=\"viewuser.php?u=".$ir['userid']."\">".$ir['userid']."</a> has got more than 1 account on his/her IP [<a href=jailuser.php?userid=".$ir['userid'].">Jail User</a>] [<a href=mailbox.php?action=compose&ID=".$ir['userid'].">Mail User</a>] ."); print "<h1><font color="red">A Admin has been notified that you have more than 1 account.</font></h1>"; $db->query("UPDATE users SET Multi=Multi+1 WHERE userid={$ir['userid']}"); } } Oh dont forget to add this has query in sql :-P ALTER TABLE `users` ADD `Multi` INT( 11 ) NOT NULL DEFAULT '0'; its more coding + sql but more complexed :P oh and i did this without testing so any probs let me know
  18. Re: stop same ip transfers Wow you edited my idea give him a clap i did say edit it... but didn't have to say i was wrong
  19. Re: Count Users Clicks Wow this is good mod kyle would stress the site abit but still not bad work
  20. Re: stop same ip transfers In header Find: if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); }   Then Below Add $lastip=mysql_query("SELECT * FROM `users` WHERE `lastip`='$IP'",$c); if (mysql_num_rows($lastsignupip) > 1) { DIE("Your Already A Member Nice Try..."); }   This is only for same ip obviously but this basically will stop a user from signing into more than one name with there ip but theres is ways around which you all will comment on but this is just contribution to this modification... any editing on this would be appreciated greatly... thanks
  21. Re: Updated Personal Details [V2] I Find kids a little immature on rpg games sometimes so my site(s) are restricted to 18+ so i gotta make sure they 18 or over lol plus i prefer a small amount of adult content it brings more people to the game
  22. Re: Updated Personal Details [V2] yeah but by agreeing they are over the specified age the parents can't take legal action because they have said they are a specified age above your specified age lol
  23. Re: [$20] Hide & Seek lol i like this one good job mate...
  24. Re: *+*Amazing New Explore *+* [V1] yeah whats this actually look like lol i ain't adding it im just curious cause i did mine custom just wanna see if this is better than mine if it is ill add this... lol
  25. Re: Updated Personal Details [V2] why not use the age in register to restrict access to the site unless they say they older than the specified age required for your game/site...
×
×
  • Create New...