Lunny Posted February 23, 2008 Posted February 23, 2008 This is not my modification, but I have modified it to fit with Mccodes. My friend, Jason made this, but I thought it may be a cool addition to your games. Open up register.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace it with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under that add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. With just: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also, you wouldn't be needing: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And thats it. Basically all it does is generate a password if you can think of one. You can choose the length of the password too. Hope you all like it :-) Quote
Ishy Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password I like it, nice one mate. Quote
Klikoka Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password Its A Good Little Addition Ty But Wont It Need To Show The User The Generated Pass? Quote
Klikoka Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password So :: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Would Be:: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Or Something Like That Quote
Lunny Posted February 23, 2008 Author Posted February 23, 2008 Re: Generate Password Well, it generates a password and the user can note it down on a peice of paper or something. You click generate and it comes up like: gkdo4gn, so the user knows what the outcome is. Quote
Z?v?? Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password Wow...very nice. :-) Quote
Sethenor Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password this is pretty cool man thanks Quote
Criminal Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password Very nice man this is cool am loving it lol :wink: Quote
brandon_1243 Posted February 23, 2008 Posted February 23, 2008 Re: Generate Password very nice mod lunny i hope we get our gun shot coming soon :) will be awesome thanks great mod Quote
HITMAN 17 Posted February 24, 2008 Posted February 24, 2008 Re: Generate Password now all we need is one that sends to email Quote
Lunny Posted February 24, 2008 Author Posted February 24, 2008 Re: Generate Password now all we need is one that sends to email This isn't a security verification, The Corpse, therefore there is no need to send to an email. That just makes things more complicated for the user, also it's time consuming. Quote
HITMAN 17 Posted February 25, 2008 Posted February 25, 2008 Re: Generate Password i know but at least it stops ppl using fake email addresses Quote
oxidati0n Posted February 25, 2008 Posted February 25, 2008 Re: Generate Password Try something like this. Just mess about with it, It's pretty cool. I made it just now. <script language="JavaScript1.1"> function randomPassword(length) { chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; pass = ""; for(x=0;x<length;x++) { i = Math.floor(Math.random() * 62); pass += chars.charAt(i); } return pass; } function Generate_Password() { var pass=randomPassword(6); document.getElementById("GetValue_b").value = pass; document.getElementById("GetValue_b").type = "text"; alert("Your password is: "+pass); setTimeout("returnField();", 1000); } function returnField() { document.getElementById("GetValue_b").type = "text"; } /*Made by oXi.*/ </script> <input type="password" name="password" value="" id="GetValue_b">Generate Password Quote
Ghetto Posted February 25, 2008 Posted February 25, 2008 Re: Generate Password Try something like this. Just mess about with it, It's pretty cool. I made it just now. <script language="JavaScript1.1"> function randomPassword(length) { chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; pass = ""; for(x=0;x<length;x++) { i = Math.floor(Math.random() * 62); pass += chars.charAt(i); } return pass; } function Generate_Password() { var pass=randomPassword(6); document.getElementById("GetValue_b").value = pass; document.getElementById("GetValue_b").type = "text"; alert("Your password is: "+pass); setTimeout("returnField();", 1000); } function returnField() { document.getElementById("GetValue_b").type = "text"; } /*Made by oXi.*/ </script> <input type="password" name="password" value="" id="GetValue_b">Generate Password Funny how 'Your' code is found here considering you made it 'Just' now :lol: http://i-code.co.uk/javascript/randompassword.php and http://www.javascriptkit.com/script/scr ... rate.shtml and http://javascript.internet.com/password ... rator.html Quote
ronhouston2 Posted February 28, 2008 Posted February 28, 2008 Re: Generate Password this would be a nice mod but i cant get to work since how i have a difrent regster layout : :-( :-( :-( :-( :-( Quote
$$ ?????? $$ Posted March 1, 2008 Posted March 1, 2008 Re: Generate Password maybe their his sites :lol: Quote
Magictallguy Posted March 14, 2008 Posted March 14, 2008 Re: Generate Password Well you've gotta hand it to Ghetto - He's very vigilant and did his research.. Quote
gurpreet Posted March 14, 2008 Posted March 14, 2008 Re: Generate Password What about if they fill in the normal password field, then generate a password? o.O Quote
Krafty Posted March 15, 2008 Posted March 15, 2008 Re: Generate Password How would this stop multi's or fake email addresses? Quote
Lunny Posted March 24, 2008 Author Posted March 24, 2008 Re: Generate Password How would this stop multi's or fake email addresses? Eeeeh? The purpose of this mod is - if the user can't think of a password, he can just generate one. It doesn't stop multi's or anything like that (I'm not a good enough coder to do those sorts of things yet). You can't use it to exploit anything. It's just JavaScript, which this JavaScript has no connection to your game(s) Quote
Magictallguy Posted April 18, 2008 Posted April 18, 2008 Re: Generate Password Which is indeed what the topic title suggests: "GENERATE PASSWORD" Not: "GENERATE PASSWORD, STOP HACKS, STOP MULTIS, STOP ANYTHING ELSE..." Damn people.. Quote
Lunny Posted April 19, 2008 Author Posted April 19, 2008 Re: Generate Password Which is indeed what the topic title suggests: "GENERATE PASSWORD" Not: "GENERATE PASSWORD, STOP HACKS, STOP MULTIS, STOP ANYTHING ELSE..." Damn people.. Thanks MTG. :mrgreen: Quote
Zero-Affect Posted April 20, 2008 Posted April 20, 2008 Re: Generate Password Thats the first time i seen a generate password modification and someone thinking it stops hacks and multis lmfao Quote
POG1 Posted April 20, 2008 Posted April 20, 2008 Re: Generate Password why not have the random password grnerated when the user clicks the button and it sends the password to the email.... $pass=rand(1000, 99990); and use the mail function. I done that with my register page. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.