IFABot - IRC/Battle.net bot


IFABot Battle.net bot

IFABot is called "Battle.net bot". This is a program able to connect to Battle.net simulating a Warcraft III game client. Nowadays, lots of Battle.net bots are designed to browse Battle.net channels to chat, moderate, ...

IFABot isn't a chat bot or even a moderator bot. It aims at establishing a link between an IRC channel and a Battle.net channel allowing IRC users to communicate in real-time with Battle.net users and conversely. Actually, all seems to be like a single common channel.

Known issues

  • When logging on Battle.net, logon sequence randomly fails and returns a "Wrong password error". If it occurs, just try to reconnect IFABot to Battle.net.

Features

  • Communication between Battle.net and IRC: talks, whispers, commands, ...
  • Connection as a Warcraft III Roc or a Warcraft III TFT client.
  • Flood control to avoid Battle.net/IRC disconnections.
  • Handles customized plugins.
  • Three broadcasting mode: IRC to Battle.net, Battle.net to IRC or both.
  • Can chat on IRC and Battle.net from IFABot.
  • ...

Commands

To be as interactive as possible between IRC and Battle.net, IFABot has got some commands.
Here they are:
  • From Battle.net:
    • !help Commands list.
    • !irc Current users on IRC channel.
    • !ping Player's ping.
    • !plugins Running plugins list.
    • !plugin < plugin_name > Information about < plugin_name > plugin.
    • !seen Lastest seen players on Battle.net channel.
    • !seen < player > Last time < player > has been seen on Battle.net.
    • !w < user > < message > Notices/whispers < message > to < user > on IRC.
  • From IRC:
    • !bnet Current players on Battle.net channel.
    • !help Commands list.
    • !plugins Running plugins list.
    • !plugin < plugin_name > Information about < plugin_name > plugin.
    • !r < message > Answers < message > to the last whisper from Battle.net.
    • !seen Lastest seen players on Battle.net channel.
    • !seen < player > Last time < player > has been seen on Battle.net.
    • !w < player > < message > Whispers < message > to < player > on Battle.net.
    • !where < player > Locates < player > on Battle.net.

Battle.net side

IRC side

Downloads

Remark: if you are installing IFABot 0.6x over IFABot 0.5, please first uninstall IFABot 0.5 and delete IFABot 0.5 installation directory.

Requirements

To make IFABot work properly, the following components are needed:
  • Microsoft .Net Framework 2.0 (22,4 Mb)
  • Warcraft III (RoC or TFT) installation OR hash files of the latest version.
  • Warcraft III RoC valid CD Key.

Version 0.66

  • Release date: Nov 28, 2009
  • Core:
    • Warden module handling.
    • BNLS server and port can now be changed as settings.
    • Verion byte can now be changed as a setting.

Version 0.65

  • Release date: Aug 9, 2009
  • Core:
    • Update for Warcraft III 1.24 patch.

Version 0.64

  • Release date: Mar 21, 2009
  • Core:
    • Update for Warcraft III 1.23 patch.

Version 0.63

  • Release date: Sep 21, 2008
  • Interface:
    • Both x86 and x64 architectures are now supported.
    • Several commands can now be sent on IRC connection.
    • More explicit Battle.net parsing error messages.
    • /mode < user > < flag > command for IRC interface.
  • New commands:
    • From Battle.net:
      • !seen Lastest seen players on Battle.net channel.
    • From IRC:
      • !seen Lastest seen players on Battle.net channel.
  • Bugs correction:
    • Messages sent from IFABot IRC tab now appear in IFABot IRC window.

Version 0.62

  • Release date: Jul 1, 2008
  • Core:
    • Update for Warcraft III 1.22 patch.

Version 0.61

  • Release date: Nov 14, 2007
  • Interface:
    • Labels in 'Settings > IFABot > Notifications' changed.
    • /r < message > command for Battle.net interface.
    • /topic < topic message > to set IRC channel topic from IRC interface.
    • /whois < user > to whois an IRC user from IRC interface.
  • New features:
    • Flood control from Battle.net to IRC.
    • A message is sent to IRC when IFABot loses connection with Battle.net.
    • Number of messages sent from plugins is no longer limited.
    • New event in plugins: EventOnWhois and EventOnNames (see IFABot Plugin Development documentation).
  • New commands:
    • From Battle.net:
      • !seen < player > Last time < player > has been seen on Battle.net.
  • Bugs correction:
    • A '+' could appear with !irc command from Battle.net before voiced users.
    • Wrong channel name appeared in the result of !bnet command from IRC.

Version 0.6

  • Release date: Nov 11, 2007
  • Interface:
    • Interface completely redesigned.
    • Status bar to control Battle.net, IRC and IFABot's updates.
    • Menu as an horizontal toolbar.
    • New settings window.
    • Settings can be changed without disconnecting.
    • New icons.
    • Main window disappears in tray when minimized.
    • Main window is now resizable.
    • Black background for Battle.net frame.
    • White background for IRC frame.
    • Icon game attached to player name in Battle.net channel list.
  • New features:
    • Adds support of Warcraft III The Frozen Throne client.
    • Can chat on IRC and Battle.net from IFABot.
    • Can connect to Battle.net and IRC on IFABot launch.
    • Performs customize command when connected to IRC.
    • Informs user about new available IFABot's updates.
    • Three broadcasting mode: IRC to Battle.net, Battle.net to IRC or both.
    • Can make IFABot join any Battle.net channels as the official client can.
    • Flood control to avoid Battle.net disconnections due to high activity on IRC.
    • Plugin system (see Plugins tab to read more).
  • New commands:
    • From Battle.net:
      • !plugins Running plugins list.
      • !plugin < plugin_name > Information about < plugin_name > plugin.
    • From IRC:
      • !plugins Running plugins list.
      • !plugin < plugin_name > Information about < plugin_name > plugin.
      • !seen < player > Last time < player > had been seen.

Version 0.5

  • Release date: Oct 2, 2007
  • First version.

Plugins

IFABot allows you to create easily your own plugin to add functionnalities to IFABot. However, plugins development is for experienced programers in .Net languages.
I would recommend developers who want to create IFABot plugins to work on Visual Studio. The following samples can be downloaded as Visual Studio projects.

Add plugins to IFABot

An IFABot plugin is actually a DLL file. As you probably see it in IFABot installation directory, there is a plugins directory.
To add plugins to IFABot:
  • Copy the plugin DLL file into plugins directory in IFABot installation directory.
  • Load it: in the Settings window of IFABot, check the plugins you want to load. Loading a plugin is dynamic, so you don't need to relaunch IFABot.

Create your plugin

In order to make things be easier, here are a basic IFABot plugin and a documentation from which you could start coding your plugin:

Get started with plugin sample

There are some things you have to pay attention while developing your IFABot plugin:
  • Do not modify the namespace: it has to be IFABot.
  • Do not modify the main class name: it has to be IFABotPlugin.
  • Do not modify the methods in Required Methods section.
  • In Project, Properties, Application tab, choose a unique Default namespace. If two plugins have the same default namespace, only one will be loaded.
The Plugin Sample code source main class contains all the events a plugin can handle. They are also listed and detailed in the above documentation.

Development

  • Developement: Homerlan
  • Icons: Mark James
  • Graphism: Homerlan

Links

Some very useful links about Battle.net protocol and Battle.net bots development.

Contact

  • For bugs & suggestions, please use the e-mail address in About window of IFABot.
  • IRC: Homerlan (irc.quakenet.org)


Connexion automatique
S'enregistrer
Mot de passe perdu ?
  • Lun
  • Mar
  • Mer
  • Jeu
  • Ven
  • Sam
  • Dim
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  •  
  •  
  •  
  •  
Voir tous les événements
Aucun événement aujourd'hui.
  • IFA-France (23)
  • 23 invités
  • IRC #ifacette (7)
  • ifacette
  • lok7a
  • Marmite[IFA]
  • Marmite`Work
  • Q
  • Rapass
  • rapass1
  • Ventrilo (0)
  • HoN #ifacette (1)
  • ifacette
  • Battle.net #ifacette (1)
  • ifacette