Forums Index >> Modding >> Think this isn't hard...



Page : <1> :


...when you type wrong admin password in server with dash admin codes 0.05 you get kicked. How I can set if you write password wrong only comes LOGIN FAILED- message? %) Kicking is mean... :(

Thank you.

Monday, April 11, 2005 at 9:20:18 AM

Find this:

 

                                        
%a1 = "SERVER RESPONSE ";
%a2 = "ADMIN LOGIN FAILED";
chatMessageClient(%sender, %sender, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10);
%name = %sender.nameBase;
%sender.delete( %name SPC $pref::Server::FailedAdminLogin);
schedule(1000,false,"bottomprintall", %sender.nameBase SPC $pref::Server::FaliedAdminLogin ,4);
}
}

 

And Delete this:

 

                                        
%sender.delete( %name SPC $pref::Server::FailedAdminLogin);

 

All set I think...

Monday, April 11, 2005 at 10:38:03 AM

Yep thats it!

Except that there is an error right underneath your noses.....

 

                                        
schedule(1000,false,"bottomprintall", %sender.nameBase SPC $pref::Server:: Falied AdminLogin ,4);

 

I think thats spelt wrong dont you?

 

 

 

 

Last edited: Monday, April 11, 2005 at 3:22:21 PM

Monday, April 11, 2005 at 3:21:49 PM
b20

Yeah, and when you lanch a dedicated server with the admin codes installed, it says Unkown then it goes to it's processes. It should be unknown not unkown. I hope the next verison of dash's script doesen't have that much errors in it.

- b20

Monday, April 11, 2005 at 5:29:25 PM

@Boo
Actually the auto kick feature was added by design
There were trolls sitting in private servers for hours trying to guess passwords
Kinda took the fun from the game.....

@ZeBo
hmm never noticed that one - cool I will fix my local and
working copies. I wonder if dash knows
Roo

 

Tuesday, April 12, 2005 at 3:25:54 AM

Well now I need to know what thingys to delete if I want centerprint off . Kick-code removing is now done. I did what Racer said and now comes centerprint: Boo

:o :)

Tuesday, April 12, 2005 at 7:37:12 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald