jamesoff / bmotion Goto Github PK
View Code? Open in Web Editor NEWAn Artificial Stupidity script for eggdrop bots
License: Other
An Artificial Stupidity script for eggdrop bots
License: Other
0907.04 [ thg] when i first installed the git bot it couldnt save facts on its own
0907.24 [ thg] said there was no facts.txt file
0907.38 [ thg] so i created an empty file and it works since
0907.55 [ thg] but it did create the abstracts on its own
whenever I do /me gives a dildo, it reports in the partyline this:
[06:49:37] Tcl error [bMotion_event_action]: can't read "mood(horny)": no such variable
I searched the settings file, but found nothing for that setting. any ideas?
1045.38 [ thg] so theres no way to make the git bot use random smileys?
1045.47 [+ JamesOff] currently no
1045.53 [+ JamesOff] is that something you'd like?
1045.53 [ thg] i see
1046.02 [ thg] yea it would be cool
Hi there. Bmotion is fantastic, I just discovered it a short while ago, what a great bot to play with. Thanks for providing it.
I found minor bug you might want to iron out, some places use bMotionInfo(silence)
while others use bMotionInfo(silent)
.
If I come across anything else I'll be sure to let you know. 👍
Do you plan on improving redis support, btw?
If no redis server is installed, and the host is blackholing TCP connections to closed ports, bMotion will stall for a while during startup.
Currently, if i am correct, not much usage is made of userinfo.tcl, except gender that you have to code into manually to make use of. userinfo.tcl has lot of potential to add new functions/options into bmotion. Example :
BF / GF - if set then bot can tease or make comments on a "couple".
DOB : if set bot can congratulate the user and give gifts. If bot has DOB set maybe special bday mode?
There are quite many fun ways to expand and make bmotion more better tapping into userinfo.tcl :)
Hi,
I have an odd setup, where the eggdrop's plugin path is /usr/share/eggdrop/plugins or something, as I got it from a package. However, bmotion doesn't seem to know where to find the bmotion path when I don't run from that directory (which I obviously don't want to do). Any way there can be an override in eggdrop.conf or similar for the bmotion path?
Thanks,
-Michael.
Currently when the bot is asleep bMotionDoAction mutes all output, so there's no way for e.g. doRandomStuff to have the bot talk in its sleep.
I've tried both the 'old' and 'new' behaviour for the bot, and with either setting it will not respond if punctuation is near it's name:
<Routh> darkwolf, tell me a story
<Routh> darkwolf, tell me a joke
<Routh> DarkWolf, tell me a joke
<Routh> DarkWolf tell me a joke
<DarkWolf> routh: 5729
<Routh> DarkWolf tell me a joke
<DarkWolf> routh: 9690
<Routh> DarkWolf, tell me a joke
<Routh> DarkWolf tell me a fact
<DarkWolf> Routh: 9318
Something really weird and I can't find the cause: for some reason, words longer than 5 characters that get de-karma'd (e.g. foobar--
) aren't caught. I put a putlog "I AM HERE!!"
in the bMotion_plugin_complex_minmin_catcher
proc, but it doesn't even get there. I tried everything - when I replace the -{2}
with e.g. q{2}
it does reach the proc. Mysterious! Care to take a glance at this? I'm out of clues.
<voidzero> fooba--
<@Doug> Karma for 'fooba': -3.
<voidzero> foobar--
*crickets*
I currently have the karma plugin disabled in the bot's settings as
set bMotionSettings(karma_enable) 0
but the bot keeps announcing it in the channel and generates a file karma.txt as well
(thg) Buddy+++
(Tubby) Karma for buddy is now 1.
(thg) Buddy++
(Tubby) karma for buddy is now 2
(thg) Buddy--
(Tubby) Karma for buddy is now 1.
I just discovered that this spits an error when the bot is asked a question about an item.. might be related to #16
In Channel:
<Routh> Darkwolf what do you know about astarte?
In partyline:
<DarkWolf> [13:47:05] Tcl error [bMotion_event_main]: can't read "item": no such variable
1019.44 [05:19:44] Tcl error [bMotion_event_onquit]: can't read "bMotionInfo(brig)": no such element in array
[11:27:11] (1)bMotion: queuing output 'pissying arseers dude...' for '##PartyMansion' with 2s delay
[11:27:15] (1)bMotion: going to run plugins: bMotion_plugin_complex_knock2 bMotion_plugin_complex_snap
[11:27:15] (1)bMotion: doing flood for bMotion_plugin_complex_knock2...
[11:27:15] (1)bMotion: `- running callback bMotion_plugin_complex_knock2
[11:27:15] (1)bMotion: plugin complex:knock tried to get non-existent value who,##partymansion,_
[11:27:15] (1)bMotion: doing flood for bMotion_plugin_complex_snap...
[11:27:15] (1)bMotion: `- running callback bMotion_plugin_complex_snap
[11:27:15] Tcl error [bMotion_event_main]: can't read "bMotionInfo(silence)": no such element in array
1538.57 [ JamesOff] mon: is it christmas yet?
1539.02 [ MonicaOff] brb - library
That's not right.
in addition to their hattiness
Hey buddy, I'm getting a bunch of errors everytime I rehash, once I restart the bot it seems to not have these errors but anytime updating info, and i rehash it breaks the bot and no longer works and I get these logs from my debug channel...
11:22:19 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:20 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:22 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:24 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:26 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:28 - Bender Debug (trace) --> can't read "bMotion_abstract_filter(_all)": no such variable while executing "set filter $bMotion_abstract_filter(_all)"
11:22:31 - Bender Debug (trace) --> can't read "needReSave": no such variable while executing "if {$needReSave} { bMotion_facts_save }" (procedure "bMotion_facts_load" line 62) invoked from within "bMotion_facts_load"
11:22:33 - Bender Debug (trace) --> couldn't read file "scripts/randomwordList.tcl": no such file or directory while executing "source "scripts/randomwordList.tcl"" (file "scripts/bmotion/modules/extra/randomword.tcl" line 3) invoked from within "source $f"
11:22:35 - Bender Debug (trace) --> couldn't read file "scripts/randomwordList.tcl": no such file or directory while executing "source "scripts/randomwordList.tcl"" (file "scripts/bmotion/modules/extra/randomword.tcl" line 3) invoked from within "source $f"
11:22:37 - Bender Debug (trace) --> can't read "bMotion_plugins_management(stats)": no such element in array while executing "set test $bMotion_plugins_management($id)"
11:22:39 - Bender Debug (trace) --> can't read "bMotionSettings(noPlugin)": no such element in array while executing "set disallowed $bMotionSettings(noPlugin)"
11:22:41 - Bender Debug (trace) --> couldn't open "scripts/bmotion/modules/stats.txt": no such file or directory while executing "open "$bMotionModules/stats.txt" "r""
11:22:43 - Bender Debug (trace) --> can't read "fileHandle": no such variable while executing "close $fileHandle"
11:22:45 - Bender Debug (trace) --> couldn't read file "scripts/bmotion/local/abstracts.tcl": no such file or directory while executing "source "$bMotionLocal/abstracts.tcl""
I have bMotion.tcl it setup like this:
Bmotion.TCL Script located:
/home/bro/eggdrop/scripts/bMotion.tcl
Bmotion Folder located:
/home/bro/eggdrop/scripts/bmotion/
Tcl error [bMotion_event_main]: can't read "bMotion_abstract_timestamps(sillyThings)": no such element in array
With redis enabled, the following line is repeated 52 times during load/rehash:
Warning: bMotion_abstract_add_filter not currently implemented
I haven't been able to understand what is causing this, but below is a sample of some console debug output that might help:
[14:09:57] [14:09:56] (5)bMotion: bMotion_abstract_add (cracker_hats, Ahead hat factor %2, 0)
[14:09:57] [14:09:56] (4)bMotion: Result of adding Ahead hat factor %2 to abstract cracker_hats: 0
[14:09:57] [14:09:56] (5)bMotion: bMotion_abstract_save
[14:09:57] [14:09:56] (4)bMotion: Not saving abstract cracker_hats as we're using redis
[14:09:57] [14:09:56] Warning: bMotion_abstract_add_filter not currently implemented
[14:09:57] [14:09:56] Warning: bMotion_abstract_add_filter not currently implemented
[14:09:57] [14:09:56] Warning: bMotion_abstract_add_filter not currently implemented
[14:09:57] [14:09:56] (5)bMotion: bMotion_abstract_register (cracker_your_hats)
[14:09:57] [14:09:56] (2)bMotion: batch-adding to cracker_your_hats
[14:09:57] [14:09:56] (5)bMotion: bMotion_abstract_add (cracker_your_hats, You're now wearing %2 hats., 0)
[14:09:57] [14:09:56] (4)bMotion: Result of adding You're now wearing %2 hats. to abstract cracker_your_hats: 0
Wish I could understand more and fix it myself but I'm more of a sysadmin than a coder. With that said, thank you for all the work you've put into this, it is still providing enjoyment for people after all these years, and with redis it seems to learn and adapt much faster to channel interaction.
[09:02:49] Tcl error [bMotion_interbot_catch]: can't read "function": no such variable
I get this in the bots when bmotion is running. Any ideas?
Happens when bot gets opped
I am trying to enable the censor plugin and I get this error:
[01:37:30 am] « kyrie » [10/30/2019, 01:37:30 AM] bMotion: ALERT! Callback failed for !bmotion: bMotion_plugin_management_plugins: can't read "TEH_ARRAY(censor)": no such element in array
[01:37:30 am] « kyrie » [10/30/2019, 01:37:30 AM] Tcl error [bMotion_dcc_command]: invalid command name "bMotion_plugin_find_admin"
How can I fix this so I can get the censor plugin to work?
When using emojis like on the image above the bot quits and I get the following bMotion error:
[08:31:47] * Last context: tclhash.c/734 [Tcl proc: bMotion_event_main, param: $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5 [08:31:47] * Please REPORT this BUG! [08:31:47] * Check doc/BUG-REPORT on how to do so. [08:31:47] * Wrote DEBUG [08:31:47] * SEGMENT VIOLATION -- CRASHING!
Any solution to avoid this?
.bmotion friends show
usage: friendship [show|set]
.bmotion friendship show
usage: friendship [show|set]
Hello,
I'm still not sure if this is entirely related to bMotion.. I'm currently testing with the script disabled.
I have an eggdrop on libera. Initially it was inside one channel only, bMotion enabled and all was fine. Then I made it join a second channel and I enabled bMotion there too.. This is when issues started happening with the bot shutting down with the message in subject, without any apparent motivation.
Then I looked at timestamps and DCC CHAT with the bot and it looks like bMotion might be the culprit.. Whenever it's autosaving facts or doing self-diagnostics, the bot shuts down and so my DCC also quits.
I have disabled bMotion on all channels - via the .chanset #channel -bmotion setting - like 10 minutes ago and I just received this message in partyline:
[12:18:00] bMotion: All channels are idle, going away
Honestly I'm quite lost here, any advice is appreciated. Thanks
[11:43:01] Tcl error in script for 'timer6':
[11:43:01] can't read "bMotionInfo(away)": no such element in array
[11:45:37] Tcl error [bMotion_event_main]: can't read "bMotionInfo(cloaked)": no such element in array
hi,
would be awesome to implement new feature like age and location for the bot.
when somebody ask for ASL on chan the bot respond randomly.
it would be great to have setting in the config file for the age and place and if its not set then the bot would answer randomly, but if it's set then it would say that.
for this i have some ideas:
the bot would say when it's birtday and other bots in the botnet would celebrate its birtday like offering cake and such things. would be a great new feature. :)
Will be due to the pre-compiling of plugin strings.
Should add an option (automatically detect?) to disable the compilation to reduce memory usage.
Possible error: can't read "bMotion_abstract_timestamps(randomStuff)": no such element in array
1233.56 [ Lord255] [13:33:07] <Lord255> tails, tell me a story
1233.56 [ Lord255] [13:33:13] <Tails> you're welcome
1234.08 [ Lord255] [13:33:31] <Lord255> tails, tell me a joke
1234.08 [ Lord255] [13:33:37] <Tails> No problem.
1234.09 [ Lord255] :D
1234.35 [ Lord255] is it stranger?
1235.11 [ Pancakes] Yeah, it literally gives me a numer, like 8845
When someone quits or parts the channel, I get this error:
«06:12:12» * Amanda_ Quit (Ping timeout)
«06:12:11» [22:12:10] Tcl error [bMotion_event_onquit]: expected integer but got "s"
«06:12:29» * blacksea__ has left the channel
«06:12:29» [22:12:27] Tcl error [bMotion_event_onpart]: expected integer but got "s"
Please help:)
Hi, it would be nice if you could disable giving karma to your own nick.
(Of course, you could just switch to another nickname, but, hey, ban evading is "easy" too.)
Discovered while investigating #32.
When this setting is 0, eggdrop does not appear to process CTCP binds.
Diagnostics should detect this and shout about it.
<u4t> SCARLET WHY ALL THE CAPS????!??
<scarlet> r i THINK krossi KNOWS... %VAR{jeffk_ends}
Small patch so users can set e.g. .bmotion mood set lonely -30
. Values < -30 and > 30 are adjusted.
bmotion_mood.txt
telnet:
Coming back from being away.
.bmotion away off
Coming back from being away.
.bmotion away
I am not away.
whois:
Tw33k5 is away: ZzZz
bMotion: ALERT! complex plugin file scripts/bot1/bmotion/plugins/en/complex_nightmare.tcl added no plugins
This is a most bizarre suggestion, but I thought I'd make it.
=|
I've been looking for the docs, however the website mentioned in the readme just loops back to this repo. Are you planning on adding the docs here?
I managed to find this:
http://bmotion.sourceforge.net/docs/bMotion.pdf
However it seems a bit outdated and incomplete...
Note: is happening on an old SVN version
Hello,
not sure if this can be described as a bug but whenever someone parts from channel (I believe without an actual message), the bot spits this out on the party line:
Tcl error [bMotion_event_onpart]: can't read "reason": no such variable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.