[RP] Filter Script. [SLEDMORE]

Results 1 to 21 of 21
  1. #1
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    [RP] Filter Script. [SLEDMORE]

    Hey guys,

    I haven't really done a nice release in a while, So today here is a little filter script. Which will make words like, "tbh" come out as "To be honest".

    I know there is easier ways, but you do have to keep rebooting your emulator doing it the other way. Whereas this way you don't!

    Anyway here we go;


    1) Open stringManager.cs
    2) Search for this; "private static string filterCensor;" (with no quotations).
    3) Change it to "private static string[] filterCensor;" (with no quotations).
    4) Search for this; "public static void initFilter(bool Update)" (with no quotations).
    5) Under "swearWords = dataHandling.dColToArray(dCol);" (with no quotations).
    6) Add this:
    Code:
                    DataColumn dCol2;
                    using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                    {
                        dCol2 = dbClient.getColumn("SELECT wordfilter_censor FROM wordfilter");
                    }
                    filterCensor = dataHandling.dColToArray(dCol2);
    7) Find this:
    Code:
    Text = Strings.Replace(Text, swearWords[i], filterCensor, 1, -1, Constants.vbTextCompare);
    8) Replace with this:
    Code:
    Text = Strings.Replace(Text, swearWords[i], filterCensor[i], 1, -1, Constants.vbTextCompare);
    9) Upload this SQL to your database:
    Code:
    CREATE TABLE IF NOT EXISTS `wordfilter` (
      `id` int(10) NOT NULL AUTO_INCREMENT,
      `word` varchar(100) COLLATE latin1_general_ci NOT NULL,
      `wordfilter_censor` varchar(100) COLLATE latin1_general_ci NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=12 ;
    10) Reboot your emulator, When you add data to it, make sure you do :refresh filter (if you have the command).

    This does work, If not tell me the error (As I had to guess what I had done cause I had done this ages ago lol).
    Last edited by Sledmore; 27-11-10 at 09:26 AM.


  2. #2
    I use to love it more! Jmandupree is offline
    MemberRank
    Oct 2009 Join Date
    /ragezone/homeLocation
    996Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Good I Guess do u have a good working rp emu?

  3. #3
    Banned Jetsss is offline
    BannedRank
    Nov 2010 Join Date
    C:/xampp/htdocsLocation
    78Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Nice it works! smexyy release :P

  4. #4
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Nice one sexy sledy soon as im recovered from my i'll ness i can test this out ;]

  5. #5
    Account Upgraded | Title Enabled! No0b is offline
    MemberRank
    Jul 2010 Join Date
    Michigan, USLocation
    1,426Posts

    Re: [RP] Filter Script. [SLEDMORE]

    good job nice release D:

  6. #6
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Aha, Thanks guys, and @jmandurpree, Yeah I do.

  7. #7
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Nice release,

    @jmandurpree Fuck you and stop with stealing my avatar fag, if you can't pixel then search some picture on google but don't steal my fucking avatar >:(
    Last edited by PEjump2; 27-11-10 at 09:57 AM.

  8. #8
    I use to love it more! Jmandupree is offline
    MemberRank
    Oct 2009 Join Date
    /ragezone/homeLocation
    996Posts

    Re: [RP] Filter Script. [SLEDMORE]

    @Pejump It;s Just to awsome Lol

  9. #9
    Banned RockStar7 is offline
    BannedRank
    Aug 2008 Join Date
    IndianaLocation
    379Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Yeah, there is many many ways of doing this script. Another way of doing this, is going into your chat packets, and add this snippet.

    Code:
     if (Message == "lol")
                                            {
                                                Message = "*laughs*";
                                            }
    Yeah, but either way I guess. :P

  10. #10
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Quote Originally Posted by jmandupree View Post
    @Pejump It;s Just to awsome Lol
    learn to pixel ,idiot

  11. #11
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Why so much spam in my thread lol, And thanks for the comments that are about the release.

  12. #12
    swagggggg Livar is offline
    MemberRank
    Oct 2008 Join Date
    United KingdomLocation
    2,272Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Good release, Craig! -hi5

  13. #13
    hoi ik ben cool Merijn is offline
    MemberRank
    Dec 2009 Join Date
    The NetherlandsLocation
    492Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Thanks, great release.

  14. #14
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Cheers guys ^^.

  15. #15
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: [RP] Filter Script. [SLEDMORE]

    tbh no lie, I was waiting on a Code like this, thanks Sleddy!

  16. #16
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Quote Originally Posted by davidon View Post
    tbh no lie, I was waiting on a Code like this, thanks Sleddy!
    why didnt ya ask me? D:

  17. #17
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Quote Originally Posted by Shacobesaurus™ View Post
    why didnt ya ask me? D:
    I didnt think of that xD
    Didnt know you could do this

  18. #18
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: [RP] Filter Script. [SLEDMORE]

    No caching and you're adding the database portion outside the original bounds of Ion. You realize your practices are the same reason Roy fucked over uber so much in the first place? Learn 2 Ion.

  19. #19
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: [RP] Filter Script. [SLEDMORE]

    why have all your post be bad comments scott?

  20. #20
    Apprentice JahaO is offline
    MemberRank
    Dec 2010 Join Date
    10Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Nice release it works amazeing! :D

  21. #21
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: [RP] Filter Script. [SLEDMORE]

    Whats the point to have a word filter when its a "Role play game?"



Advertisement