Giter VIP home page Giter VIP logo

bmotion's People

Contributors

jamesoff avatar joostvunderink avatar nickmurison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmotion's Issues

Bot does not respond if punctuation is near name.

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

"tell me a..." broken horribly?

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

Fresh bot can't create facts file

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

possibility to set the bmotion path manually in eggdrop.conf or similar

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.

Karma issue with --

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*

Remote host closed the connection

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

complex_nightmare.tcl

bMotion: ALERT! complex plugin file scripts/bot1/bmotion/plugins/en/complex_nightmare.tcl added no plugins

is it X yet? handler

1538.57 [  JamesOff] mon: is it christmas yet?
1539.02 [ MonicaOff] brb - library

That's not right.

Minor bug with silence/silent variable.

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?

Error message in bots

[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?

cloaking doesn't work

[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

Bot quits when using emojis

z6vyNU2

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?

Telling bot to shut up results in error

[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

Let bot talk in its sleep

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.

request: A(S)L - age, location

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. :)

What do you know about <thing> ?

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

Error when enabling Censor plugin

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?

jeffk plugin is broken

<u4t> SCARLET WHY ALL THE CAPS????!??
<scarlet> r i THINK krossi KNOWS... %VAR{jeffk_ends}

Use more fields in userinfo.tcl

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 :)

Errors. I upgraded it to latest version.

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/

brig error on quit

1019.44 [05:19:44] Tcl error [bMotion_event_onquit]: can't read "bMotionInfo(brig)": no such element in array

Karma plugin

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.

can't read "reason": no such variable

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

Support random smileys

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

Disable self-karmaing

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.)

Tcl error

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:)

"bMotion_abstract_add_filter" error with redis

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.