eq2bot Let's organize race abilities

Tsumari2

Active Member
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.
 

Karye

Active Member
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.
you are free to use the range 1-400. There is no need to follow any sort of key for you class scripts.

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.
This has been done in my eq2bot extras. Simply make a call to "UseItem" in the eq2botlib.iss. If its in your inventory, it will equip it and use it. You can look at conjuror.iss as an example of its use. The manastone code is legacy and should be removed.

As far as racial abilities most of them are pretty poor once your past level 10 (the first 2 hours?) of a characters life but its certainly something that could be put into your own class script.
 

Tsumari2

Active Member
Karye said:
you are free to use the range 1-400. There is no need to follow any sort of key for you class scripts.
EQ2bot.iss assumes certain definitions for at least some of the spells, and since there's no reason for someone to have more than one spell list per class it makes sense for all of the similar spells that are on different triggers to be consecutive, so they can be used on one line in a class script.


Karye said:
This has been done in my eq2bot extras. Simply make a call to "UseItem" in the eq2botlib.iss. If its in your inventory, it will equip it and use it. You can look at conjuror.iss as an example of its use. The manastone code is legacy and should be removed.

As far as racial abilities most of them are pretty poor once your past level 10 (the first 2 hours?) of a characters life but its certainly something that could be put into your own class script.
Useitem doesn't do much of anything I mentioned. It uses an item, it has no idea what items to use. I talked about a library of items and the rules on when to use them that can be called from a character script. Also about the same thing for the racial abilities. If you don't like the idea there's not much point posting just to say so. Some people want their toon using that extra 23 point proc every five hits or so and of course I already knew it doesnt matter as much as the 500 shot nuke that just went off.

Tsumari
 
Last edited:
Top Bottom