Page 1 of 1

Need AOE info to add to the bot

Posted: Tue Apr 24, 2012 11:58 pm
by rock5
Hi guys.

I'm very soon going to add more options in regards to area of effect (aoe) skills. First of all you will be able to cast skills such as Thunderstorm that require a mouse click (don't worry the window can still be minimized) and second you will we able to specify how many mobs should be in range to cast the skill.

The information about aoe skills is not very clear on runesdatabase.com so I need peoples help to update the skills.xml database with the new values. I don't expect to get all of them but I hope to do most.

Here is the information I need and a couple of skills I know.

Name: The name of the skill
Class: The class of the skill
Type: Is it a regular class skill, elite skill or set item skill. This is just for grouping in skills.xml
AOECenter: Where the aoe center is, player or target.
AOERange: The aoe range. Only needed if AOECenter = target. If unknown please guess. Even a description such as "real close" would help.
ClickToCast: Whether it requires a click on the ground to cast the skill like Thunderstorm.


Name: Purgatory Fire
Class: Mage
Type: Class
AOECenter: player
AOERange: 50
ClickToCast: false

Name: Thunderstorm
Class: Mage
Type: Class
AOECenter: target
AOERange: 65
ClickToCast: true

Re: Need AOE info to add to the bot

Posted: Wed Apr 25, 2012 12:42 am
by abron1
Name: Frantic Briar
Class: Warden
Type: Class
AOECenter: player
AOERange: 80
ClickToCast: false

Name: Will Attack
Class: Warden/Warrior elite
Type: Class
AOECenter: player
AOERange: 75
ClickToCast: false

Name: Whirlwind
Class: Warrior
Type: Class
AOECenter: player
AOERange: 50
ClickToCast: false


Name: Moon Cleave
Class: Warrior
Type: Class
AOECenter: player
AOERange: 50
ClickToCast: false

Name: Blasting Cyclone
Class: Warrior
Type: Class
AOECenter: player
AOERange: 50
ClickToCast: false

Name: Air Tremor
Class: Warrior/Warden elite
Type: Class
AOECenter: player
AOERange: 80
ClickToCast: false

Re: Need AOE info to add to the bot

Posted: Wed Apr 25, 2012 2:32 pm
by BillDoorNZ
Name: Ignite
Class: Scout/Mage Elite
Type: Elite
AOECenter: click location (not necessarily a target)
AOERange: 80+ ?? (around there somewhere, affects a large area anyway)
ClickToCast: true

Re: Need AOE info to add to the bot

Posted: Wed Apr 25, 2012 2:51 pm
by rock5
BillDoorNZ wrote:AOECenter: click location (not necessarily a target)
Yeah, I'm just going to have it target the mobs when casting clicktocast skills. So effectively all clicktocast skills will be mob targeted skills.
BillDoorNZ wrote:AOERange: 80+ ?? (around there somewhere, affects a large area anyway)
I'm pretty sure all clicktocast skills use the same target and have the same range of 65. Easy enough to check. Just distance yourself from a stationary npc so that the skill target stretches from you to the npc. Then start rom/getid and see how far the npc is from you. Then divide by 2.

Anyway, I have that on one of my alternate characters somewhere so I can double check it.

Re: Need AOE info to add to the bot

Posted: Fri Apr 27, 2012 5:14 am
by rock5
As a finishing touch, I think I'll add some default values for AOERange. If AOERange is not added in the database then if ClickToCast = true it will default to 65 or else it will default to 50.

That way you don't have to specify the range unless it actually states a different value.

Edit: Also it default to AOECenter = "target" when clicktocast = true. Just trying to reduce the ammount of information necessary to be entered in the database.

Re: Need AOE info to add to the bot

Posted: Fri Apr 27, 2012 7:29 am
by rock5
Can anyone give me more info on the following skills

Druid Summon Sandstorm - lvl 70 skill - I suspect it's a clicktocast skill.
Rogue Poison Shroud - lvl 25 Druid Elite
Druide Earth Chain - lvl 15 Mage Elite

Edit: I was able to get info on Earth Chain

Re: Need AOE info to add to the bot

Posted: Fri Apr 27, 2012 2:30 pm
by rock5
It's getting close.

Another thing that occured to me is maybe we want to include aggro only mob counting as an option. So for example if you have the 'mobcount' of an AOE skill set to 3, it uses it if there are any 3 mobs within range. But maybe some users might want attack one-on-one but use an aoe skill only if being aggroed by multiple mobs. So for example

Code: Select all

<skill name="MAGE_PURGATORY_FIRE" 		hotkey="MACRO" priority="90" mobcount="3" countaggroonly="true" />
Will still use one-on-one skills but if it aggroes 3 or mobs and they come in range then it will use Purgatory Fire.

How does that sound?

I'm not sure if it needs to be a per-skill option or a general profile option. Do we need different countaggroonly values for each aoe skill? Are there times when you want to use one aoe to attack non aggro mobs but use another aoe only if you've aggroed multiple mobs?

Re: Need AOE info to add to the bot

Posted: Fri Apr 27, 2012 6:15 pm
by lisa
I think aoe with multi agro would be good for when you run through an instance and only want to kill mobs that agroed onto you before attacking bosses, so would be a specific situation as opposed to a specific skill usage, if anything I would go with a profile option for it.
Most mobs in game move in to melee range so you could still just use countmob for range to player when doing aoe like purg.

Re: Need AOE info to add to the bot

Posted: Fri Apr 27, 2012 11:46 pm
by rock5
lisa wrote:I think aoe with multi agro would be good for when you run through an instance and only want to kill mobs that agroed onto you before attacking bosses
So like you run through an instance in travel mode then switch to run just before the bos so it clears the trash first? That gives me an idea. Maybe when in run mode it should only count aggro mobs. Makes sense. Of course you might aggro more mobs using an aoe but that can't be helped. I was looking for a practical use for aggro counting, and I found it.

I think you're right, per skill is not needed. A profile option should do.

Re: Need AOE info to add to the bot

Posted: Sun Apr 29, 2012 5:58 am
by rock5
Hit a bit of a snag. Just discovered clicktocast skills are not working when minimized. It was working when I used hard coded values for the window dimensions but "windowRect(getWin())" returns 0 when minimized. So looks like I'll have to find them from memory myself.

Re: Need AOE info to add to the bot

Posted: Sun Apr 29, 2012 6:30 pm
by lisa
Doen't MM print the window dimensions when it starts up?

Re: Need AOE info to add to the bot

Posted: Sun Apr 29, 2012 10:57 pm
by rock5
lisa wrote:Doen't MM print the window dimensions when it starts up?
Yes, and when the game is minimised it prints

Code: Select all

RoM windows size is 0x0, upper left corner at -32000,-32000
My search for the dimensions in memory produced a lot of results but I found a nice one that was an offset of statis_basechar. I'm happy with that.