Logic Help (Bot Hive)

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Feclar
decaying skeleton
decaying skeleton
Posts: 7
Joined: Fri Sep 12, 2003 9:40 am

Logic Help (Bot Hive)

Post by Feclar » Thu Jul 22, 2004 11:02 pm

Hi,

Basically what I want to accomplish...
Want to be able to control multiple EQ characters (2-60 characters) from one EQ character and XP / Grind / Farm / Uber mob raids.

Looking to write a large hive macro so looking to see if anyone has any logic suggestions on how to control it all and have the bots work together smoothly.

So far this is my plan.

All bots will connect to channel on an irc server (mq2irc) and take aggressive commands from there.
(All bots level 65 with all their spells/class defineing aa's)

master.mac (run on 1 physically controled character)
Master script will take echos from client to do stuff and then the script will decide what it needs to tell to the bots.
example:
/echo !buildhive
master script will tell channel to make all bots report important info
such as... BotVersion / Class / gearedHP / gearedAC / gearedMana

from that info master.mac will automatically designate roles for the bots so that if you have 3 warriors each bot will know its position in tank line, each cleric will know its position in ch line etc and will tell the bots what roles (routines) it should perform.
-

hivecore.mac
core macro run on each bot
will have all the generic non-class-specific routines
followPerson / melee attack / how to cast a spell / accept rez / assist MA
etc etc etc
-
$Class$.inc (aka like afwiz/afcleric)
Class specific stuff
wizards nuke, rogues backstab etc etc etc

-

routine.mac this will include basic strategy routines used and you would add includes for strategies here.
for example would have a generic xp grind routine with roles defined
and could #include routine-planeofearth.inc etc.

---

$CharName$.ini
This will include for example tank# ch# assist#

==========

Anyone have any suggestions or logic that would make this work smoother?

hiipii
a ghoul
a ghoul
Posts: 93
Joined: Sat Jun 19, 2004 5:01 pm

Post by hiipii » Fri Jul 23, 2004 12:44 am

This sounds like a cool idea but I don't think anyone is going to write a huge script like this for you...you are gonna have to do it yourself. And also I highly highly doubt that everything will run correctly if you are running 60 characters at the same time. Anyway..do you really have access to 60 lvl 65 characters? Well anyways if you get this to work pls let us know how it goes hehe.

stevec
orc pawn
orc pawn
Posts: 10
Joined: Tue Jul 20, 2004 12:58 pm

Post by stevec » Fri Jul 23, 2004 3:14 am

I have myself thought about a similiar project for automating a guild :)

Would need about 15 top of the range PCs to run 4 chars each. Start them all at lvl 1 and have them run off and see what they could achieve.

My idea was not even to control the guild from 1 character but to basically give them guidelines as to what they can and cannot do. Let them work out strategy for pulling, healing, slowing etc.

Of course this is more about an AI project than playing EQ but would be a heck of a challenge.

Oh and on top of that they would all be blond female humans or barbarians all using the same models. Call the guild <Amazons> or something to add a bit of flavour. Would have to have 1 gnome to handle tinkering though.

You could also tie this all into a generated website which is constantly upgraded with statistics of what the guild has achieved and links to the magelos of each bot.

Would have a bot in bazaar at all times doing auto trading to handle guild funds and selling of excess equipment.

Would have a tradeskill bot constantly churning out tradeskill items and in between would scout, gnome wizard comes to mind, so the guild always knows what targets are up.

Of course would have to wait for a server to be almost empty otherwise would cause a lot of friction with the other players as the guild would be perma killing almost everything :)

yetanotheruser
a lesser mummy
a lesser mummy
Posts: 48
Joined: Sun Nov 02, 2003 5:35 pm

Post by yetanotheruser » Fri Jul 23, 2004 4:03 am

Try Genbot in the Macro Depot ?

Feclar
decaying skeleton
decaying skeleton
Posts: 7
Joined: Fri Sep 12, 2003 9:40 am

Post by Feclar » Fri Jul 23, 2004 5:58 am

yetanotheruser wrote:Try Genbot in the Macro Depot ?
Yes I have, this is basically takeing it one leap further

Feclar
decaying skeleton
decaying skeleton
Posts: 7
Joined: Fri Sep 12, 2003 9:40 am

Post by Feclar » Fri Jul 23, 2004 6:01 am

hiipii wrote:This sounds like a cool idea but I don't think anyone is going to write a huge script like this for you...you are gonna have to do it yourself. And also I highly highly doubt that everything will run correctly if you are running 60 characters at the same time. Anyway..do you really have access to 60 lvl 65 characters? Well anyways if you get this to work pls let us know how it goes hehe.
Yes its a huge script, wasnt asking someone to write it

Was just asking for logic ideas

no i dont have 60 chars and dont play to run even 20 at once

But 10ish I would like to run.

Currently i own 4 lvl 65's , sk bl cleric shaman

Which is what I will be writting initially, 3 of those 4 to work together, plan to play the SK as the master (puller)

Terramantian
a ghoul
a ghoul
Posts: 120
Joined: Thu May 13, 2004 6:20 pm

Post by Terramantian » Sat Jul 24, 2004 12:51 am

This sounds really interesting...

Your logic looks good to me, though I'm just an amateur here. I'd recommend though instead of .inc files, use .ini files for different zones. It'll be more work to code in all the various switches and ways to do things at first, but it should be a LOT easier to actually make the different .inis. You could even throw in advpath-like stuff for pulling in static-spawn places, etc. Good luck with this, I for one am interested to see if you can get it anywhere.

Tuna
a lesser mummy
a lesser mummy
Posts: 68
Joined: Mon Jul 21, 2003 4:10 pm

Post by Tuna » Thu Jul 29, 2004 12:59 pm

Why run them all from your own home? Start the test with 20 friends and 1 hive controller (you).

Amusingly enough, $12.95 times 60 is $777. :wink:

hiipii
a ghoul
a ghoul
Posts: 93
Joined: Sat Jun 19, 2004 5:01 pm

Post by hiipii » Fri Jul 30, 2004 4:48 am

You could rent some nice p4 servers on a really nice connection and run chars from there =)

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Fri Jul 30, 2004 5:16 am

Feclar wrote:
yetanotheruser wrote:Try Genbot in the Macro Depot ?
Yes I have, this is basically takeing it one leap further
Then Learn how genbot works and Expand on it, Why rewrite the book, genbot will do 95% of what you want, create an extension that sits right on top of genbot, that way other people might be able to use it and therefore help you de-bug it.
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]