Clan x86

General Forums => General Discussion => Topic started by: MyndFyre on July 07, 2006, 04:34:31 AM

Title: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: MyndFyre on July 07, 2006, 04:34:31 AM
(http://www.jinxbot.net/wikimages/e/e9/Tooltips-work.png)
That is a LIVE IMAGE.  It's hooked into the real WoW data files and it got the image from the MPQ.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Sidoh on July 07, 2006, 04:46:49 AM
So.... pretty... myndfyre, I think I love you. :-*
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: ZeroX on July 07, 2006, 01:45:08 PM
When is this going to be open for beta  :P
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Blaze on July 07, 2006, 02:46:23 PM
I was going to annoy Sidoh on msn this weekend about this project.  I'm very interested in it.  You're going to make it plugin-accessable, right?  :)
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: MyndFyre on July 07, 2006, 04:42:54 PM
Quote from: Blaze on July 07, 2006, 02:46:23 PM
I was going to annoy Sidoh on msn this weekend about this project.  I'm very interested in it.  You're going to make it plugin-accessable, right?  :)

Would you like to write something for it?

As it stands, the WoW aspect itself is a plugin.  Pretty much, the way it works is this:

JinxBot (program) enumerates all the plugin DLLs.  There are two kinds of plugin DLLs, the ones that provide connections and UIs for protocols (for example, Battle.net, WoW, etc.).  The other will extend the user interface of individual connections; for instance, I might have two WoW connections and a Battle.net connection going at once.  The WoW connections can have a separate set of plugins running, or the same plugins running with different parameters.  It may be possible that a single plugin can support more than one connection type, too, but since each connection is supposed to have its own set of events (in an enumeration) and objects, it wouldn't be without some adaptation layer.

Plugins are unloaded from memory until their first actual use, at which point they're loaded into the main AppDomain space and are not unloaded for the duration of the application's lifetime.  (This is because graphical elements from an alternate AppDomain, which could have been unloaded, could not be marshalled across AppDomain boundaries).

Quote from: ZeroX on July 07, 2006, 01:45:08 PM
When is this going to be open for beta  :P
I'm hoping to release a closed beta to clan members at some point in the next couple of weeks.  Before an open beta would begin I need to document the API and create a sample plugin - probably for Battle.net - and open-source it.  I am NOT open-sourcing the WoW plugin, but there will be an API for that.

For example:


public Image GetIconFor(Item item)
{
    Image img = null;
    DbcFile itemDisplayInfo = InterfaceData.Singleton.ItemDisplayInfoDatabase;
    string iconName = null;
    lock (itemDisplayInfo)
    {
        if (itemDisplayInfo.FindRecordById(item.DisplayId))
        {
            iconName = itemDisplayInfo.GetStringInColumn(5);
        }
        else return img;
    }
    string iconPath = string.Format("Interface\\Icons\\{0}.blp", iconName);
    try
    {
        BlpImage blp = new BlpImage(InterfaceData.Singleton.InterfaceArchive.OpenFile(iconPath));
        img = blp.ToBitmap();
    } catch (FileNotFoundException ex) { return null; }

    return img;
}

All of that will be publically-accessible.  Obviously that code requires a working knowledge of the MPQ file layouts and DBC files, but this information can be viewed either by using something like MyWarCraftStudio or www.hackwow.com, respectively.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: GameSnake on July 07, 2006, 04:49:53 PM
Is this the first WoW bot? Makes me proud to be in the same clan as MyndFyre.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: MyndFyre on July 07, 2006, 04:59:08 PM
Quote from: GameSnake on July 07, 2006, 04:49:53 PM
Is this the first WoW bot? Makes me proud to be in the same clan as MyndFyre.
AFAIK yes.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: TeHFoOoL on July 07, 2006, 11:37:33 PM
Really neat if it does what I think it does.

And I dunno a thing about coding. :x
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Chavo on July 08, 2006, 01:26:35 PM
Quote from: MyndFyrex86] link=topic=6533.msg79181#msg79181 date=1152304974]
Would you like to write something for it?

I almost definately would.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Rule on July 08, 2006, 04:20:10 PM
Hm, I don't usually care about these things, but this seems to be a recurring problem.  I would definitely like it if people stopped spelling definitely as definately!

Ummm.... *cloaks*

Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: MyndFyre on July 08, 2006, 04:55:17 PM
Quote from: Rule on July 08, 2006, 04:20:10 PM
Hm, I don't usually care about these things, but this seems to be a recurring problem.  I would definitely like it if people stopped spelling definitely as definately!

Ummm.... *cloaks*

Haha I always tell people.... it's derived from the word "finite," then "definite," then "definitely."  If you ever have a problem spelling it, that's the way I remember.  :)
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: rabbit on July 08, 2006, 09:11:55 PM
I think left to right, like a true American.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Chavo on July 08, 2006, 09:18:12 PM
Quote from: MyndFyrex86] link=topic=6533.msg79412#msg79412 date=1152392117]
Quote from: Rule on July 08, 2006, 04:20:10 PM
Hm, I don't usually care about these things, but this seems to be a recurring problem.  I would definitely like it if people stopped spelling definitely as definately!

Ummm.... *cloaks*

Haha I always tell people.... it's derived from the word "finite," then "definite," then "definitely."  If you ever have a problem spelling it, that's the way I remember.  :)

I really have no idea why I commonly mispell definitely, the incorrect spelling just seems more intuitive I suppose.  One of the rare words that I do constantly misspell.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: Rule on July 09, 2006, 12:20:35 PM
Quote from: unTactical on July 08, 2006, 09:18:12 PM
Quote from: MyndFyrex86] link=topic=6533.msg79412#msg79412 date=1152392117]
Quote from: Rule on July 08, 2006, 04:20:10 PM
Hm, I don't usually care about these things, but this seems to be a recurring problem.  I would definitely like it if people stopped spelling definitely as definately!

Ummm.... *cloaks*

Haha I always tell people.... it's derived from the word "finite," then "definite," then "definitely."  If you ever have a problem spelling it, that's the way I remember.  :)

I really have no idea why I commonly mispell definitely, the incorrect spelling just seems more intuitive I suppose.  One of the rare words that I do constantly misspell.

It's definitely not just you ;).

Quote from: Rabbit's Custom Text; July 9 2006
Definately anti-Joe
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: GameSnake on July 09, 2006, 12:29:48 PM
I can now always spell definitely correctly thanks to myndfyre.
Title: Re: O.....M.....G!!!!!!!!!!!!!!!!!!!
Post by: iago on July 09, 2006, 12:44:44 PM
Quote from: GameSnake on July 09, 2006, 12:29:48 PM
I can now always spell definitely correctly thanks to myndfyre.
Now to work on almost every other word... :P