/[cvs]/eggdrop1.9/modules/oldbotnet/oldbotnet.h
ViewVC logotype

Log of /eggdrop1.9/modules/oldbotnet/oldbotnet.h

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.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 23:43:46 2007 UTC (12 years, 4 months ago) by sven
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -9 lines
Diff to previous 1.7

 * Added netstring filter.
 * Created botnet module. (Just the framework, does nothing atm.)


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 12 02:04:24 2007 UTC (12 years, 5 months ago) by sven
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6

Took care of the temp users that were spawned every time someone who wasn't
on any channel did something on the partyline. The oldbotnet module should
be finished now.


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 9 01:32:32 2007 UTC (12 years, 5 months ago) by sven
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5

 * 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.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 14 15:21:13 2007 UTC (12 years, 6 months ago) by sven
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4

 * 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.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 14:51:24 2006 UTC (12 years, 11 months ago) by sven
Branch: MAIN
Changes since 1.3: +5 -6 lines
Diff to previous 1.3

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.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 18 06:50:47 2003 UTC (15 years, 10 months ago) by wcc
Branch: MAIN
Changes since 1.2: +24 -3 lines
Diff to previous 1.2
* More GPL/header/rcsid stuff.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 14 03:01:19 2003 UTC (15 years, 10 months ago) by stdarg
Branch: MAIN
Changes since 1.1: +9 -1 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, 10 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