[TUTORIAL] Restrict alt-codes from character names

Because most of the stuff which gets released here, is actually useless stuff, Not saying this is completely useless, but there's more bigger things people have to worry about in their servers, not just restricting people from the creativity involving their username. There's bigger things that need addressing, e.g. stopping hackers from hurting gaming communities.

I know that you can create characters with multi-line names, and I believe this stops it, so it does have a use, asides from stopping so-called "creativity."
 
This can also be done by editing the system.mrs -> abuse.txt
Just add all known alt-codes to it...
 
Because most of the stuff which gets released here, is actually useless stuff, Not saying this is completely useless, but there's more bigger things people have to worry about in their servers, not just restricting people from the creativity involving their username. There's bigger things that need addressing, e.g. stopping hackers from hurting gaming communities.

1) Alt Codes in names are annoying, and makes it harder to ban hackers.
2) Very few are able to make an antihack.
3) You will never be able to block hackers completely.
 
Uhh, yes this blocks all(I think, I didn't look at the procedure). Instead of blocking them, it only allows A..Z,a..z,0..9,-,_

This key codes are allowed
Code:
[SIZE=-1]0048 = 0 [/SIZE][SIZE=-1]0049 = 1 [/SIZE]
[SIZE=-1]0050 = 2 [/SIZE][SIZE=-1]0051 = 3 [/SIZE]
[SIZE=-1]0052 = 4 [/SIZE][SIZE=-1]0053 = 5 [/SIZE]
[SIZE=-1]0054 = 6 [/SIZE][SIZE=-1]0055 = 7 [/SIZE]
[SIZE=-1]0056 = 8 [/SIZE][SIZE=-1]0057 = 9 [/SIZE]
[SIZE=-1]0058 = : [/SIZE][SIZE=-1]0059 = ; [/SIZE]
[SIZE=-1]0060 = < [/SIZE][SIZE=-1]0061 = = [/SIZE]
[SIZE=-1]0062 = > [/SIZE][SIZE=-1]0063 = ? [/SIZE]
[SIZE=-1]0064 = @ [/SIZE][SIZE=-1]0065 = A [/SIZE]
[SIZE=-1]0066 = B [/SIZE][SIZE=-1]0067 = C [/SIZE]
[SIZE=-1]0068 = D [/SIZE][SIZE=-1]0069 = E [/SIZE]
[SIZE=-1]0070 = F [/SIZE][SIZE=-1]0071 = G [/SIZE]
[SIZE=-1]0072 = H [/SIZE][SIZE=-1]0073 = I [/SIZE] 
[SIZE=-1]0074 = J [/SIZE][SIZE=-1]0075 = K [/SIZE]
[SIZE=-1]0076 = L [/SIZE][SIZE=-1]0077 = M [/SIZE]
[SIZE=-1]0078 = N [/SIZE][SIZE=-1]0079 = O [/SIZE]
[SIZE=-1]0080 = P [/SIZE][SIZE=-1]0081 = Q [/SIZE]
[SIZE=-1]0082 = R [/SIZE][SIZE=-1]0083 = S [/SIZE]
[SIZE=-1]0084 = T [/SIZE][SIZE=-1]0085 = U [/SIZE]
[SIZE=-1]0086 = V [/SIZE][SIZE=-1]0087 = W [/SIZE]
[SIZE=-1]0088 = X [/SIZE][SIZE=-1]0089 = Y [/SIZE]
[SIZE=-1]0090 = Z [/SIZE][SIZE=-1]0091 = [ [/SIZE]
[SIZE=-1]0092 = \ [/SIZE][SIZE=-1]0093 = ] [/SIZE]
[SIZE=-1]0094 = ^ [/SIZE][SIZE=-1]0095 = _ [/SIZE]
[SIZE=-1]0096 = ` [/SIZE][SIZE=-1]0097 = a [/SIZE]
[SIZE=-1]0098 = b [/SIZE][SIZE=-1]0099 = c [/SIZE]
[SIZE=-1]0100 = d [/SIZE][SIZE=-1]0101 = e [/SIZE]
[SIZE=-1]0102 = f [/SIZE][SIZE=-1]0103 = g [/SIZE]
[SIZE=-1]0104 = h [/SIZE][SIZE=-1]0105 = i [/SIZE]
[SIZE=-1]0106 = j [/SIZE][SIZE=-1]0107 = k [/SIZE]
[SIZE=-1]0108 = l [/SIZE][SIZE=-1]0109 = m [/SIZE]
[SIZE=-1]0110 = n [/SIZE][SIZE=-1]0111 = o [/SIZE]
[SIZE=-1]0112 = p [/SIZE][SIZE=-1]0113 = q [/SIZE]
[SIZE=-1]0114 = r [/SIZE][SIZE=-1]0115 = s [/SIZE]
[SIZE=-1]0116 = t [/SIZE][SIZE=-1]0117 = u [/SIZE]
[SIZE=-1]0118 = v [/SIZE][SIZE=-1]0119 = w [/SIZE]
[SIZE=-1]0120 = x [/SIZE][SIZE=-1]0121 = y [/SIZE]
[SIZE=-1]0122 = z [/SIZE]
 
this may sound a bit noobish but what part of the 2 srcipts stop them
 
nice tut but i done all it worked fine but the last one sais incorrect systax from the key word "key" could somone please tell me how to correct it?
 
Thanks system, saved me some time =)

Thanked you

Ooh also how can I make it some up with the disallowed character message, ATM it just makes it do nothing :p
 
Last edited:
Back