Menu

#10 whoreply is wrong parsed

0.5.0
open
MAIN (11)
5
2003-07-28
2003-07-28
Matt Lehner
No

I believe there are still problems in Channel Syncing. I
still get errors about $channel->name being undefined.
------------------------
PHP Notice: Undefined property: name in SmartIRC.php
on line 2334
PHP Notice: Undefined property: name in SmartIRC.php
on line 2375
PHP Notice: Undefined property: name in SmartIRC.php
on line 2288
PHP Notice: Undefined property: name in SmartIRC.php
on line 2322
PHP Notice: Undefined property: name in SmartIRC.php
on line 2375
------------------------
From the debug:
------------------------
Jul 28 11:12:12 SmartIRC.php(1814)
DEBUG_IRCMESSAGES: received: ":[AR]c5|Hardey!
_FedEx_Har@pcp03677950pcs.pocoht01.va.comcast.net
JOIN :#atomic-radio"
Jul 28 11:12:12 SmartIRC.php(1874)
DEBUG_MESSAGEPARSER: ircdata nick: "[AR]c5|Hardey"
ident: "_FedEx_Har"
host: "pcp03677950pcs.pocoht01.va.comcast.net"
type: "64" from: "[AR]c5|Hardey!
_FedEx_Har@pcp03677950pcs.pocoht01.va.comcast.net"
channel: "#atomic-radio" message: "#atomic-radio"
Jul 28 11:12:12 SmartIRC.php(2206)
DEBUG_MESSAGEHANDLER: calling internal
method "net_smartirc->_event_join" (by string)
Jul 28 11:12:12 messagehandler.php(65)
DEBUG_CHANNELSYNCING: [AR]c5|Hardey joins channel:
#atomic-radio
Jul 28 11:12:12 SmartIRC.php(2322)
DEBUG_CHANNELSYNCING: adding user: [AR]c5|Hardey
to channel: #atomic-radio
Jul 28 11:12:12 SmartIRC.php(1742)
DEBUG_IRCMESSAGES: sent: "WHO [AR]c5|Hardey"
Jul 28 11:12:12 SmartIRC.php(1814)
DEBUG_IRCMESSAGES:
received: ":Lausanne.CH.EU.GamesNET.net 352
AtomicServ #xfactor _FedEx_Har
pcp03677950pcs.pocoht01.va.comcast.net
*.GamesNET.net [AR]c5|Hardey H :3 jordan bin laden"
Jul 28 11:12:12 SmartIRC.php(1874)
DEBUG_MESSAGEPARSER: ircdata nick: ""
ident: "ausanne.CH.EU.GamesNET.ne"
host: "ausanne.CH.EU.GamesNET.net" type: "32"
from: "Lausanne.CH.EU.GamesNET.net"
channel: "#xfactor" message: "3 jordan bin laden"
Jul 28 11:12:12 SmartIRC.php(2206)
DEBUG_MESSAGEHANDLER: calling internal
method "net_smartirc->_event_rpl_whoreply" (by
numeric)
Jul 28 11:12:12 SmartIRC.php(2322)
DEBUG_CHANNELSYNCING: adding user: [AR]c5|Hardey
to channel:
------------------------
And also when he quits
------------------------
Jul 28 11:12:11 SmartIRC.php(1814)
DEBUG_IRCMESSAGES: received: ":[AR]c5|Hardey!
_FedEx_Har@pcp03677950pcs.pocoht01.va.comcast.net
QUIT :Quit"
Jul 28 11:12:11 SmartIRC.php(1874)
DEBUG_MESSAGEPARSER: ircdata nick: "[AR]c5|Hardey"
ident: "_FedEx_Har"
host: "pcp03677950pcs.pocoht01.va.comcast.net"
type: "4096" from: "[AR]c5|Hardey!
_FedEx_Har@pcp03677950pcs.pocoht01.va.comcast.net"
channel: "" message: "Quit"
Jul 28 11:12:11 SmartIRC.php(2206)
DEBUG_MESSAGEHANDLER: calling internal
method "net_smartirc->_event_quit" (by string)
Jul 28 11:12:11 SmartIRC.php(2364)
DEBUG_CHANNELSYNCING: user [AR]c5|Hardey quit,
removing him from all channels
Jul 28 11:12:11 SmartIRC.php(2375)
DEBUG_CHANNELSYNCING: found him on channel:
#atomic-radio destroying...
Jul 28 11:12:11 SmartIRC.php(2375)
DEBUG_CHANNELSYNCING: found him on channel:
destroying...

Discussion

  • Matt Lehner

    Matt Lehner - 2003-07-28
    • milestone: --> 0.5.0
     
  • Matt Lehner

    Matt Lehner - 2003-07-28
    • labels: --> MAIN
     
  • Mirco Bauer

    Mirco Bauer - 2003-07-28
    • summary: More Channel Syncing Messups --> quit and whoreply is wrong parsed
     
  • Mirco Bauer

    Mirco Bauer - 2003-07-28

    Logged In: YES
    user_id=598557

    is that CVS head or 0.5.5 release?

     
  • Mirco Bauer

    Mirco Bauer - 2003-07-28
    • assigned_to: nobody --> meebey
     
  • Mirco Bauer

    Mirco Bauer - 2003-07-28
    • summary: quit and whoreply is wrong parsed --> whoreply is wrong parsed
     
  • Matt Lehner

    Matt Lehner - 2003-07-28

    Logged In: YES
    user_id=729841

    I am using the latest CVS.

     
  • Matt Lehner

    Matt Lehner - 2003-07-29

    Logged In: YES
    user_id=729841

    I don't know why I thought of this...but I decided to just try
    connecting the bot to another net like EFNET, since I have
    been using GamesNet most of the time. I had the bot join
    #iso with the 2000+ users and had NO problems what so ever
    with the errors I reported before. So I am not sure if this is
    something you might want to check out, since really the bot
    should be able to go between nets without problems.

     
  • Mirco Bauer

    Mirco Bauer - 2003-07-29

    Logged In: YES
    user_id=598557

    I know, I always test with IRCnet which is strict RFC. And
    do often stress tests 10 chans with total of 1600 users....
    no warnings, no error at all, very stable...
    I thought already before when you resubmittet this problem
    that GamesNET is maybe doing something nasty, I will check
    this out later (next days) though...

     
  • Matt Lehner

    Matt Lehner - 2003-07-30

    Logged In: YES
    user_id=729841

    I decided to try and go to IRCnet and test out my bots there,
    but well I had no luck getting on..but still trying to figure out
    why. I am using just other misc nets and so far the only
    problems I am getting are:

    PHP Warning: Invalid argument supplied for foreach() in
    messagehandler.php on line 101
    PHP Warning: Invalid argument supplied for foreach() in
    messagehandler.php on line 2122

    also another:

    PHP Notice: Undefined property: name in messagehandler.php
    on line 306

    I am not sure if these are related to the same thing that
    these nets are not strict enough to RFC standards. I love this
    bot API since it is the best I have seen that uses PHP but I
    can't get it working right on any nets I use. Any help I can
    provide with my log files etc please ask.

     
  • Mirco Bauer

    Mirco Bauer - 2003-07-30

    Logged In: YES
    user_id=598557

    when you get problems on IRCnet, that means you are probably
    doing something wrong in your bot code, maybe something that
    changes things from SmartIRC on runtime. The only way how I
    can analyze this is though the sourcecode, can you post an
    url or send it to me via email if it's not public for everyone.

    (too bad that PHP4 has no privates....)

     
  • Matt Lehner

    Matt Lehner - 2003-07-30

    Logged In: YES
    user_id=729841

    Well I think I keep getting klined/banned and I am not really
    sure cuase I have everything setup how they want it. (via
    thier website) I will keep trying and will hopfully figure it out
    sooner or later.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.