egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Timeout/EOF ident connection

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Zumari
Voice


Joined: 19 Oct 2011
Posts: 2

PostPosted: Wed Oct 19, 2011 11:29 pm    Post subject: Timeout/EOF ident connection Reply with quote

Hello Eggdrop community. I install Eggdrop in my dedicated server and a i try run this TLC:

Code:
#settings
set settings(port) "32578"
set settings(pass) "WkdwemEzTmtZV2wzY2c"
set settings(chan) "#MidnightArab-Torrents"

listen $settings(port) script listen:grab

proc listen:grab {idx} {
    control $idx listen:control
}

proc listen:control {idx args} {
    global settings
       
        if{ [scan $args "%s %\[\n\]" pass message] == 2 && $pass == $settings(pass) } {
        putquick "PRIVMSG $settings(chan) : $message"
    }
}

putlog "New torrents announce script loaded!"



This TLC receive information via php:

Code:
function ircbot($msg)
{
        $bot = array("ip"=>"ip",
                     "port"=>0,
                     "pass" => "password",
                        );
        if(empty($msg))
                return;
               
    $fp = fsockopen($bot["ip"], $bot["port"] , $errno, $errstr, 45);
        if($fp)
        {
                sleep(1);
                fputs($fp, $bot["pass"]  . " " . $msg . "\n");
                sleep(1);
                fclose($fp);
    }
 
}



But not working. Eggdrop give this error:

<bot> [04:23:47] Telnet connection: ip/56217
<bot> [04:23:47] Timeout/EOF ident connection
<bot> [04:23:55] Lost telnet connection to telnet@ip/56217


How to fix this problem? Need Help pls Sad
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Oct 20, 2011 12:51 am    Post subject: Reply with quote

Give a try to user's "attempt to make the built in sockets even more user friendly" that can be found here.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Zumari
Voice


Joined: 19 Oct 2011
Posts: 2

PostPosted: Thu Oct 20, 2011 3:12 pm    Post subject: Reply with quote

You can be more specific? I see in this post most examples. But what i can do in this situation?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber