Hatake Kakashi Posted December 15, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share Posted December 15, 2011 (edited) my server got hacked and i need a script that with second password to all players. thank you. damn hackers. i already ip ban hacker ip yesterday but i think his ip change now. please help me guys. Edited December 15, 2011 by hatake Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 15, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted December 15, 2011 - script Login_Events -1,{ OnPCLoginEvent: if ( #secondpass == 0 ) { mes "We are now requiring that each player have a secondary account password."; mes "The system indicates that you don't have one yet."; mes "What would you like your secondary password to be?"; input @secondpass$; set #passsec$,@secondpass$; set #secondpass,1; next; mes "Thanks for setting up your password. You will now be disconnected."; close2; atcommand "@kick "+strcharinfo(0); end; } else { mes "Please type in your secondary password"; input @secondpass$; if ( @secondpass$ != #passsec$ ) { mes "You typed in the wrong password."; close2; atcommand "@kick "+strcharinfo(0); end; } mes "Thank you and have a great day!"; close; } } Untested, tell me how it works. Please tell me you're not using TXT for your live server... Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 15, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 15, 2011 do you have another script for gm acc? thanks Quote Link to comment Share on other sites More sharing options...
Judas Posted December 15, 2011 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted December 15, 2011 nice script Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 15, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted December 15, 2011 (edited) do you have another script for gm acc? thanks What do you mean by for GM Account? This works for GMs as well. nice script Thanks! Edited December 15, 2011 by Arcenciel Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 15, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 15, 2011 its working. thanks to you... Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 15, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 15, 2011 how to reset password when he forgot it? Quote Link to comment Share on other sites More sharing options...
Gerome Posted December 15, 2011 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 185 Reputation: 26 Joined: 12/07/11 Last Seen: January 31 Share Posted December 15, 2011 You can manually reset or change it in your database on table global_reg_value.. or add a menu like "forgot password" but first you must add Secret Question after they inputed there Secondary Password. Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 15, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 15, 2011 nice idea trixie, but how to add it? thanks @arcen good idea of trixie isn't it? can you put it? thank you. Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 15, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted December 15, 2011 (edited) I made the edits..this is again untested so tell me how it goes. EDIT: Oops. forgot something. Reuploaded the file. Edited December 15, 2011 by Arcenciel Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 16, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 16, 2011 i can't see forgot password, but the secret question and answer only, no forgot pass. Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 16, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted December 16, 2011 (edited) Did you even read the NPC messages? It says type in Forgot if you can't remember your secondary password.... Edited December 16, 2011 by Arcenciel Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted December 16, 2011 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted December 16, 2011 but where can i find the forgot? because i try it to put wrong password but no forgot pass. Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 16, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted December 16, 2011 (edited) If you put in the wrong password, it kicks you off right away. If you can't remember your password, you type in "Forgot" and it brings you to the menu where you can reset your password using your secondary question. EDIT: Tested it and made some modifications. It should work without any errors now. something.txt Edited December 16, 2011 by Arcenciel Quote Link to comment Share on other sites More sharing options...
Chickz Posted June 20, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Share Posted June 20, 2012 (edited) i want to insert if( getgmlevel() < 90 ) end; where should i put it?? Edited June 20, 2012 by chilo1 Quote Link to comment Share on other sites More sharing options...
PewN Posted June 28, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted June 28, 2012 i think it's useless whY?. if the server have @warp or @go. you can do it by pressing alt+m and type @go p. so he can bypass the password Quote Link to comment Share on other sites More sharing options...
Question
Hatake Kakashi
my server got hacked and i need a script that with second password to all players. thank you.
damn hackers.
i already ip ban hacker ip yesterday but i think his ip change now.
please help me guys.
Edited by hatakeLink to comment
Share on other sites
15 answers to this question
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.