Forums Index >> Modding >> Art Crazy please come and read......



Page : <1> :


On your admin script you have made I was wandering if you could help me out on being able to change a part of the script that will only show the banned IP address of the person and not their name when they try to come in. If you can help me on that and tell me how to place it I would appreciate it. For this it might even help out other people too to stop people that want to try to come back in but still uses bad names and sayings when they can not get back in. I feel that we do not still need to see it in our mods. Also if we can still be able to keep it so it still logs the full name and IP in the logger? Thanks again.

 

Tuesday, October 24, 2006 at 6:28:56 PM

Go to your ACAS directory, and find the file named GameConnection.cs

Then find these lines:

 

                                        
else if(isBanned(%ip))
{
centerprintall("BANNED PLAYER REJECTED: " @ %name @ " " @ %netAddress,4,1);
logConnection(%name,%ip,"banned player rejected");
return "CR_YOUAREBANNED";
}

 

Once you do, replace the lines above with THIS:

 

e lse if(isBanned(%ip))
{
c enterprintall("BANNED PLAYER REJECTED: " @ %netAddress,4,1);
l ogConnection(%name,%ip,"banned player rejected");
r eturn "CR_YOUAREBANNED";
}

 

 


Wednesday, October 25, 2006 at 6:17:12 AM

Thank you Art for your help on this.

 

Wednesday, October 25, 2006 at 9:45:08 PM

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