Menu

#2 Only loading Arkanum plugin

v1.0_(example)
open
nobody
None
5
2014-08-29
2014-08-28
No

It won't load any of the other plugins, only Arkanum.

Here is output:

perl dicebot.pl
[Thu Aug 28 17:37:23 2014] <Dicebot> Starting dicebot 2...
[Thu Aug 28 17:37:23 2014] <Dicebot> Creating irc session ...
[Thu Aug 28 17:37:23 2014] <Dicebot> Connecting ...
[Thu Aug 28 17:37:23 2014] <Dicebot> Preparing command hub ...
[Thu Aug 28 17:37:23 2014] <CommandHub> Registering handler Dicebot::Plugins::CommandHub for commands: help
[Thu Aug 28 17:37:23 2014] <CommandHub> Loading plugins from /home/silent/Downloads/dicebot/Dicebot/Plugins ...
[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Dice_Shadowrun failed: given is experimental at Dicebot/Plugins/Diceroller.pm line 32.
Compilation failed in require at (eval 112) line 2.
...propagated at /usr/lib64/perl5/5.18.2/base.pm line 84.
BEGIN failed--compilation aborted at Dicebot/Plugins/Dice_Shadowrun.pm line 9.
Compilation failed in require at (eval 110) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Diceroller failed: Attempt to reload Dicebot/Plugins/Diceroller.pm aborted.
Compilation failed in require at (eval 117) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Dice_Generic failed: Attempt to reload Dicebot/Plugins/Diceroller.pm aborted.
Compilation failed in require at (eval 119) line 2.
...propagated at /usr/lib64/perl5/5.18.2/base.pm line 84.
BEGIN failed--compilation aborted at Dicebot/Plugins/Dice_Generic.pm line 7.
Compilation failed in require at (eval 118) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Dice_WoD failed: Attempt to reload Dicebot/Plugins/Diceroller.pm aborted.
Compilation failed in require at (eval 121) line 2.
...propagated at /usr/lib64/perl5/5.18.2/base.pm line 84.
BEGIN failed--compilation aborted at Dicebot/Plugins/Dice_WoD.pm line 7.
Compilation failed in require at (eval 120) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Registering handler Dicebot::Plugins::Arkanum for commands: arkanum, ark
[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Dice_Percentile failed: Attempt to reload Dicebot/Plugins/Diceroller.pm aborted.
Compilation failed in require at (eval 125) line 2.
...propagated at /usr/lib64/perl5/5.18.2/base.pm line 84.
BEGIN failed--compilation aborted at Dicebot/Plugins/Dice_Percentile.pm line 7.
Compilation failed in require at (eval 124) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Eval for handler module Dicebot::Plugins::Dice_Initiative failed: Attempt to reload Dicebot/Plugins/Diceroller.pm aborted.
Compilation failed in require at (eval 127) line 2.
...propagated at /usr/lib64/perl5/5.18.2/base.pm line 84.
BEGIN failed--compilation aborted at Dicebot/Plugins/Dice_Initiative.pm line 7.
Compilation failed in require at (eval 126) line 1.

[Thu Aug 28 17:37:24 2014] <CommandHub> Found handler for these commands:
ark arkanum help
[Thu Aug 28 17:37:24 2014] <Dicebot> Running.
[Thu Aug 28 17:37:25 2014] <Dicebot> Connected. Joining channels.

Discussion

  • ClearsTheScreen

    ClearsTheScreen - 2014-08-28

    Hello Silent-Hunter!

    Thank you for your ticket. It seems I have not touched the code in a while; under perl 5.18 given/when causes those warnings. The fix is to replace the given/when with if/elsif statements in Dicebot.pm. I'm currently preparing a fixed release for this. Should be done shortly.

    Hope the bot will then be of good use to you!
    - CTS

     
  • Silent-Hunter

    Silent-Hunter - 2014-08-28

    Thanks! :D

     
  • Silent-Hunter

    Silent-Hunter - 2014-08-29

    It does work, thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.