Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: mentalCo. on December 23, 2004, 04:50 PM

Title: [c#] my current bot
Post by: mentalCo. on December 23, 2004, 04:50 PM
http://www.geocities.com/drama_to_yo_momma/ScreenHunter_005.jpg
http://www.geocities.com/drama_to_yo_momma/ScreenHunter_006.jpg
http://www.geocities.com/drama_to_yo_momma/ScreenHunter_007.jpg

i started a project a while back called The Slammer.  this is basically the same concept but a lot more organized and with a lot more capability.  also its in c#.  it loads as many bots as you want.  each with individual scripting in either VBscript or Javascript.  this is just the layout of it pretty much.  it has a stealth mode which basically disables all gui and gui operations for speed purposes seeing as how it can get slow at high bot counts.  it uses about 2 and a half megs of ram with 12 bots loaded and connected in stealth and about like 30 megs with gui enabled.  oppinions?
Title: Re: [c#] my current bot
Post by: Kp on December 23, 2004, 05:28 PM
First: ewww, geocities.

Second: memory hog.  30MB for 12 connections is excessive.
Title: Re: [c#] my current bot
Post by: mentalCo. on December 23, 2004, 07:10 PM
its always about 25-30 megs even with no bots loaded... just make an app in c# and put a few controls on it.  then minimize your app lol you will see a huge difference.  its all gui.
Title: Re: [c#] my current bot
Post by: iago on December 23, 2004, 08:12 PM
Java is the same way.  ~20mb with gui, 800kb without.
Title: Re: [c#] my current bot
Post by: OnlyMeat on December 23, 2004, 09:46 PM
Quote from: iago on December 23, 2004, 08:12 PM
Java is the same way.  ~20mb with gui, 800kb without.

20mb with GUI!!!, well i guess it just proves once again that if you want high performance/low overhead  you have to code in c/c++ although with today's system resources it's not much of a problem but i still personally prefer a slick app ;)

Side note my d2 'clientless' game bot uses approx 3 - 5.4mb with GUI and 400-500kb with no bots loaded and no GUI. with each bot it requires an additional 230kb per bot ( includes activex scripting and COM objects etc ). And MFC is used on the frontend ( who said MFC was bloated :P )

Btw did you use the IActiveScriptSite interfaces for your scripting?

Ah a few pics as well :) ( u have to manually copy url into browser )

http://ilikefree.150m.com/bot1.PNG
To
http://ilikefree.150m.com/bot12.PNG
Title: Re: [c#] my current bot
Post by: Zakath on December 23, 2004, 09:48 PM
(http://www.valhallalegends.com/zakath/unnecessary.jpg)
Title: Re: [c#] my current bot
Post by: warz on December 23, 2004, 11:25 PM
Quote from: OnlyMeat on December 23, 2004, 09:46 PM
Quote from: iago on December 23, 2004, 08:12 PM
Java is the same way.  ~20mb with gui, 800kb without.

20mb with GUI!!!, well i guess it just proves once again that if you want high performance/low overhead  you have to code in c/c++ although with today's system resources it's not much of a problem but i still personally prefer a slick app ;)

Side note my d2 'clientless' game bot uses approx 3 - 5.4mb with GUI and 400-500kb with no bots loaded and no GUI. with each bot it requires an additional 230kb per bot ( includes activex scripting and COM objects etc ). And MFC is used on the frontend ( who said MFC was bloated :P )

Btw did you use the IActiveScriptSite interfaces for your scripting?

Ah a few pics as well :) ( u have to manually copy url into browser )

http://ilikefree.150m.com/bot1.PNG
To
http://ilikefree.150m.com/bot12.PNG

I have to commend you. That looks like it took a lot of time to make. Too bad it doesn't look very clean and neat. Otherwise I'd call it a decent looking bot.
Title: Re: [c#] my current bot
Post by: UserLoser. on December 23, 2004, 11:30 PM
(http://img61.exs.cx/img61/1989/userloserbotmemusage4gn.png)

Oh, it's VB6, too.
Title: Re: [c#] my current bot
Post by: OnlyMeat on December 23, 2004, 11:46 PM
Quote from: warz on December 23, 2004, 11:25 PM
Quote from: OnlyMeat on December 23, 2004, 09:46 PM
Quote from: iago on December 23, 2004, 08:12 PM
Java is the same way.  ~20mb with gui, 800kb without.

20mb with GUI!!!, well i guess it just proves once again that if you want high performance/low overhead  you have to code in c/c++ although with today's system resources it's not much of a problem but i still personally prefer a slick app ;)

Side note my d2 'clientless' game bot uses approx 3 - 5.4mb with GUI and 400-500kb with no bots loaded and no GUI. with each bot it requires an additional 230kb per bot ( includes activex scripting and COM objects etc ). And MFC is used on the frontend ( who said MFC was bloated :P )

Btw did you use the IActiveScriptSite interfaces for your scripting?

Ah a few pics as well :) ( u have to manually copy url into browser )

http://ilikefree.150m.com/bot1.PNG
To
http://ilikefree.150m.com/bot12.PNG

I have to commend you. That looks like it took a lot of time to make. Too bad it doesn't look very clean and neat. Otherwise I'd call it a decent looking bot.

It didn't take that long actually i made a generic connection dll which uses polymorphism when i made my first chat bot and i use it across all my bots same with UI related stuff i think it's taken about 3 months on and off in total so far but i still have a lot to do on it :P

And why is it not clean and neat? explain further please.

UserLoser: you write your bots in vb6?
Title: Re: [c#] my current bot
Post by: UserLoser. on December 23, 2004, 11:50 PM
Quote from: OnlyMeat on December 23, 2004, 11:46 PM
It didn't take that long actually i made a generic connection dll which uses polymorphism when i made my first chat bot and i use it across all my bots same with UI related stuff i think it's taken about 3 months on and off in total so far but i still have a lot to do on it :P

And why is it not clean and neat? explain further please.

UserLoser: you write your bots in vb6?

GUI things is VB6, DNS lookups, registry, data handlers, command processors, other networking things, etc, are all done in C++ dynamic-link libraries. (So yeah, I'm sort of cheating on that mem usage :P)

Why messy?:

Well, for one you're using that ewwish golden XP theme, "-----------------...".. are a few things, otherwise it looks OK.
Title: Re: [c#] my current bot
Post by: OnlyMeat on December 23, 2004, 11:57 PM
Quote from: UserLoser on December 23, 2004, 11:50 PM
Quote from: OnlyMeat on December 23, 2004, 11:46 PM
It didn't take that long actually i made a generic connection dll which uses polymorphism when i made my first chat bot and i use it across all my bots same with UI related stuff i think it's taken about 3 months on and off in total so far but i still have a lot to do on it :P

And why is it not clean and neat? explain further please.

UserLoser: you write your bots in vb6?

GUI things is VB6, DNS lookups, registry, data handlers, command processors, other networking things, etc, are all done in C++ dynamic-link libraries. (So yeah, I'm sort of cheating on that mem usage :P)

Why messy?:

Well, for one you're using that ewwish golden XP theme, "-----------------...".. are a few things, otherwise it looks OK.

You should use MFC it's makes things as easy as vb for front end stuff :)

Ye i was using that xp theme to test out the native UI support for themes.