Resource icon

Approved IllegalName 1.4

No permission to download

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
DreTaX submitted a new resource:

IllegalName - Make People get instant Disconnect if their name is null, or you denied their name.

INI:
[options]
[COLOR=#808080]protection1=1 If this option is 1 it blocks players with special characters
protection1=2 If this option is 2, it only blocks noname glitchers
protection1=3 If this option is 3 then It does both at once.
[/COLOR]
DisconnectReason=Your name is not appropriate for our server. Change It. // Disconnect reason, if player name contains or equals with one of the denied words.
DisconnectReason2=Your name is too short, or contains illegal characters. Change It. //...
Read more about this resource...
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
86
18
California
Using the python version with updated IronPython...
[10/4/2014 12:18 PM] Error caught at TrytoGrabName method.
[10/4/2014 12:40 PM] Error caught at TrytoGrabName method.
[10/4/2014 12:41 PM] Error caught at TrytoGrabName method.
[10/4/2014 1:07 PM] Error caught at TrytoGrabName method.
[10/4/2014 1:28 PM] Error caught at TrytoGrabName method.
[10/4/2014 1:29 PM] Error caught at TrytoGrabName method.
[10/4/2014 2:18 PM] Error caught at TrytoGrabName method.
And with protection 3, blocking
[r10T]MEEPMEEP
But no illegal characters...?Believe the above error is due to this guy.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
Using the python version with updated IronPython...


And with protection 3, blocking But no illegal characters...?Believe the above error is due to this guy.
If error occurs at the TrytoGrabName method, plugin automatically returns to avoid the flooding errors.

I don't understand your problem. Are you talking about that you are having those errors? If so, thats pretty normal in rust it self, since on the onconnected event, player can simply close It's rust, while connecting. At that point error can happen, but there are also different reasons for It.

Basically all my method does, that It checks if it is able to get the player's name. If not, we will return, so It won't flood your server to death.

If you think the logging is annoying, you can remove It at this line.
 
Last edited:

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
86
18
California
My problem seems to be AC possibly? anticheat error may be related to when he is kicked.
Code:
[10/4/2014 2:45:09 PM] [Console] [AC] Nick: [r1oT]MEEPMEEP. Banned chars in name.
I was unsure if your plugin or AC is preventing someone from joining WITHOUT illegal characters in his name which relates to your plugin, hence why I posted here. That's the problem. I thought MAYBE the error would help. Hope that makes more sense, A.D.H.D. sucks hard to relay what I am thinking to words.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
My problem seems to be AC possibly? anticheat error may be related to when he is kicked.
Code:
[10/4/2014 2:45:09 PM] [Console] [AC] Nick: [r1oT]MEEPMEEP. Banned chars in name.
I was unsure if your plugin or AC is preventing someone from joining WITHOUT illegal characters in his name which relates to your plugin, hence why I posted here. That's the problem. I thought MAYBE the error would help. Hope that makes more sense, A.D.H.D. sucks hard to relay what I am thinking to words.
Python has a much better matching method than JS. But I think skippi screwed it

https://github.com/dretax/Python-Plugins/blob/master/IllegalName/IllegalName.py#L83
 
  • Useful
Reactions: CorrosionX

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
86
18
California
  • Like
Reactions: DreTaX

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
Didn't know that. TY! Converting my plugins to python as we speak. Python makes more sense to me than c#, however, understanding each programming language's syntax can be very useful. The Tab's or Spaces only was annoying at first XD
Use PyCharm, and It won't be that annoying :D
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
Had it installed on my Mac, but then it didnt work with IronPython so removed it. Guess I'm going to redownload it.
The only problem is.that notepad++ doesnt check for idents(tabs) and you can make mistakes with It. Ofc those who know Python have many experiences with It, but after a time you dont wamt to spend time finding the wrong ident :D. Basically PyCharm does that for you. Sadly i domt have mac to.tell you whats wrong, but im sure you are a guy who can figure it out.

Sent from my Samsung Galaxy S4
 
  • Agree
Reactions: CorrosionX

balu92

Retired Staff
Retired Staff
Trusted Member
Jul 11, 2014
338
75
28
34
Also, sublime text has a good python syntax helper, it's better then notepad++, and it's multiplatform. You can use it for free, no time trial or something.
 
  • Like
Reactions: CorrosionX

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
86
18
California
Also, sublime text has a good python syntax helper, it's better then notepad++, and it's multiplatform. You can use it for free, no time trial or something.
I've heard of sublime text, but downloaded text wrangler first and was using it since, forgetting about it.
 

h0wHigh

Retired Staff
Retired Staff
Aug 5, 2014
103
9
18
Any chance of adding so it detects people who use like Character map, it seems to let almost all of those characters.
 

h0wHigh

Retired Staff
Retired Staff
Aug 5, 2014
103
9
18
People who can use special characters like these (ʤʨϾЎӞ) and like nuke symbols in their name etc.
If you're using Windows 7 or 8, it'll be under System tools or similiar and you'll see what im talking about.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,815
113
At your house.
github.com
People who can use special characters like these (ʤʨϾЎӞ) and like nuke symbols in their name etc.
If you're using Windows 7 or 8, it'll be under System tools or similiar and you'll see what im talking about.
This plugin has to be rewritten and work like my pluton version. Will see what can I do.

Sent from my Samsung Galaxy S4