14806
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 25, 2012, 05:01:46 am »
ran 1 mile today.
ircd char limit cut me off.. "i plan to attach this thing to tons of servers".
nice, lines of code & file listing for the bot at this point:
# wc -l *.[c,h] */*.[c,h]
284 bot_alloc.c
1871 bot.c
483 bot_conf.c
344 bot_environ.c
441 bot_global.c
1104 bot_misc.c
328 bot_module.c
447 bot_mongo.c
228 bot_network.c
81 bot_protocol.c
2 bot_reaper.c
9 bot_safe.c
42 bot_stat.c
82 bot_tokenize.c
320 bot_unix.c
661 dlist.c
134 main.c
205 matchchar.c
195 randchar.c
318 bin/extract_quotes.c
354 bin/script_extract2.c
319 bin/script_extract.c
71 include/bot_alloc.h
16 include/bot_conf.h
16 include/bot_environ.h
26 include/bot_global.h
332 include/bot.h
61 include/bot_misc.h
42 include/bot_module.h
25 include/bot_mongo.h
13 include/bot_network.h
38 include/bot_protocol.h
6 include/bot_safe.h
7 include/bot_stat.h
63 include/bot_text.h
14 include/bot_tokenize.h
35 include/bot_unix.h
132 include/dlist.h
30 include/matchchar.h
29 include/randchar.h
382 mods/mod_alias.c
220 mods/mod_auto_rejoin.c
303 mods/mod_bgcolor.c
180 mods/mod_bold.c
243 mods/mod_caps.c
812 mods/mod_chan.c
238 mods/mod_char.c
90 mods/mod_comment.c
138 mods/mod_dice.c
99 mods/mod_echo.c
540 mods/mod_emot.c
284 mods/mod_fgcolor.c
424 mods/mod_guile.c
243 mods/mod_help.c
580 mods/mod_howie.c
286 mods/mod_hun.c
438 mods/mod_identify.c
464 mods/mod_leet.c
179 mods/mod_md5.c
526 mods/mod_moby.c
93 mods/mod_multi.c
451 mods/mod_nop.c
92 mods/mod_output_modify.c
213 mods/mod_packmulti.c
382 mods/mod_pcre.c
94 mods/mod_pmme.c
96 mods/mod_prepend.c
566 mods/mod_quote.c
621 mods/mod_rainbow.c
242 mods/mod_rand.c
180 mods/mod_reverse.c
180 mods/mod_rot13.c
176 mods/mod_roulette.c
620 mods/mod_rss.c
109 mods/mod_sep2.c
106 mods/mod_sep.c
426 mods/mod_shake1.c
1143 mods/mod_smf.c
357 mods/mod_sort.c
203 mods/mod_space.c
736 mods/mod_sp.c
368 mods/mod_sysvbanner.c
238 mods/mod_tiny.c
268 mods/mod_tinypaw2.c
260 mods/mod_tinypaw.c
519 mods/mod_to.c
183 mods/mod_underline.c
400 mods/mod_var.c
167 mods/mod_wc.c
97 mods/mod_whoami.c
93 mods/mod_zero.c
25883 total
beast mode.
segregating the connector code took a bit of work, but damn does it work good.. can just let the connectors go to war with servers lmao, finally connecting and passing the fd back.. not having to worry about threading/libeventing for those connectors, is peace of mind..
tomorrow i need to get ^to working with those lists, creating temporary lists in bot_t to allow for piping to multiple channels/servers.. an example would be:
^nop(ina) \|^e\|^to(local) #darqbot <-- that would pipe every message from any server/channel to my local ircd/channel..
^alias(add) wall \|^e\|^to efnet#jumping freenode*
then i'd go:
^a wall A MESSAGE HERE
which would then send "A MESSAGE HERE" to everything defined by ^to in the alias command.
nice..
other than that, need to start my banner generator, more comprehensive than the simple ^sysvbanner module.. this one will have tons of fonts.
peace
ircd char limit cut me off.. "i plan to attach this thing to tons of servers".
nice, lines of code & file listing for the bot at this point:
# wc -l *.[c,h] */*.[c,h]
284 bot_alloc.c
1871 bot.c
483 bot_conf.c
344 bot_environ.c
441 bot_global.c
1104 bot_misc.c
328 bot_module.c
447 bot_mongo.c
228 bot_network.c
81 bot_protocol.c
2 bot_reaper.c
9 bot_safe.c
42 bot_stat.c
82 bot_tokenize.c
320 bot_unix.c
661 dlist.c
134 main.c
205 matchchar.c
195 randchar.c
318 bin/extract_quotes.c
354 bin/script_extract2.c
319 bin/script_extract.c
71 include/bot_alloc.h
16 include/bot_conf.h
16 include/bot_environ.h
26 include/bot_global.h
332 include/bot.h
61 include/bot_misc.h
42 include/bot_module.h
25 include/bot_mongo.h
13 include/bot_network.h
38 include/bot_protocol.h
6 include/bot_safe.h
7 include/bot_stat.h
63 include/bot_text.h
14 include/bot_tokenize.h
35 include/bot_unix.h
132 include/dlist.h
30 include/matchchar.h
29 include/randchar.h
382 mods/mod_alias.c
220 mods/mod_auto_rejoin.c
303 mods/mod_bgcolor.c
180 mods/mod_bold.c
243 mods/mod_caps.c
812 mods/mod_chan.c
238 mods/mod_char.c
90 mods/mod_comment.c
138 mods/mod_dice.c
99 mods/mod_echo.c
540 mods/mod_emot.c
284 mods/mod_fgcolor.c
424 mods/mod_guile.c
243 mods/mod_help.c
580 mods/mod_howie.c
286 mods/mod_hun.c
438 mods/mod_identify.c
464 mods/mod_leet.c
179 mods/mod_md5.c
526 mods/mod_moby.c
93 mods/mod_multi.c
451 mods/mod_nop.c
92 mods/mod_output_modify.c
213 mods/mod_packmulti.c
382 mods/mod_pcre.c
94 mods/mod_pmme.c
96 mods/mod_prepend.c
566 mods/mod_quote.c
621 mods/mod_rainbow.c
242 mods/mod_rand.c
180 mods/mod_reverse.c
180 mods/mod_rot13.c
176 mods/mod_roulette.c
620 mods/mod_rss.c
109 mods/mod_sep2.c
106 mods/mod_sep.c
426 mods/mod_shake1.c
1143 mods/mod_smf.c
357 mods/mod_sort.c
203 mods/mod_space.c
736 mods/mod_sp.c
368 mods/mod_sysvbanner.c
238 mods/mod_tiny.c
268 mods/mod_tinypaw2.c
260 mods/mod_tinypaw.c
519 mods/mod_to.c
183 mods/mod_underline.c
400 mods/mod_var.c
167 mods/mod_wc.c
97 mods/mod_whoami.c
93 mods/mod_zero.c
25883 total
beast mode.
segregating the connector code took a bit of work, but damn does it work good.. can just let the connectors go to war with servers lmao, finally connecting and passing the fd back.. not having to worry about threading/libeventing for those connectors, is peace of mind..
tomorrow i need to get ^to working with those lists, creating temporary lists in bot_t to allow for piping to multiple channels/servers.. an example would be:
^nop(ina) \|^e\|^to(local) #darqbot <-- that would pipe every message from any server/channel to my local ircd/channel..
^alias(add) wall \|^e\|^to efnet#jumping freenode*
then i'd go:
^a wall A MESSAGE HERE
which would then send "A MESSAGE HERE" to everything defined by ^to in the alias command.
nice..
other than that, need to start my banner generator, more comprehensive than the simple ^sysvbanner module.. this one will have tons of fonts.
peace