Thanks for your help
DoD First Boss spam solo and party, full DoD now too
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: DoD First Boss spam solo and party, full DoD now too
As far as I tested it it does everything it should. Only have to change something because my healer targets my main after each cast and then retargets the boss, so I need to think about something that lets the healer concentrate on my main and doesn't fight against the boss.
Thanks for your help
Thanks for your help
Re: DoD First Boss spam solo and party, full DoD now too
Here I am again 
Don't get the cleansing part working like I want.
This is what I have got now. At the moment, when my chars fight the second boss, my healer switches between my main char that he should clean and the boss very quickly. On the one hand he wants to attack the boss, but on the other hand he wants to use the code above. What I thought abaout is to repeat the cleansing part until he leaves combat.
Is it possible to do something like this? Or are there any better solutions how to solve the prblem?
Edit: I thought about this again, but it would not solve the problem because he will still try to attack the boss. Additionally he would go on using this code if the boss is death and he should loot.
AlterEgo95
Don't get the cleansing part working like I want.
Code: Select all
function settings.profile.events.onSkillCast()
if player.Name == "MyHealer" then
if player:findNearestNameOrId(103170) then
local target = RoMScript("TargetUnit(\"party1\")")
if target then
target:updateBuffs()
if target:hasDebuff("Gedankenkontrolle") then
player:cast("PRIEST_CLEANSE")
end
end
end
end
endCode: Select all
repeat
local target = RoMScript("TargetUnit(\"party1\")")
if target then
target:updateBuffs()
if target:hasDebuff("Gedankenkontrolle") then
player:cast("PRIEST_CLEANSE")
end
end
until player leaves battleEdit: I thought about this again, but it would not solve the problem because he will still try to attack the boss. Additionally he would go on using this code if the boss is death and he should loot.
AlterEgo95
Re: DoD First Boss spam solo and party, full DoD now too
Code: Select all
-- first need to make sure you are in combat before starting the next loop
repeat
player:update()
yrest(100)
until player.Battling
-- now do this until not in combat
repeat
-- stuff here
player:update()
yrest(100)
until not player.Battling
As for the cleanse handling.
Code: Select all
PartyTable() -- populate party info
player:checkSkills(true); -- heal or buff yourself
player:checkPotions(); -- use potions if needed
for i,v in ipairs(partymemberpawn) do -- does entire party including yourself
player:target(partymemberpawn[i])
player:update()
partymemberpawn[i]:update()
partymemberpawn[i]:updateBuffs()
local target = player:getTarget();
if target.HP/target.MaxHP*100 > 10 then -- make sure target isn't dead
player:checkSkills(true); -- heal/buff as needed
if target:hasDebuff("Gedankenkontrolle") then -- maybe change to ID ?
player:cast("PRIEST_CLEANSE")
end
end
end
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: DoD First Boss spam solo and party, full DoD now too
Something like this is the best solution! Thanks a lot for that! As far as I tested it it recognizes the debuff but has problems to cast the cleansing skill:
The couldn't figure out why it fails. If I use Cleanse manually then it can always be casted, it does not matter if I target a mob, npc or an other character. So I don't understand why it fails casting.
For that what you have posted you are a god for me
AlterEgo95
Code: Select all
Party member 1 has the name of MyMain
Drücke MACRO: PRIEST_HEALING_SALVE=> <UNKNOWN> (1000/1000)
Drücke MACRO: PRIEST_WAVE_ARMOR => MyHealer (63280/63280)
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_WAVE_ARMOR => MyOtherChar (51876/51876)
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_HEALING_SALVE=> MyOtherChar (44449/51876)
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_WAVE_ARMOR => MyOtherChar (44450/51876)
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *
Drücke MACRO: PRIEST_CLEANSE => * Cast gescheitert *For that what you have posted you are a god for me
AlterEgo95
Re: DoD First Boss spam solo and party, full DoD now too
Since it isn't a skill used by bot normally maybe check the IDAlterEgo95 wrote:So I don't understand why it fails casting.
Code: Select all
<skill name="PRIEST_CLEANSE" id="491175" range="200" type="heal" target="friendly" cooldown="10" />As a comparison druid antidote is a type buff.
Code: Select all
<skill name="DRUID_ANTIDOTE" id="493535" range="200" cooldown="10" type="buff" target="friendly" />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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
- solembum05
- Posts: 57
- Joined: Tue Jun 19, 2012 8:29 am
Re: DoD First Boss spam solo and party, full DoD now too
Hi,
I try the bot with your files http://www.solarstrike.net/phpBB3/viewt ... =27&t=4070
i had problem my leader don't attack okander, he try to find loot before kill okander ><
I try the bot with your files http://www.solarstrike.net/phpBB3/viewt ... =27&t=4070
i had problem my leader don't attack okander, he try to find loot before kill okander ><
Forget yesterday, live today and dream tomorrow.
Who is online
Users browsing this forum: No registered users and 2 guests