Valhalla Legends Forums Archive | Battle.net Bot Development | My Bot's Latest Release

AuthorMessageTime
Myndfyr
Hey guys...

I've finally posted a new release of my bot. Alpha 4 -- it is PRE-beta. It takes up quite a bit of RAM (about 50mb), but it really varies. I think as it runs the memory reqs go down. That's been my experience as I've been using it on my computer.

I'd like some suggestions and comments on what isn't working. I noticed that I'm not responding to two event types (ServerBroadcast and, IIRC, ChannelRestricted). As it is, though, I believe that things are working generally well, aside from the initial run slowness (.NET compilation) and that stuff. Before I release Beta 1, I'm going to start running FxCop and Application Center Test before publishing.

If anyone has comments, and it's not too much trouble, bug reports and that could be posted on my forums.

The website for downloading and all that is http://www.armabot.net/

Thanks all!
June 26, 2004, 1:28 AM
GoSuGaMING
very nice looking bot from the screen shots!
June 26, 2004, 2:56 AM
Quarantine
WOW Very Very Nice. One of the best bots ive ever seen. Very nice job.
June 26, 2004, 3:02 AM
LW-Falcon
I like the WAR3 profile view :D
June 26, 2004, 3:57 AM
GoSuGaMING
[quote author=Falcon[anti-yL] link=board=17;threadid=7443;start=0#msg67230 date=1088222236]
I like the WAR3 profile view :D
[/quote]

yeah that had to take alot of hard work!
June 26, 2004, 3:57 AM
Spht
You should write a BinaryChat plugin which adds the Warcraft III profile things so bots which support the BinaryChat plugin API can make use of it. Shouldn't take long to copy dialog and send/receive handling over, while using Yoni's EmptyPlugin as compile-ready template.
June 26, 2004, 4:19 AM
The-Rabid-Lord
I gte a problem when i try to run it. "The application failed to initilize properly (0x0000135)". Any help.
June 26, 2004, 12:48 PM
CrAz3D
Do you have the .NET framework?
June 26, 2004, 3:33 PM
warz
Not simple enough. I like bots that are bare, and straight forward.
June 26, 2004, 3:50 PM
Hitmen
[quote author=warz link=board=17;threadid=7443;start=0#msg67265 date=1088265022]
Not simple enough. I like bots that are bare, and straight forward.
[/quote]
And don't eat up twice as much RAM as the starcraft game client :P
June 26, 2004, 4:01 PM
LW-Falcon
[quote author=The-Rabid-Lord link=board=17;threadid=7443;start=0#msg67253 date=1088254113]
I gte a problem when i try to run it. "The application failed to initilize properly (0x0000135)". Any help.
[/quote]
http://www.armabot.net/sysreq.aspx
June 26, 2004, 5:26 PM
UserLoser.
This topic is in the wrong forum. This is Battle.net Bot Development, not releases :)

[me=UserLoser.]just had to say that :P[/me]
June 26, 2004, 10:15 PM
Myndfyr
[quote author=UserLoser. link=board=17;threadid=7443;start=0#msg67323 date=1088288119]
This topic is in the wrong forum. This is Battle.net Bot Development, not releases :)

[me=UserLoser.]just had to say that :P[/me]
[/quote]

I checked with Spht first, to make sure it would be allright.

The runtime error is that you need to get the .NET Framework 1.1.
June 26, 2004, 11:18 PM
Spht
[quote author=UserLoser. link=board=17;threadid=7443;start=0#msg67323 date=1088288119]
This topic is in the wrong forum. This is Battle.net Bot Development, not releases :)

[me=UserLoser.]just had to say that :P[/me]
[/quote]

As long as the point of thread is to get input to help "develop" the bot, then it's fine.

"Here is my bot, download it" is an advertisement and is not allowed.
June 27, 2004, 2:14 AM
Tuberload
Excellent job so far!

I have been interested in learning C# so I think I will start messing around with your plugin system.
June 27, 2004, 2:48 AM
KkBlazekK
Holy crap. That is the best I have ever seen or will ever see...
June 27, 2004, 4:52 AM
Myndfyr
[quote author=Hitmen link=board=17;threadid=7443;start=0#msg67267 date=1088265718]
[quote author=warz link=board=17;threadid=7443;start=0#msg67265 date=1088265022]
Not simple enough. I like bots that are bare, and straight forward.
[/quote]
And don't eat up twice as much RAM as the starcraft game client :P
[/quote]

Like I said, I believe that's due to the Just-in-Time compiler eating it all up at the first run. The bot's been running for about 30 hours and at the moment is only consuming 13mb of RAM (which is a lot less than the 50mb it was using yesterday when I first launched it on this computer).

Thanks for the support. Here's some more info on the plugins, since Tuber mentioned that he wanted to play with my system....

I'm very displeased with what is included in the PluginBase class. Since ArmaBot plugins should (theoretically) be only used in ArmaBot, it isn't a problem if I allow the user to add references to the configuration options, right? So, that's what I'm going to do. I'm going to document the other assemblies and also add references to the current profile's configuration profile for each assembly, in a similar manner to the way that your ASP.NET pages work.

When you create an ASP.NET page, you're also creating a class that derives from System.Web.UI.Page. Page defines certain members such as Server (an HttpServerUtility object), Session (HttpSessionState object), Application (HttpApplicationState object), and so on. Those of use who have used traditional ASP regard them as simply script objects that are provided by the runtime; however, they aren't, and it will work similarly in the Beta 1 plugin.

Expect the PluginBase class to have the same methods that it has now, but add a whole lot. Code developed for Alpha 4 should work with beta 1 provided that it is recompiled. Hopefully. ;-)
June 27, 2004, 8:07 AM
Arta
You should support BCP. Other bots stupport BCP already. Let's try and have a common plugin format? It'd be so cool.
June 27, 2004, 3:18 PM
zorm
Keep in mind that the way he does things are vastly different from a BCP Plugin and so supporting those will be sort of hard I think. Your bot looks nice Myndfyre, if I wasn't avoiding C# id try it out :p
June 27, 2004, 3:56 PM
Tuberload
[quote author=Myndfyre link=board=17;threadid=7443;start=15#msg67391 date=1088323673]
[quote author=Hitmen link=board=17;threadid=7443;start=0#msg67267 date=1088265718]
[quote author=warz link=board=17;threadid=7443;start=0#msg67265 date=1088265022]
Not simple enough. I like bots that are bare, and straight forward.
[/quote]
And don't eat up twice as much RAM as the starcraft game client :P
[/quote]

Like I said, I believe that's due to the Just-in-Time compiler eating it all up at the first run. The bot's been running for about 30 hours and at the moment is only consuming 13mb of RAM (which is a lot less than the 50mb it was using yesterday when I first launched it on this computer).
[/quote]

Looks to me like C# isn't much better as far as speed and memory consumption compared to Java. I am not blown away by C# yet, but you have definitely put a lot of quality work into your bot.
June 27, 2004, 5:28 PM
Myndfyr
[quote author=Arta[vL] link=board=17;threadid=7443;start=15#msg67405 date=1088349531]
You should support BCP. Other bots stupport BCP already. Let's try and have a common plugin format? It'd be so cool.
[/quote]

I'm working on that, but it's a way off. Part of the trick is knowing what functions to call; the standard method of calling P/Invoke on a BCP would be to put the DLL file in at compile-time:

[code]
[DllImport("EmptyPlugin.bcp")]
public static extern void DoSomething(/*...*/);
[/code]

In this case, it will work only for EmptyPlugin. I posted the first BCP callback functions in another post, and it's a planned feature, but I'm not sure if it will make it into version 1. Definitely in by version 2. :)

I'm going to keep my current plugin system, though. .NET will work fastest with .NET; I'd have unnecessary transfer in between .NET and unmanaged code eating clock cycles if I did only BCP.
June 27, 2004, 6:25 PM

Search