![]() |
Name Restrictions - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Name Restrictions (/showthread.php?tid=1807) |
Name Restrictions - Poyzin - 01-06-2008 Does anyone know how to put it so no one can put certain letters or symbols in there name? I'm stumped. Thanks in advance. Re: Name Restrictions - mustorze - 01-06-2008 I made a plan ... Code: Private Sub Command1_Click() Re: Name Restrictions - Poyzin - 01-06-2008 Nah it don't work..And where do I put that anyway rofl Edit: Texta gets the compile error Edit 2: Nevermind. I get it..but it doesnt not let you use those words..just adds them ![]() Re: Name Restrictions - Anthony - 01-06-2008 There is a code in there to prevent the use of high ascii characters as well as one that prevents the use of Consty's name. Search for these and you should be able to figure it out that way. Re: Name Restrictions - Poyzin - 02-06-2008 Heh, sorry. Couldn't find anything. Searched for Consty Consty Name Prevent Restriction Prevent Name symbol symbol restriction and some more :oops: Re: Name Restrictions - Anthony - 02-06-2008 Probably was removed in MSE2 if thats what your using. So, lets just say, go to your server side source, find the "Add character packet" in modHandleData. There should be another one there that's like this: [code] ' Prevent hacking For i = 1 To Len(Name) n = Asc(Mid(Name, i, 1)) If (n >= 65 And n = 97 And n = 48 And n Re: Name Restrictions - Pbcrazy - 02-06-2008 http://rmhh.co.uk/ascii.html heres a link to a site that has the keycodes. Re: Name Restrictions - Poyzin - 02-06-2008 Anthony! THANK YOU THANK YOU THANK YOU! IT WORKED ![]() Re: Name Restrictions - William - 03-06-2008 Obsidian made a tutorial so you can't have swear words in the chat. |