virtualshogun Posted August 23, 2009 Posted August 23, 2009 basic idea with this mod you add one value to your users table called locked and if the player dose something that breaks the rules they cant do anything but login and logout... it wont let them access links.. ----------in Mainmenu.php add------------ if($ir['locked'] > 0) { print " <td align=center></td> "; die('<table border = "1" > <td><font color =red>!! Your Account Has Been Locked There Is No Way Around This!! </font>                                             [ Logout ]</td>'); } then add a field to users called "locked" `locked` int(11) NOT NULL DEFAULT '0', then add a button in viewusers.php in the staff section with mysql_query("UPDATE users SET locked = 1 WHERE userid=$userid",$c); to unlock the account simply add a button to unlock it mysql_query("UPDATE users SET locked = 0 WHERE userid=$userid",$c); Quote
Feky Posted August 23, 2009 Posted August 23, 2009 Re: Locked Account Mod [V2] why not just fed the user Quote
MyGunWars Posted August 23, 2009 Posted August 23, 2009 Re: Locked Account Mod [V2] Ya This Would Be A Good Mod If The User Try's To Login In To His Account 4 Times And It Dose Not Let Him In Because Of The Wrong Password Then It Locks His Account For A Day. But I Just Use Fed Jail For Something Like This It Seems Like The Same Thing. Quote
Olz Posted August 23, 2009 Posted August 23, 2009 Re: Locked Account Mod [V2] Ya This Would Be A Good Mod If The User Try's To Login In To His Account 4 Times And It Dose Not Let Him In Because Of The Wrong Password Then It Locks His Account For A Day. But I Just Use Fed Jail For Something Like This It Seems Like The Same Thing. Think about what you just said. You are suggesting an automatic lock on an account if the "user" inputs the wrong password more than 4 times. If that was so, whats stopping someone locking anyones account themselves out of spite? Example: -User1 falls out with User2. -User1 decides to log out and try to login to User2's account. -By intentionally inputing the wrong password 4 times, he has User2 banned for a day. Im not sure this was what you was suggesting but it would not work :-P Quote
weewooz Posted August 23, 2009 Posted August 23, 2009 Re: Locked Account Mod [V2] spot on olz that would not work sure you would find in 4 or 5 days you will have no players Quote
virtualshogun Posted August 23, 2009 Author Posted August 23, 2009 Re: Locked Account Mod [V2] then you have an account locker, why not use a cookie something ive been thinking about / working on is a passkey file that you gotta have on your pc to access certain things, like admin account, example call the file Pass.txt it would be on your local drive C:\Pass.txt when logining in it looks for that file, so even if the admin account gets hacked if they dont have Pass.txt in the C:\ directory then they litterly cannot get into the staff pannel eliminateing the hacker getting in and totally changeing things, like giveing the users millions of (insert item / cash here ?) my thoughts. Quote
MyGunWars Posted August 24, 2009 Posted August 24, 2009 Re: Locked Account Mod [V2] Ya This Would Be A Good Mod If The User Try's To Login In To His Account 4 Times And It Dose Not Let Him In Because Of The Wrong Password Then It Locks His Account For A Day. But I Just Use Fed Jail For Something Like This It Seems Like The Same Thing. Think about what you just said. You are suggesting an automatic lock on an account if the "user" inputs the wrong password more than 4 times. If that was so, whats stopping someone locking anyones account themselves out of spite? Example: -User1 falls out with User2. -User1 decides to log out and try to login to User2's account. -By intentionally inputing the wrong password 4 times, he has User2 banned for a day. Im not sure this was what you was suggesting but it would not work :-P Ok How About Part Two That You Just Helped Me Come Up With The Locked User Logins In And His Accounts Blocked For A Day But He Had The Right User Name And Pass Word. It Come Up And Says "Your Account Has Been Locked For A Day Because Someone Tried To Login In Your Account And Failed Four Times. To Un-Lock Your Account Click Below". And There Will Be A Like To A File That Sends The User A Email That Has A Link In The E-Mail That He Must Click To Un-Lock His Account. I Think This Is A Good Mod. :-D Quote
Danny696 Posted August 24, 2009 Posted August 24, 2009 Re: Locked Account Mod [V2] Why do you capatilise every word? Quote
CrazyT Posted August 24, 2009 Posted August 24, 2009 Re: Locked Account Mod [V2] Why do you capatilise every word? Yeah takes longer to read there post when they do that. lol Quote
MyGunWars Posted August 24, 2009 Posted August 24, 2009 Re: Locked Account Mod [V2] Why do you capatilise every word? You know i dont know why. LOL So what do you think about the mod? Quote
Faz` Posted August 24, 2009 Posted August 24, 2009 Re: Locked Account Mod [V2] Why do you capatilise every word? Yeah takes longer to read there post when they do that. lol I never actually noticed that but its true, it does take longer. Weird lol Quote
CrazyT Posted August 25, 2009 Posted August 25, 2009 Re: Locked Account Mod [V2] Why do you capatilise every word? Yeah takes longer to read there post when they do that. lol I never actually noticed that but its true, it does take longer. Weird lol Yup. :lol: Quote
MyGunWars Posted August 25, 2009 Posted August 25, 2009 Re: Locked Account Mod [V2] XD I will try to type like this so its better for you. Quote
CrazyT Posted August 25, 2009 Posted August 25, 2009 Re: Locked Account Mod [V2] XD I will try to type like this so its better for you. I knew you would just for me. LMFAO! Quote
Impossible Posted August 26, 2009 Posted August 26, 2009 Re: Locked Account Mod [V2] Yeah, Marc, that's why it takes me so dang long to read your MSN messages, because you do that capitalize stuff. Anyways, nice seeing you here. ...Back on subject. In the first place, user's should not have the same login name and username. If you put a lock on the login name, it wouldn't be so bad. But, I wouldn't want a complete lock. At least let them be able to mail a staff member, talking about what happened. Not just lock after 4 attempts. I have so many passwords, that it takes me a couple times to go through my list. lol. Quote
MyGunWars Posted August 26, 2009 Posted August 26, 2009 Re: Locked Account Mod [V2] I told a friend of mine about my mod idea and hes helping me come up with some stuff. We go this so far. It works off a COOKIE but I want something eles I dont want to use COOKIES on my web site. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 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.