zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

Results 1 to 5 of 5
  1. #1
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

    Hi everybody.

    I am working on the zteam season 6 episode 3 sources about 6 -7 mo and now I have just one problem, the chatfilter doesnt work...

    I tryed to debug it. I added everywhere LogAddTD things.. And the log wrote "everything okey" because I seen in the log, the function is loaded or not.. And everything loaded...

    But in the game if I write something bad word I can write again and again.. I dont get chatban..

    Where is the problem? Something missing from the source, or what can be the problem?
    I tryed with the default russian words too, and the new added words.. but nohing...

    Thanks...


  2. #2
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

    Quote Originally Posted by djsad94 View Post
    Hi everybody.

    I am working on the zteam season 6 episode 3 sources about 6 -7 mo and now I have just one problem, the chatfilter doesnt work...

    I tryed to debug it. I added everywhere LogAddTD things.. And the log wrote "everything okey" because I seen in the log, the function is loaded or not.. And everything loaded...

    But in the game if I write something bad word I can write again and again.. I dont get chatban..

    Where is the problem? Something missing from the source, or what can be the problem?
    I tryed with the default russian words too, and the new added words.. but nohing...

    Thanks...
    Edit the ya Filter.bmd in yah client.
    put the Bad words you want to add.

    Save and Exit.

    Others :
    If you want to change the Filter message
    Search for "Pwned by the Filter!" in text.bmd I think or Filter.bmd then change it to whatever you want.
    (for ex. "Oops") XD


    Done

  3. #3
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

    I am speak about the zteam chatfilter system.

    If you write bad words for example: /post fck... you get X min chatban.

    if( g_ChatFilter.CheckText(lpChat->chatmsg) == 0 ) //itt nulla volt
    {
    if( g_ChatFilter.UsePenalty )
    {
    lpObj->ChatLitmitTime += g_ChatFilter.BanTime;
    g_ChatFilterLog.Output("[%s] [%s] (%s) Get chat block +%d [Total: %d]", lpObj->AccountID, lpObj->Name, lpChat->chatmsg, g_ChatFilter.BanTime, lpObj->ChatLitmitTime);
    char Text[100];
    ZeroMemory(Text, 99);
    sprintf(Text, "[ChatFilter] You get +%d minute of ban time", g_ChatFilter.BanTime);
    GCServerMsgStringSend(Text, aIndex, 1);
    }
    // ----
    memcpy(lpChat->chatmsg, "*censored*", MAX_CHAT_LEN-1);
    }

  4. #4
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

    Quote Originally Posted by djsad94 View Post
    I am speak about the zteam chatfilter system.

    If you write bad words for example: /post fck... you get X min chatban.
    ooh. I didn't actually understand your post. so I thought it's just a word filter , something like that.
    my apology. :)

  5. #5
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: zTeam S6 Ep 3 Source -> Chatfilter doesn't work?!

    there is no problem. And of course i will add the words to the filter.bmd... but i dont want to CRC check every files in my client, so maybe this feature is better :P Because you cant "hack" the serverside list, and because the serverside make the chat block, everything can be better :P



Advertisement