/[cvs]/eggdrop1.9/modules/oldbotnet/events.c
ViewVC logotype

Log of /eggdrop1.9/modules/oldbotnet/events.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 6 00:05:40 2007 UTC (11 years, 7 months ago) by sven
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -10 lines
Diff to previous 1.13
 * Added a new socketfilter that provides a per socket timer for easy
   implementation of various timeouts.
 * All sockets that expect user logins now have a 60 second timeout for
   the user to supply a valid login.
 * All botnet sockets now have a 30 second timeout for the bot to do a
   successful login. After that it has a 90 second timeout after which
   a ping will be sent. After another 90 seconds the socket is closed.


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 22:32:24 2007 UTC (11 years, 10 months ago) by sven
Branch: MAIN
Changes since 1.12: +45 -64 lines
Diff to previous 1.12
Due to some time without internet access this commit is kinda random stuff
thrown together:

 * Moved the int <-> base64 functions to base64.c
 * Added botnet event on_login. This is triggered every time someone logs
   into a bot.
 * Documented some of xml functions.
 * Fixed a xml memory leak. (perhaps. That suff still confuses me.)
 * Fixed a xml bug that crashed the bot if there were comments in an xml file.
 * Wrote about half of the new botnet module. (The easy part.)
 * The version of linked bots is now actually saved and transmitted in the
   oldbotnet module.

 * Added a xml node to the botnet_bot_t struct. This can be used to save any
   kind of information a module or scriptwriter might want to keep for this
   bot. This information has the same lifetime as the bot it refers to and
   is never saved. If the bot leaves the botnet, the information is gone
   unless someone copies it somewhere else befor that happens.
   Depending on how this works out, this xml node might be removed again or
   added to some more data structs like users, partymembers, channels, and
   so on.


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 9 01:32:31 2007 UTC (12 years, 1 month ago) by sven
Branch: MAIN
Changes since 1.11: +10 -1 lines
Diff to previous 1.11

 * Created a double linked list to hold all user records. Hash tables are
   great, but sometimes you just have to go through all records.
 * Refuse to actively link to bots with a negative priority. Incoming
   connections from these bots will still be acceppted.
 * Refuse partyline logins from bots. Bots usually don't have a password
   set, so that might be exploitable.
 * Ping connected bots if they haven't sent anything for 5 minutes.
 * Started to structure the user settings and documented it with a Doxygen
   page.
 * Added autolinking for bots based on a priority. See botnet_autolink()
   documentation for details.


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 22 13:18:32 2007 UTC (12 years, 2 months ago) by sven
Branch: MAIN
Changes since 1.10: +31 -4 lines
Diff to previous 1.10

 * Complete oldbotnet support expect for (user)file sharing.


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 01:45:52 2007 UTC (12 years, 2 months ago) by sven
Branch: MAIN
Changes since 1.9: +53 -9 lines
Diff to previous 1.9

More oldbotnet stuff, bugfixes, features.
Nearly complete support, but not yet ...


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 14 15:21:13 2007 UTC (12 years, 2 months ago) by sven
Branch: MAIN
Changes since 1.8: +132 -60 lines
Diff to previous 1.8

 * Fixed various compiler warnings about diffent signedness.
 * Added a new bind: bot. Works just like in eggdrop1.6
 * Added a new struct: botnet_entity. This is used in places where a certain
   event might be caused by either a bot or a partyline user.
 * Added backend for botnet broadcasts, botmsgs (zapf) and botbroadcasts
   (zapf-broad).
 * Added oldbotnet support for actchan, zapf and zapf-broad messages.
 * Improved oldbotnet assocs for mapping 1.6 channel numbers to 1.9 channel
   names. Don't send real assoc messages out because the 1.6 assoc module is
   horribly broken.


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 14:51:24 2006 UTC (12 years, 7 months ago) by sven
Branch: MAIN
Changes since 1.7: +10 -10 lines
Diff to previous 1.7

Misc:
 * Bind table flag BIND_BREAKABLE now includes BIND_STACKABLE, doesn't make
   sense otherwise.
 * If the line buffer contains more than one line of text do a check if the
   index is still valid after every callback (the sockbuf might have been
   deleted).
 * Added a "Doxygen" file in the root dir. It will generate html output in
   doc/developer/html. (The dir will be created by doxygen.)

Partyline stuff:
 * Partychan join and quit functions have an extra parameter indicating if
   the event is triggered because of someone joining/quitting or botnet
   restructuring.
 * Renamed partychan_msg() to chan_msg and made it static. It can now either
   msg the whole channel or just everyone on the local bot on the channel.
 * New functions partychan_msg() (works like before) and localchan_msg() to
   send it to every local user of the chan.
 * Added stuff to the partymember struct: A pointer to the bot the user is
   on, a malloc'd string containing the full unique name in the form
   "id:nick@bot", a pointer into this string to the full name "nick@bot"
   and a pointer to the common name of the user, "nick" for local users and
   "nick@bot" for users on other bots.
 * The id of a partymember is no longer unique, only unique to the bot the
   user is on. The nick was never unique. TODO: Change the script modules
   to take care of that!
 * A partymember is now part of two double linked lists: A list of all
   partymembers and a list of all partymembers on the bot.
 * Removed the partymember_lookup_* functions. partymember_lookup() takes
   cares of all the stuff.
 * Added functions to count all users on a bot and delete all users on a bot.

Ircpartyline:
 * IRC requires nicks to be unique for everyone and useing the usual "@" in
   the "nick@bot" form doesn't work at all on IRC. Therefor the nick format
   is now: "nick*bot:id" for remote users and "nick:id" for local users.

Script stuff:
 * Added a new script parameter: 'B': A bot.
 * TODO: Change the script modules to use it!

Botnet stuff:
 * Added botnet.[ch]. Fully documented!
 * Changed the oldbotnet module to use the new botnet API. Only very basic
   stuff works atm: Bot links, unlinks, partymember joins, quits and chatter.
   But at least it doesn't matter any more if the bot is a leaf or a hub.


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 05:14:06 2004 UTC (14 years, 8 months ago) by stdarg
Branch: MAIN
Changes since 1.6: +1 -4 lines
Diff to previous 1.6
* Added a few includs to common.h
* Removed duplicate includes from a bunch of files
* Added tcl date parsing a la "clock scan"
* Fixed some issues with configure (maybe)


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 4 16:05:32 2004 UTC (14 years, 8 months ago) by stdarg
Branch: MAIN
Changes since 1.5: +6 -4 lines
Diff to previous 1.5
* Fix some compile errors


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 23 11:19:52 2004 UTC (15 years ago) by wingman
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4
* Fixed header orders


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 18 06:50:47 2003 UTC (15 years, 6 months ago) by wcc
Branch: MAIN
Changes since 1.3: +23 -0 lines
Diff to previous 1.3
* More GPL/header/rcsid stuff.


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 17 08:06:52 2003 UTC (15 years, 6 months ago) by wcc
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
* More header stuff.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 14 03:01:19 2003 UTC (15 years, 6 months ago) by stdarg
Branch: MAIN
Changes since 1.1: +12 -5 lines
Diff to previous 1.1
* Partyline improvements


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 12 19:45:27 2003 UTC (15 years, 6 months ago) by stdarg
Branch: MAIN
* Added 'oldbotnet' module, which lets us link with 1.6 bots (not done)
* Added some binds for the partyline
* Fixed some compile warnings


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23