I wanted to start a discussion with you guys about eq2bot and see what we can do to help make it better. Blazer told me in a chat he will be leaving it alone for a while to work on some other scripting projects so this is a good time for our extra help.
Primarily I think the biggest thing it needs is a reworking of the spell lists and maybe their definitions. Some classes like monks have many attacks that do not share the same timer and there are not always enough consecutive spell ID numbers to use those abilities concisely in the script. Right now most types of actions seem to have 3 slots reserved, maybe it should go to 6 or so.
The other thing I would like to see (and can help with) is a library of useable items that the characters should use in certain circumstances. You can see the manastone code inside eq2bot.iss for an example. With some effort, we could script a library of useable items that indicates when to use them, and then add a simple function to either eq2bot or the character scripts to enable those checks. We'd prolly want to add that to the UI with some checkbox toggles linked to booleans.
Similarly, there are some race-specific abilities that currently have to go into the class script. Maybe we should make a library for those as well? then inside the character script you'd have:
call CheckComsumables
call CheckRacialAbilities
And boom, the character script stays pretty clean, except maybe some extra booleans etc.
Let me know what you think. I'll see about tossing together a sample item library here in the next day or two so we can play around with it.
Primarily I think the biggest thing it needs is a reworking of the spell lists and maybe their definitions. Some classes like monks have many attacks that do not share the same timer and there are not always enough consecutive spell ID numbers to use those abilities concisely in the script. Right now most types of actions seem to have 3 slots reserved, maybe it should go to 6 or so.
The other thing I would like to see (and can help with) is a library of useable items that the characters should use in certain circumstances. You can see the manastone code inside eq2bot.iss for an example. With some effort, we could script a library of useable items that indicates when to use them, and then add a simple function to either eq2bot or the character scripts to enable those checks. We'd prolly want to add that to the UI with some checkbox toggles linked to booleans.
Similarly, there are some race-specific abilities that currently have to go into the class script. Maybe we should make a library for those as well? then inside the character script you'd have:
call CheckComsumables
call CheckRacialAbilities
And boom, the character script stays pretty clean, except maybe some extra booleans etc.
Let me know what you think. I'll see about tossing together a sample item library here in the next day or two so we can play around with it.