Page 1 of 1
Mage AOE and Warden Summon
Posted: Sun Dec 12, 2010 7:33 pm
by leahcim2468
i have uhh 2 questions,
1. how do i configure my bot to stand and use purgatory/discharge?
and
2. when ever my warden bots he starts the casting of summoning my pet but he stops to target an enemy resulting in not summoning the pet at all. So how do i summon it ?
Re: Mage AOE and Warden Summon
Posted: Mon Dec 13, 2010 4:26 am
by lisa
For AoE you could try setting to melee and then just set the skills as any other skill and have them with high priority.
Seems to me you have more specific requirements though, so you might be needing a specific move to point, cast discharge, cast purg X 4, move to next spot.
Few things to point out is bot doesnt loot additional mobs it loots mobs it is targeting when it dies, so would be purely for the xp/tp from kill (maybe a kill quest aswell) and if you can aoe down mobs in a few purg you prob wont be getting much xp from them, purg is also a huge mana drainer.
As for the warden pet summon, I notice bot sometimes has issues with continuing on when it should be casting whick interupts the cast. I have noticed the bot tests the cpu when it starts up, if it is a performance rating to determine time delays then a work around might be to load up several programs, start bot and then shut down the programs. I am guessing though.
Re: Mage AOE and Warden Summon
Posted: Mon Dec 13, 2010 4:35 am
by rock5
lisa wrote:Few things to point out is bot doesnt loot additional mobs it loots mobs it is targeting when it dies, so would be purely for the xp/tp from kill
You could use my lootBodies function.
http://www.solarstrike.net/phpBB3/viewt ... 717#p13717
Re: Mage AOE and Warden Summon
Posted: Tue Dec 14, 2010 1:13 pm
by fred55555
use the hard rest (8) secs
this way the player actually stops everything for that time period and there fore the cast will continue
not the best, but for me get the pet summoned everytime
Re: Mage AOE and Warden Summon
Posted: Sat Dec 25, 2010 12:44 pm
by leahcim2468
rest for 8 seconds? how do i do that i only see rest when hp or mp under 15%
Re: Mage AOE and Warden Summon
Posted: Sun Dec 26, 2010 10:46 am
by jduartedj
it's something like
Code: Select all
<onCombat> if player.Casting then yrest(8000); end </onCombat>
but look it up I'm not sure of it.
Re: Mage AOE and Warden Summon
Posted: Sun Dec 26, 2010 8:43 pm
by Alkaiser
Here is what I use for AOE for my warrior.
In my profile, something like this:
Code: Select all
<onPreSkillCast>
if( arg1.Name == "WARRIOR_BLASTING_CYCLONE" ) then
if( targetPawn ~= nil and targetPawn ~= 0 and targetPawn ~= player.Address ) then
if( (player.Rage >= 35) and (player:GetEnemiesInRange(50) > 2) ) then
return true
else
return false
end
else
return true
end
else
return true
end
</onPreSkillCast>
Then for the GetEnemiesInRange function:
addon_AOE.lua in userfunctions folder
Code: Select all
function CPlayer:GetEnemiesInRange(_range)
_range = _range or 50
local function isInDist(x1, y1, x2, y2, radius)
if( x2 >= x1-radius and x2 <= x1+radius and
y2 >= y1-radius and y2 <= y1+radius ) then
if( ((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) <= radius*radius ) then
return true
else
return false
end
end
return false
end
local count = 0
local obj = nil
local objectList = CObjectList()
objectList:update()
for i = 0,objectList:size() do
obj = objectList:getObject(i)
if( obj.Attackable and obj.Address ~= player.Pet.Address and CPawn(obj.Address).Alive ) then
if( isInDist(self.X, self.Z, obj.X, obj.Z, _range) ) then
count = count + 1
end
end
end
return count
end
Re: Mage AOE and Warden Summon
Posted: Sun Dec 26, 2010 10:38 pm
by rock5
Looks great.
I was thinking of something like that too but I was thinking there needs to be AOE options to the skills.
eg.
Code: Select all
<skill name="WARRIOR_BLASTING_CYCLONE" hotkey="MACRO" priority="130" aoetarget="player" aoerange="50" aoenumber="3"/>
That would mean there would need to be 3 or more mobs in a range of 50 from the player to use the skill.
Re: Mage AOE and Warden Summon
Posted: Sun Dec 26, 2010 10:40 pm
by Alkaiser
That would be excellent!
Re: Mage AOE and Warden Summon
Posted: Sun Dec 26, 2010 11:51 pm
by rock5
The only thing that worries me is, what happens if casting an AOE spell at a valid target, aggros a mob that you didn't want to target, eg. boss? Ideally it would have to check that all the mobs within range pass the evaltarget function.
Re: Mage AOE and Warden Summon
Posted: Mon Dec 27, 2010 12:32 am
by jduartedj
I think it should be part of aoe system, if you have a mob targeted then don't cast AOE. Also I think the best way to do this is to have a system to detect bosses. the bot detects elites by elite factor but what about detecting bosses? the elite factor would also apply to bosses ofc but i think it should be better to get the info precisely. I was thinking either read the bosses tooltip in memory and retrieve the part that referes to boss/elite or read some other set of information regarding the boss that tells us if he is a boss. anyway this could give us an absolute solution to detecting elites and bosses that doesn't prodice false positives like elite factor. That should be in the CPawn memory range I think.
Also if this is done we could add a profile option to like ATTACK_BOSSES and ATTACK_ELITES that could b set to true/false.
Re: Mage AOE and Warden Summon
Posted: Tue Mar 01, 2011 6:04 am
by Solist
Is it possible to use from bot any skills like Thunderstorm or Shatterstar Storm ?
Is there any possibility to set the coordinates for these skills ?
How to bind these coordinates to a specific target ?
Re: Mage AOE and Warden Summon
Posted: Tue Mar 01, 2011 7:34 am
by rock5
Even if you could get it to work, anything that requires a mouse click on the terrain would require the game to be the active window so you wouldn't be able to run it minimised or run multiple clients.