NTTScooch

Member
  • Content count

    4
  • Joined

  • Last visited

Posts posted by NTTScooch


  1. I'm using ApexDC++ v1.0.1 and I've noticed that for some users, their description is prefaced by a number in brackets as seen in the screenshot. What's the purpose of this number? I think I've noticed this in other clients as well but I've never known what it means.


  2. This very well could be related to a problem I was having with a script in my own hub. Namely, the script would PM something like this: "[127.0.0.1] <amenay> blabla" From a registered bot. My other main clients (LDC++, CZDC, DCDM++) received PM's fine, except ApexDC++(see note at the bottom).. so what I did was change it to "<[127.0.0.1]> <amenay> blabla" in the script.. That fixed it. So for some reason, PMs or maybe messages altogether that don't begin with "<" don't bring up a PM, although, you can see it in debug messages.

    Some MotD's are sent as PM's, and some don't begin with a botname, MotD

    , or such.. therefore they'll just start off with text without the < .. Maybe this is where your problem is occuring.

    Anyhow, this is a before and after for the problematic line in the script, if I wasn't clear enough. It's from SpamKing v2.1.. which originally by gg3k..converted by jiten, and with features added by NightLich and GeceBekcisi.

    Before: SendToNick(v["sName"], "$To: "..v["sName"].." From: "..sMainChat.." $\[ "..curUser.sIP.." \] <"..curUser.sName.."> "..msg)

    After: SendToNick(v["sName"], "$To: "..v["sName"].." From: "..sMainChat.." $<\[ "..curUser.sIP.." \]> <"..curUser.sName.."> "..msg)

    If this is intentional, I'd be curious as to why, I can imagine it causing problems with other scripts..but most are rather easily fixed. But if it doesn't serve some purpose..maybe it should be looked into as a bug?

    Note: I realised I should probably test this against the latest version of DC++, upon doing so there was a noticable difference. If I had no "<" the message wouldn't appear at all, if I had < in front with the script as shown above it would just appear in main instead of in PM from the bot. Like this:

    [04:57] <[ 127.0.0.1 ]> <amenay> blabla

    [04:57] <amenay> blabla

    This is with the same PM settings between DC++ and ApexDC++, and occurs in DC++ .691 and DC++ .694.. yet not in .674. I'm not sure why the behaviour is different in ApexDC++, but it's prefable over no solution at all, as the case is with "plain DC++". Maybe I'm ignoring a setting elsewhere. Hope all that sheds some light on it for others.

    I'll see what I can do with this information. Thanks stranger.