• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Irc - Monitor] GeekIrcMonitor - Beta

    Discussion in 'Archives' started by geeekzor, Mar 21, 2012.

    1. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      [Irc - Monitor] GeekyIRC - Beta

      GeekyIRC (Shitty Name I know)


      This is a plugin to send chat messages and logs to an IRC channel.

      Its built on the SmartIrc4Net framework.

      Features
      • Chat Logging, currently supports
        • Whispers
        • Party
        • Raid
        • Battleground
        • Guild
        • Officer
        • Say
      • Remote chatting, works for
        • Whispers
        • Party
        • Raid
        • Battleground
        • Guild
        • Officer
        • Say
      • It can send statistics (deaths, loots, honor gained etc.) when you use a command.
      • It can send the whole Honorbuddy logging window, so that you can keep track on what your bot is doing when you are at school or work.
        • This will send it as it happens. Choose your server wisely, as it can get spammy (often causing the plugin to get kicked)
        • It can also be sent as private messages to the specified nickname
      • Basic Nickname security (Disabled by default) will make it respond to commands but only if the persons nickname is in the list of accepted names.
      • Remote commands to change botbases, limited functionality due to the plugin not having code to change profiles.
      • Kill wow remotely.

      All options are disabled by default.


      It is highly recommended that you overlook your IRC settings before using this plugin.


      If you have "Extreme Logging" enabled make sure that

      1. You set the SendDelay option is set to true
      2. SendDelay value to something higher than 1 second (1000 milliseconds)


      This plugin may send loads of messages, it might get kicked or banned on public servers.



      Configuration

      Settings are applied when the Config form is closed and take effect immediately.

      The prefix can be changed, default is an exclamation mark ( ! )
      Only set it to single characters. i.e ! , = , ? , P etc

      This plugin is currently in a beta stage, there are bugs and there are issues.
      If you encounter an error, post a log.
      I do have try-catch blocks around most of the code,
      but that doesn't mean everything is handled and logged.

      Code:
      [COLOR=#ff8c00]
      [/COLOR][COLOR=#ff8c00]Commands[/COLOR]
      If you send commands as a private message, it will reply with a private message
      If you send commands directly in a channel, it will reply there.
      
      Commands starts with a prefix, default is an exclamation mark ( ! ) You can change this in the settings.
      
      [SIZE=2]time - prints the current time (Mainly for testing the plugin)
      level - prints the level of the character.
      pos - prints the position
      deaths - prints the deaths.
      exp - exp per hour and time to level.
      [/SIZE]stop - stops the bot.
      start - starts the bot, doesn't chose a CC.
      arch - switches to and starts the archaeology bot
      bg - switches to and starts the bg bot
      grind - switches to and starts the grinding bot, doesn't switch profiles.
      quest - switches to and starts the questing bot, doesn't switch profiles.
      name - prints the name of the character
      loots - total loots and loots per hour
      kills - kills
      status - an array of info
      
      chat - writes to the specified chat
      
      chat <Channel> <Message>
      i.e !chat PARTY Hey guys
      
      whisper - whispers a player
      
      whisper <Player> <Message>
      i.e !whisper Bob Hey Bob
      

      Downloads

      geeekzor-code - Revision 23: /trunk/GeekyIrc

      Zip Archive can be found at the bottom of the page, it will not be updated as often as the SVN though


      Code:
      Known issues
      
      Duplicate connections can occur after using Recompiling Plugins
      
      It will reconnect if kicked, but if the plugin looses connection for a long period of time
      or if the server restarted it might not reconnect properly.
      
      
       

      Attached Files:

      Last edited: Mar 30, 2012
      tumbum likes this.
    2. CutePro

      CutePro New Member

      Joined:
      Nov 9, 2010
      Messages:
      215
      Likes Received:
      1
      Trophy Points:
      0
      I miss some important commands like !status

      Would be nice if you implement this.
       
    3. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      2 Minutes after the first release?

      Yeah sure :)

      Edit:

      status command added in the latest commit, feel free to update.
       
      Last edited: Mar 21, 2012
    4. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      what happens if I message another persons bot with Stop command
       
    5. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      Well currently it listens for the stop command in the channel, therefore it can be stopped by anyone who joins it and knows the command.

      I could make it so that the irc bot only listens to a certain persons nick, since i pass the nick as a argument each time I process the commands.


      I wouldn't recommend using this on a public server, I use a local server myself, so thats why I didn't implement a check for calling commands.
       
      Last edited: Mar 21, 2012
    6. syntex

      syntex New Member

      Joined:
      Sep 13, 2011
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Must to say , best idea.
      Hope it will become to reallity (stable) :)
      Gonna test it tomorrow at work.
       
    7. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      need... prints perm the Log of HB into the IRC-Channel
       
    8. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      Actually, its quite stable, I've been adding stuff since 13:00 today, of course there are things to fix but it will take some time to fix them all.


      Latest commit includes

      Basic security, will only respond to stop/start and botbase changes if the "Nick" is the same as what is set in the config.

      !status command, which will send a list of info
      Code:
              "Name:  " 
              "Level: "
              "EXP/h: "
              "Zone:  "
              "Loots: "
              "Kills: " 
      
       
    9. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      The perm?
       
    10. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      just a switch where you enable the Log to be printed into the IRC-Channel. i mean everything out of the log.
       
    11. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      Well if HB allows it then its possible. Gonna prioritize the thread issue though.
       
    12. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      ExtremeLogging.jpg

      I'm guessing this is how you wanted it? :)
       
    13. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      Changelog Revision 39
      Code:
      
      Thread issue fixed. 
      
      Extreme Logging added, will log everything from the main window. Enabled in the config. (Off by default)
      
       
    14. Gigglebyte

      Gigglebyte New Member

      Joined:
      Jan 24, 2011
      Messages:
      169
      Likes Received:
      0
      Trophy Points:
      0
      Thanks, gonna def try this :) Can you also type non-normal letters on irc ? :D
       
    15. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      Well that depends,

      1. This plugin utilizes SmartIrc4Net, any text/symbol limitations in that framework will be present in my code.
      2. This plugin uses UTF-8 Encoding.
       
    16. 0ld

      0ld New Member

      Joined:
      Mar 1, 2012
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      0
      Last edited: Mar 22, 2012
    17. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      Yes right... thats wonderful... will think about some other things... be back.

      thank you
       
    18. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
    19. CutePro

      CutePro New Member

      Joined:
      Nov 9, 2010
      Messages:
      215
      Likes Received:
      1
      Trophy Points:
      0
      Last edited: Mar 22, 2012
    20. geeekzor

      geeekzor Member

      Joined:
      Jan 15, 2010
      Messages:
      213
      Likes Received:
      3
      Trophy Points:
      18
      New version committed, still need a few more fixes but

      Now we can type "!chat" in the channel

      Code:
      !chat <Channel> <Text>
      
      for example !chat party Hey
      will send Hey to the party chat
      !chat should work with battleground, raid, party, say, guild, officer


      !whisper for whispers,
      Code:
      !whisper <Name> <text>
      
      for example !whisper Bob Hey Bob
      will whisper Bob
      Quotes are escaped and will show correctly in game.

      Added Logging for

      Raid
      Battleground
      Guild
      Officer
      Say
       

    Share This Page