Jump to content


Spam Filter in PM's


49 replies to this topic

#21 Crise

    Developer

  • Management
  • 2,844 posts

Posted 12 April 2009 - 03:43 PM

you need to add that to the bottom of startup.lua as well
Crise
ApexDC++ - Lead Developer

Proud Affiliates of: TechGeeks Online, PeerWeb

#22 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 12 April 2009 - 06:06 PM

Now, there is version 1.1, witch fully compatible with Apex 1.2.0 stabel.


I made this "quick fix" of the sript, because when you newly install the new apex, Favorites.xml file is not present while you not add a hub or a user to the favlist. Now the script is detect that.


Script and "how-to" file uploaded!

#23 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 April 2009 - 03:02 PM

OMG, i uploaded again the version 1.1, because the file in the upper post blcoks the main in some situations. ( i leaved some testing lines in the script, witch i don't want... ;) )


good file:

#24 Asterisk

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 13 April 2009 - 03:03 PM

When i add line dofile( DC():GetAppPath() .. "scripts\\antispam.lua" ) at bottom of startup.lua ApexDC crash on startup ;) I don`t understand how it works (scripts i mean)

#25 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 April 2009 - 03:21 PM

View PostAsterisk, on Apr 13 2009, 05:03 PM, said:

When i add line dofile( DC():GetAppPath() .. "scripts\\antispam.lua" ) at bottom of startup.lua ApexDC crash on startup :D I don`t understand how it works (scripts i mean)

Currently if u enter some hub, it's crash with lua 2.0 errors. Most of the hubs it's works good, but some hub (or hubs) in your favorites currently made some error. Remove my script, uncheck your fav hubs, then add my script again, and you will see, witch hub is the easter egg.

We are still search the source of this problem. ;)

#26 Asterisk

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 16 April 2009 - 10:21 AM

View PostPatch, on Apr 13 2009, 04:21 PM, said:

...Remove my script, uncheck your fav hubs, then add my script again, and you will see, witch hub is the easter egg.
Thanks, it`s help

#27 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 17 April 2009 - 10:11 PM

Now i figured out, what's caused the error.


So there is version 1.11, witch runs fine with Apex 1.2 final and Lua2.0


We coud go back to the developement, what functions shoud i implement? I need ideas...

#28 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 30 April 2009 - 06:05 PM

Now, there is version 1.2

This version contains some bugfixes:

Now the PM type (hubPm or normalPm) displayed correctly in the filterspams.txt.
Now there is no more double display (ignore and spaming) when ignoreing somebody by using ignorelist.


Maybe next version will contain an auto silencer, because some bot sends their spams in every 2-3 minutes.

#29 ders529

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 23 August 2009 - 07:10 PM

I have no "/scripts" folder. how i can install it?

#30 slawekebi

    Newbie

  • Member
  • Pip
  • 15 posts

Posted 24 August 2009 - 06:30 PM

I have problem with last version(1.2)
apex show me this:
Posted Image
^ Failed to load antispam.lua: %1 Is not a valid win32 application
where is the problem?
Posted Image
Posted Image
Posted Image

#31 Mek

    Slovak Translator

  • Support
  • 517 posts

Posted 26 August 2009 - 12:26 PM

View Postders529, on 23 August 2009 - 07:10 PM, said:

I have no "/scripts" folder. how i can install it?
create the folder and put the files there according to the howto file :thumbsup:
ApexDC++ rulez!

#32 slawekebi

    Newbie

  • Member
  • Pip
  • 15 posts

Posted 01 September 2009 - 07:10 PM

Have problem with this plugin.
I download antispam012 and unpack to ..\ApexDC++\Scripts\(antispam.lua)
I put plugin: LuaPlugin.dll (v2.0.0.0) to ..\ApexDC++\Plugins\(LuaPlugin.dll)
When I start application & plugin doesn't work - (don't show enything). How I must to do to working plugin?
btw I read "how to use.txt" and I add last line to antispam.lua
What I'm doing wrong?
Posted Image
Posted Image
Posted Image

#33 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 10 September 2009 - 08:13 PM

View Postslawekebi, on 01 September 2009 - 07:10 PM, said:

Have problem with this plugin.
I download antispam012 and unpack to ..\ApexDC++\Scripts\(antispam.lua)
I put plugin: LuaPlugin.dll (v2.0.0.0) to ..\ApexDC++\Plugins\(LuaPlugin.dll)
When I start application & plugin doesn't work - (don't show enything). How I must to do to working plugin?
btw I read "how to use.txt" and I add last line to antispam.lua
What I'm doing wrong?

Other scripts works fine? (uptime, bier)

#34 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 11 September 2009 - 04:12 PM

Now, there is version 1.3!

bugfix: Works without Faworites.xml file (bcdc++ related)

Improvement:
- now fully working menu
- will not send "/as fgdfgd" commands to hub

Attached Files



#35 Cao

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 12 November 2009 - 01:30 PM

Nice script, i installed it with no problems

But I'd like to receive the *SPAM* message in the main chat (if possible?)and not in the status bar, any idea how to do that? i used the' /as texttomain on' option and still no change. Or to receive it in a separate pm window or something other than that status bar where i almost never look :whistling:
Same thing happens with the /uptime reply but that's a whole different story i suppose and has nothing to do with your script.

PS: Should i have asked this on the Lua Plugin 2.00 topic? if so, i apologise.

#36 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 November 2009 - 10:56 AM

View PostCao, on 12 November 2009 - 01:30 PM, said:

Nice script, i installed it with no problems

But I'd like to receive the *SPAM* message in the main chat (if possible?)and not in the status bar, any idea how to do that? i used the' /as texttomain on' option and still no change. Or to receive it in a separate pm window or something other than that status bar where i almost never look :whistling:
Same thing happens with the /uptime reply but that's a whole different story i suppose and has nothing to do with your script.

PS: Should i have asked this on the Lua Plugin 2.00 topic? if so, i apologise.

"Text to main" copies the whole spam to the main chat window (to the spammer's hub main chat window). I think, you just want single line in main chat window like: "AS filter blocked spam form [xyz]userxyz". I can do this, but it will display only in the spammer's hub main chat. So that line not displayed in other hub's main chat window. That's why we use the status bar. Maybe i can put some sound to the script.

#37 Cao

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 13 November 2009 - 05:43 PM

View PostPatch, on 13 November 2009 - 10:56 AM, said:

"Text to main" copies the whole spam to the main chat window (to the spammer's hub main chat window). I think, you just want single line in main chat window like: "AS filter blocked spam form [xyz]userxyz". I can do this, but it will display only in the spammer's hub main chat. So that line not displayed in other hub's main chat window. That's why we use the status bar. Maybe i can put some sound to the script.

Yeah, i thought there was already an option that sends the filtered message in the active main chat window (just like a regular line of text) or like when you uncheck the "filter kick messages" and they show up on the chat afterwards. But i only thought that this option might already be and i just can't find the right setting for it, if it's not, i don't think it's worth the trouble for you to make it. It would be nice though to be able to click on a link if you find it interesting... and you can't do that if the line of text goes in the status bar:)

Congratulations are in order for this very nice script, i personally don't *really really* need it since i only stay on one tiny hub, but I'm sure there are loads of users who will benefit from it.

Later edit: Actually, i found that /as readspam [number] does exactly what i wanted, except it's not automatic, which is not a big deal, thank you for taking your time to answer me, it was most kind.

#38 Crise

    Developer

  • Management
  • 2,844 posts

Posted 14 November 2009 - 12:26 PM

You could actually use separate PM window if wanted... if you send PM to yourself. :whistling:
Crise
ApexDC++ - Lead Developer

Proud Affiliates of: TechGeeks Online, PeerWeb

#39 Mek

    Slovak Translator

  • Support
  • 517 posts

Posted 26 February 2010 - 07:21 PM

Can this plugin be extended to filter mainchat messages as well?
For example, some hubs have annoying trivia bots, or on some other hubs there are annoying mainchat messages when some VIP user joins... but who cares? :huh:
Thank you for reply.
ApexDC++ rulez!

#40 Patch

    Member

  • Member
  • PipPip
  • 47 posts

Posted 07 March 2010 - 10:26 AM

View PostMek, on 26 February 2010 - 07:21 PM, said:

Can this plugin be extended to filter mainchat messages as well?
For example, some hubs have annoying trivia bots, or on some other hubs there are annoying mainchat messages when some VIP user joins... but who cares? ^_^
Thank you for reply.

With the lua plugin 1.3.0 can't. The chat listener is not work in that release. With the next lua plugin release i think can be done your idea.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users