Phantom Of Rogue-Gon Posted September 3, 2013 Posted September 3, 2013 (edited) hello, GM password level 2 above have password for anti hack gm Level i have many treats to my server if the incorrect the password 10mins before login again Edited September 3, 2013 by Phantom Of Rogue-Gon Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 Post Reasonable Requests - Don't just say, I want a quest npc... Explain yourself, if it's something already made, use it. Elaborate more on your request. Quote
xienne15 Posted September 3, 2013 Posted September 3, 2013 (edited) I think he want a secondary password on his GM accounts, and when someone log in it and put the wrong password, the user will be bocked for 10 minutes before the account can login again Edited September 3, 2013 by xienne15 Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 sorry for my bad english Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 sorry for my bad english Try : - script Sample -1,{ OnPCLoginEvent: set .@password$, "abcdefgh123"; // GM password set .@time, 10; // 10 minutes if ( getgmlevel() < 2 ) end; if ( gettimetick(2) < #timer ) { mes "You cannot login"; close2; atcommand "@kick " +strcharinfo(0); end; } sc_start sc_berserk, 1000000000, 1; mes "Input your password"; next; input .@p$; if ( .@p$ != .@password$ ) { set #timer, gettimetick(2) + ( .@time * 60 ); sc_end sc_berserk; close2; atcommand "@kick " +strcharinfo(0); end; } else { sc_end sc_berserk; mes "Thanks for your cooperation"; close; } } Quote
Question
Phantom Of Rogue-Gon
hello,
GM password level 2 above have password
for anti hack gm Level i have many treats to my server
if the incorrect the password 10mins before login again
Edited by Phantom Of Rogue-Gon4 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.