1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Approved IllegalName [Deleted]

Discussion in 'Releases' started by DreTaX, Aug 12, 2014.

Thread Status:
Not open for further replies.
  1. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    DreTaX submitted a new resource:

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

    Read more about this resource...
     
    #1
  2. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    #2
  3. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    #3
  4. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    #4
  5. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    #5
  6. CorrosionX
    Offline

    CorrosionX Plugin Developer Plugin Developer

    Joined:
    Sep 3, 2014
    Messages:
    212
    Likes Received:
    16
    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.
     
    #6
  7. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    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.
     
    #7
    Last edited: Oct 5, 2014
  8. CorrosionX
    Offline

    CorrosionX Plugin Developer Plugin Developer

    Joined:
    Sep 3, 2014
    Messages:
    212
    Likes Received:
    16
    My problem seems to be AC possibly? anticheat error may be related to when he is kicked.
    Code (Text):
    [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.
     
    #8
  9. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    AC causes it.

    Well yea. Mine doesn't do things like that :p

    Sent from my Samsung Galaxy S4
     
    #9
    Last edited: Oct 5, 2014
  10. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    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
     
    #10
    • Useful Useful x 1
  11. CorrosionX
    Offline

    CorrosionX Plugin Developer Plugin Developer

    Joined:
    Sep 3, 2014
    Messages:
    212
    Likes Received:
    16
    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
     
    #11
    • Like Like x 1
  12. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    Use PyCharm, and It won't be that annoying :D
     
    #12
  13. CorrosionX
    Offline

    CorrosionX Plugin Developer Plugin Developer

    Joined:
    Sep 3, 2014
    Messages:
    212
    Likes Received:
    16
    Had it installed on my Mac, but then it didnt work with IronPython so removed it. Guess I'm going to redownload it.
     
    #13
  14. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    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
     
    #14
    • Agree Agree x 1
  15. balu92
    Offline

    balu92 Moderator Moderator

    Joined:
    Jul 11, 2014
    Messages:
    338
    Likes Received:
    31
    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.
     
    #15
    • Like Like x 1
  16. CorrosionX
    Offline

    CorrosionX Plugin Developer Plugin Developer

    Joined:
    Sep 3, 2014
    Messages:
    212
    Likes Received:
    16
    I've heard of sublime text, but downloaded text wrangler first and was using it since, forgetting about it.
     
    #16
  17. h0wHigh
    Offline

    h0wHigh Member Member

    Joined:
    Aug 5, 2014
    Messages:
    103
    Likes Received:
    3
    Any chance of adding so it detects people who use like Character map, it seems to let almost all of those characters.
     
    #17
  18. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    Character map?
     
    #18
  19. h0wHigh
    Offline

    h0wHigh Member Member

    Joined:
    Aug 5, 2014
    Messages:
    103
    Likes Received:
    3
    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.
     
    #19
  20. DreTaX
    Offline

    DreTaX Probably knows the answer... Administrator

    Joined:
    Jun 29, 2014
    Messages:
    3,927
    Likes Received:
    705
    This plugin has to be rewritten and work like my pluton version. Will see what can I do.

    Sent from my Samsung Galaxy S4
     
    #20
Thread Status:
Not open for further replies.

Share This Page