Mage AOE and Warden Summon

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
leahcim2468
Posts: 33
Joined: Sun Nov 21, 2010 6:24 pm

Mage AOE and Warden Summon

#1 Post by leahcim2468 » Sun Dec 12, 2010 7:33 pm

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 ?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Mage AOE and Warden Summon

#2 Post by lisa » Mon Dec 13, 2010 4:26 am

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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mage AOE and Warden Summon

#3 Post by rock5 » Mon Dec 13, 2010 4:35 am

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
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

fred55555
Posts: 101
Joined: Sat Aug 07, 2010 7:57 pm

Re: Mage AOE and Warden Summon

#4 Post by fred55555 » Tue Dec 14, 2010 1:13 pm

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

leahcim2468
Posts: 33
Joined: Sun Nov 21, 2010 6:24 pm

Re: Mage AOE and Warden Summon

#5 Post by leahcim2468 » Sat Dec 25, 2010 12:44 pm

rest for 8 seconds? how do i do that i only see rest when hp or mp under 15%

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Mage AOE and Warden Summon

#6 Post by jduartedj » Sun Dec 26, 2010 10:46 am

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.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Mage AOE and Warden Summon

#7 Post by Alkaiser » Sun Dec 26, 2010 8:43 pm

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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mage AOE and Warden Summon

#8 Post by rock5 » Sun Dec 26, 2010 10:38 pm

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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Mage AOE and Warden Summon

#9 Post by Alkaiser » Sun Dec 26, 2010 10:40 pm

That would be excellent!

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mage AOE and Warden Summon

#10 Post by rock5 » Sun Dec 26, 2010 11:51 pm

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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Mage AOE and Warden Summon

#11 Post by jduartedj » Mon Dec 27, 2010 12:32 am

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.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

Solist
Posts: 3
Joined: Tue Mar 01, 2011 4:20 am

Re: Mage AOE and Warden Summon

#12 Post by Solist » Tue Mar 01, 2011 6:04 am

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 ?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Mage AOE and Warden Summon

#13 Post by rock5 » Tue Mar 01, 2011 7:34 am

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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests