This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Listen <port> script <proc> Show Telnet Connecti

Old posts that have not been replied to for several years.
Locked
n
nitro

Listen <port> script <proc> Show Telnet Connecti

Post by nitro »

Hello,
Is it possible to hide
[00:05] Telnet connection: localhost/2258
from my bot when someone connect to my tcl script (listen <port> script <my proc>... If not would be great to add it to the next version??

Cya
Nitro
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is based on your console flags.

SImply remove the console flags that affect it, and you wont receive it.
n
nitro

Post by nitro »

Yeah but... It will hide normal telnet connection too and I don't want that..
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no current way to seperate the 2.

The listen command is used for bot and user connections too, as such, is handled by exactly the same functions.

When processing an incoming connection, pedeninding on the type of connection, it qwill either be handled byt he bot section of code, user section or send for script priocessing. The logging takes place before this.

You could move the putlogs further down the code, to change this.

ALternativly, make your own socket syste, using Tcl sockets, which are not subject to any of eggdrops logging, and are 100% constructed byt he script.
Locked