blackkat9666 Posted December 8, 2009 Author Share Posted December 8, 2009 I was wondering if it would be possible to make that when a player creates a character, with a word in the curse filter, a message would pop up and say "Please chose a more apropriate name for your character!".I suck too much at coding and even sadscript at the moment -.- Link to comment Share on other sites More sharing options...
MikeyB2k9 Posted December 8, 2009 Share Posted December 8, 2009 @blackkat9666:> I was wondering if it would be possible to make that when a player creates a character, with a word in the curse filter, a message would pop up and say "Please chose a more apropriate name for your character!".> I suck too much at coding and even sadscript at the moment -.-If your server/accountsthere's a CharList.txtJust simply type in every inappropriate name there so no1 else can take it.And put a warning if a player does choose an inappropriate name they will be deleted/banned.Then just update the list as people create dodgy names. - Delete the char, and make sure the name stays in CharList.txtEasiest way to do it Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 8, 2009 Author Share Posted December 8, 2009 yeah but there's so many possibilities…and there's like "fckdog" and such, there's people that combine the weirdest words...anyways i'm sure it's possible :/ Link to comment Share on other sites More sharing options...
balliztik1 Posted December 8, 2009 Share Posted December 8, 2009 Depending on your Eclipse version, you could just have it run the word filter on players' names. If it catches anything, you can forbid it. However, the filter was removed a while back. Not sure which versions have it and which don't. Link to comment Share on other sites More sharing options...
SHADERS Posted December 8, 2009 Share Posted December 8, 2009 or you can just ban anyone that has a innapropriate name. such as vajaja's. lol Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 8, 2009 Author Share Posted December 8, 2009 @Ballie 2.7 and the filter's not there…urg and I liked the idea of a curse filteranyways, there must be a way to add that back in ourselves, right?@SHADERS that would take a lot of moderating time Link to comment Share on other sites More sharing options...
SHADERS Posted December 8, 2009 Share Posted December 8, 2009 @blackkat9666:> @SHADERS that would take a lot of moderating timeunless you have a moderator pm you of every innapropriate name.or simpler. add a script that blocks every single dirty word in the english vocab Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 8, 2009 Author Share Posted December 8, 2009 That's why I made the topic, I suck at scripting and sourcing and was wondering if it was possible and easy or not.But, like I said in my first post, I wanted a message that pops up when someone creates a character with a bad word in it.Example: someone creates a character named "fckme" it wont let him/her create it and a message would pop up and say "Please chose a more apropriate name!"Kinda like if a name's already taken but diffrent. Link to comment Share on other sites More sharing options...
balliztik1 Posted December 8, 2009 Share Posted December 8, 2009 In the source tutorials section I made a tutorial for a better word filter. It's a bit outdated, since the stuff it references is gone, but it still works. In fact, you wouldn't really need to do much. You'd just have to add the appropriate subs and variables, and call it during the character creation process. It'd have to be changed to throw an error rather than swap out the words, though. Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 8, 2009 Author Share Posted December 8, 2009 thanks for telling me that Ballie :)I guess I'll try and see if I can atempt to do that…I know it'll fail lolEDIT: Ok so I found the new account packet, I just don't know where I would put the code to block names. Do I just put it under? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now