vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Users in Chat -with eggdrop, works no matter what- (https://vborg.vbsupport.ru/showthread.php?t=40855)

Martin64 11-02-2002 12:45 AM

Sorry for the delay but I haven't had internet access at home for a few months now, but finally I do. A few people have pm'd me, and some have mailed, so I better answer publically. :)

However, I have spoken to my co-admin and he is not interested in releasing the hack, so I am afraid I can't, at least not right now. Sorry guys. :(

Deathdealer 11-10-2002 12:42 AM

does anyone have this working on 2.28 ?

Freddie Bingham 11-10-2002 02:27 AM

The simplest thing to do is simply have the TCL script output the current list of chatters every X secs. Trying to track users as they come and go via join, kick, leave, netsplit is a novel idea but probably going to far. My TCL script has been outputting the current users every 1 min for over 2 years now on my site.

banjolawyer 11-11-2002 10:07 PM

freddie: Can you post your tcl file, stripped of any personal stuff?

My host has agreed to set up the eggdrop for me.

Now I am trying to understand what to do with the tcl file.

Anyone:

(1) Should I upload the tcl file to my site's root directory and have the eggdrop reference it there, or does the tcl file get loaded whereever the host puts the eggdrop?

(2) I see that the variables in the tcl file are
(a) the path to userlist.txt, and
(b) the channel name
My host does not have an IRC server at this time, so I am using an external IRC server. However, I don't see where to specify which IRC server to look for the channel. Can anyone tell me how that is accomplished? Is that done somewhere in the eggdrop's config. file or should another variable be added to this tcl file?

Axe 12-27-2002 06:39 AM

The .tcl file should go in your eggdrop directory, and you should have your eggy load it on startup (this is done via the .conf file).

You give the eggdrop a list of servers in its .conf file also.

Check http://www.egghelp.org, they've got some invaluable tips there (including how to compile your bot for long nicks (nicks over the 9 character standard - Dalnet, etc.)

If the IRC server you're using has "Thales" hooked up to it, see if they have web-based URLs to tie it in. Will be easier/quicker to just grab those n' parse them into your page than messing around setting up an eggdrop (although, you won't have the protection/toys in your channel that a bot is capable of offering).

Check http://www.blitzed.org. That's an IRC server with a web-interface. You can just request raw flat text files of channel info to have you script play with.

"Thales" is an IRC Server (at least as far as other servers are concerned) that writes out data real-time to a MySQL database (although this can cause a lot of headaches unless Thales & the MySQL server are both localhost to each other).

I've been playing around with a Bahamut/SIRV/Thales combo recently on our dedicated box to see how I can integrate it into intract with vB/vBHome, so it'll be interesting to see how it all eventually works out for us.

It's mainly so that channel registrants can do exactly this kind of thing without having to mess around.

It's working quite well so far, and as soon as the site goes live, I'll actually give you all the URL to have a play and see it for yourselves :)

Kars10 12-31-2002 02:28 PM

Works like a charm!!!
Thank you very much!

/me klicks install!

SaM please help 01-11-2003 11:30 PM

hi,

i´am not a newbie, but i don´t understand "eggdrop".
If it a Script ? - and when, where i can it download and in which direcory on my server i have the "eggdrop" to upload ?

SaM

Axe 01-12-2003 12:32 AM

Eggdrop is a standalone application.

It runs as an automated IRC client sitting in channel(s) on an IRC server.

It, if correctly configure, keeps order in a channel when there's no humans around. Enforces bans, prevents flooding, etc.

Where it resides is entirely up to you, but I wouldn't put it in a directory accessible from the web - it wouldn't be difficult to grab your eggdrop user file and brute-force the passwords (and seeing all the hostmasks for users in the file would also give a potential attacker clues on where to hunt for proxies to spoof & pose as a legitimate bot user).

You can get it from www.egghelp.org.

pjgoncalves 02-10-2003 07:46 AM

Hi!

i'm getting this 2 errors when i do the rehash:

Code:

TCL error in script for 'timer11':
can't read "count": no such variable

any idea how to solve this? :)

Axe 02-10-2003 05:08 PM

It looks like the timer is still running after a .rehash

Try doing a .restart or a .reload instead.

Remember though, .restart will restart the whole bot, disconnecting it from the server and logging it back on.

If you do a .reload, anything that's presently stored in memory that hasn't been saved will be lost. So make sure you do a .save and a .chansave before you do the .reload.

How to fix the problem in the actual script so that it won't break on a .rehash... Well, I'll have to get back to you on that. It's been a couple of years since I did much TCL coding, although I have a script here somewhere, that I wrote a while ago, that grabs the IRC info, and writes it out to a MySQL database every minute or so - That requires the tcl-sql library to be installed (which I believe needs root access to the box), but at least it might give me more of a clue about this timer problem.

Quote:

Originally posted by pjgoncalves
[B]Hi!

i'm getting this 2 errors when i do the rehash:
Code:

TCL error in script for 'timer11':
can't read "count": no such variable




All times are GMT. The time now is 06:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01298 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete