Patch

Member
  • Content count

    47
  • Joined

  • Last visited

Posts posted by Patch


  1. Windows 7 64bit. ApexDC 1.3.5 x64

    In FilterSpams.txt I replace all words "spam" to "spa_m". It was corrects this error.

    Also was error, because file located in:

    C:\Documents and Settings\lis.KONTUR\Application Data\ApexDC++\DCPlusPlus.xml

    Your ApexDC is installed to the Application Data folder?

    When you got the error u used the "/as readspam #" command?


  2. Thank you, now all works ok.

    But, log.lua and uptime.lua from your startup.lua are absent in standart plugin installation set (). I found them in BCDC++ package, but...  log.lua is not worked in ApexDC++. Can you help me, where i can find BCDC++ lua scrips ported to ApexDC++ ?

    Uptime.lua and Log.lua works fine with Apex 1.3.1, i think, these scripts came from BCDC++, but quite old scripts. I think, nobody porting scripts from BCDC to Apex.

    I will post these scripts, and maybe other working scripts to the forum, after some tryout.

    ***update - my log.lua is older than wich included in actual bcdc. The newer version not works.

    post-785-127046491071_thumb.png

    post-785-127046492037_thumb.png

    log.zip

    uptime.zip


  3. Antispam filter  - v1.3 (all Filter???.txt is defaults).

    DC cleint - ApexDC++ 1.3.1 (x86)

    LUA Plugin - 2.0.1.0

    lua5.1.dll - 5.1.4.0

    lua51.dll - 5.1.4.0

    startup.lua - 

    Error is generated every time on ApexDC++ startup.

     /as and /antispam commands are not worked -

    P.S.: Can you post your startup.lua file? May be this is cause of accident. 

    Sorry for my late react.

    lua5.1.dll - 5.1.4.0

    lua51.dll - 5.1.4.0

    These files come from where? These files are not present in my apex installation. Try 1 thing: delete all of the .txt files, then lanch the client. My script will generate these files, and maybe you will se some information in the systemlog. (from the view menu in apex's menu bar)

    startup.zip


  4. How many times get this error?

    What is your client, and lua plugin version?

    Line 179 is the start of the menu listener, it will catch your /as or /antispam massages from main chat. I thested it on current 1.3.1 x64, works well.


  5. 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.


  6. 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.


  7. 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)


  8. 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.


  9. 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...


  10. That is troublesome... I'll see if I can reproduce the issue (though unfortunately no success thus far). So that I can look into it more.

    Now, i know what caused the error!

    This is not needed any more: DC():ToUtf8(user:getNick()), because the nicks are good without this.

    I writed a simple script, wtich just record all PM to the spamsfile. This nicks recorded without the DC():ToUtf8(user:getNick()) thing:

    [-CooL-BoT-]

    ««S•O•L•A•R•I•O•N»»

    »»D•I•A•B•L•O««

    !ŔŐŇ

    jimmy16 likes this

  11. OMG please delete this topic. My problem on the small P3 computer was caused by a bad memory. OS seemd stabel, but i changed my memory set, and the hashing works fine. :angry:


  12. I think, you will get the crash only, if u got a spam PM from that probleme hub.

    I found other hubs, and i find something intresting. (crash)

    dchub://diablohub.hu:411

    dchub://new.thecobwebnet.net:765

    dchub://solarionhub.hu:411

    On solarion and Diablo, the caracters are bad on open hublist.

    22364955911.JPG

    Solarion and diablo uses PtokaX DC Hub 0.4.1.1, thecowbwebnet uses verlihub 0.9.8c

    I uploaded my script's PM output from these hubs. (from under bcdc++) All of them contains idiotic characters in text or sander name or hub name, maybe it will help.

    Filterspams.rar


  13. hmm, what's interesting is that I tried to reproduce this few times now and thus far everything seems fine. Does this happen for you every time you add files to share?

    It's weird:

    I tryd several times on my desktop computer A64 X2, 2G ram, XP SP3 32bit, hash without a problem, on fast methode.

    I have an other, small computer, P3 1GHz, 512 ram, same OS, and i got the crash all times both hash methode.


  14. I tried both of those hubs still running stable here... (with default settings for the script). But I can still venture a guess, since by the looks of it at least one of those hubs uses "weird" characters for it's messages (ie. cyrillic or other).

    I thinked too to the strange characters. The wierd is, i got the crash with a hub, witch runs without problem erlier, with lua 1.3, and script 1.1

    On my script topic, another guy posted the same crash, so it's not only in my computers. Maybe a quick fix, i can temponary reove the utf8 formatting, it will result some strange char in the saved pm's, but it's gooder than the crash.


  15. with what settings (for the script) did you get the crash on that hub... since with defaults it seems to work just fine

    Sorry for another problem, i don't see the redirect. This is the correct address: 93.81.252.156:65411

    While load the users, it's ok. When the MOTD comes, the crash comes.

    Same crash with this hub: dc.bemyguest.ro:411


  16. 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. ;)


  17. well I can't even run your script (1.1) properly (your ownChatOut seems to block all messages for me).

    Edit: this same issue with ownChatOut is also valid for 1.3 version of the lua plugin and 1.2.0 beta.

    Ohm jes. I leaved some testing lines in the script witch i don't want. Now i uploaded the correct file in the spam topic.


  18. 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:


  19. I get some problem with the new plugin API.

    I use my antispam script, witch use a couple of the" DC():ToUtf8() ". It's worked fine on lua 1.3 Now when i enter some hubs, like this: pro-fili.com:411, the client crash, and i got an expections file, witch writes something with ToUtf8.

    So i uploaded my expection file.

    exceptioninfo.txt


  20. 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!