Its me
So the mage wont cast hhi spell. I have to go afk and then i stopped the bots. After that i resumed them both. So far so good or bad
When the mage is targeting the Tank mm prints:
Wir gehen zum Wegpunkt #10, (2272, 2242)
Die Option 'MAX_TARGET_DIST' wurde von '225' auf '180' geändert.
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
I have a target
knight does not have shield buff
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Bot pausiert. (ENTF) drücken um weiterzumachen, (CTRL+L) beendet den Bot, (CTRL+
C) schließt das Micromacro Fenster
at that point i stopped the bots. Later i resumed them to check what they do. MM prints that:
Resumed.
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Knight has shield buff
Drücke MACRO: RoMScript ausführen "TargetUnit("party1")".
Drücke 9: PRIEST_REGENERATE => Theknight(117709/117709)
Drücke 9: PRIEST_REGENERATE Bot pausiert. (ENTF) drücken um weiterzumachen, (C
TRL+L) beendet den Bot, (CTRL+C) schließt das Micromacro Fenster
After Resumed hes able to buff -.- I dont think thats a problem of the Zone-ID, like a friend sad, because the others skills and buffs even work. But his Kung- Fu is even worse than my own
And as you can see in my former post, the same problem would/ does appear before the bots go outside. And the reason of the Mages No-Buff-Syndrome cant be the change of the Triggerbuff from the Tank or the mm I have shield etc. chats, either
The Knight
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="1706" z="-4762" y="752"> player:merchant("Isaac Haden");
</waypoint>
<!-- # 3 --><waypoint x="1677" z="-4865" y="752"> </waypoint>
<!-- # 4 --><waypoint x="1684" z="-5164" y="759"> waitForLoadingScreen();
</waypoint>
<!-- # 5 --><waypoint x="1896" z="2876" y="433"> </waypoint>
<!-- # 6 --><waypoint x="2049" z="2697" y="433">
player:updateBuffs()
if not player:hasBuff("Unglaublicher Salat") then
inventory:useItem(207215);
end
player:updateBuffs()
if not player:hasBuff("Elixier des Weisen") then
inventory:useItem("Elixier des Weisen");
end
</waypoint>
<!-- # 7 --><waypoint x="2209" z="2508" y="401"> </waypoint>
<!-- # 8 --><waypoint x="2127" z="2347" y="401">
player:cast("KNIGHT_HOLY_SEAL");
player:cast("KNIGHT_ENHANCED_ARMOR");
</waypoint>
<!-- # 9 --><waypoint x="2280" z="2208" y="401"> </waypoint>
<!-- # 10 --><waypoint x="2352" z="2287" y="401">
player:updateBuffs()
if player:hasBuff("Regenerieren") == false then
print("I don't have regen buff, waypoint 10")
repeat
yrest(1500);
inventory:useItem("Leichter Erste-Hilfe-Trank");
yrest(500);
keyboardPress(key.VK_SPACE);
player:updateBuffs()
until player:hasBuff("Regenerieren") == true
print("I do have regen buff now")
end
player:updateBuffs()
if not player:hasBuff("Unglaublicher Salat") then
inventory:useItem(207215);
end
player:updateBuffs()
if not player:hasBuff("Elixier des Weisen") then
inventory:useItem("Elixier des Weisen");
end
keyboardPress(key.VK_SPACE);
inventory:useItem(204462);
yrest(5000)
inventory:useItem(204463);
yrest(5000)
player:cast("KNIGHT_HATRED_STRIKE");
player:cast("KNIGHT_WHIRLWIND_SHIELD");
</waypoint>
<!-- # 11 --><waypoint x="2224" z="2492" y="401"> </waypoint>
<!-- # 12 --><waypoint x="2057" z="2676" y="433"> </waypoint>
<!-- # 13 --><waypoint x="1879" z="2883" y="433">
player:updateBuffs()
if player:hasBuff("Regenerieren") == false then
print("I don't have regen buff, waypoint 13")
repeat
yrest(1500);
inventory:useItem("Leichter Erste-Hilfe-Trank");
yrest(500);
keyboardPress(key.VK_SPACE);
player:updateBuffs()
until player:hasBuff("Regenerieren") == true
print("I do have regen buff now, waypoint 13")
end
player:cast("KNIGHT_WHIRLWIND_SHIELD");
</waypoint>
<!-- # 14 --><waypoint x="1695" z="2917" y="433"> waitForLoadingScreen();
</waypoint>
<!-- # 15 --><waypoint x="1645" z="-4908" y="752">
yrest(3000)
SlashCommand("ILG destroy");
yrest(3000)
SlashCommand("ILG inv");
yrest(3000)
SlashCommand("ILG inv");
</waypoint>
<!-- # 16 --><waypoint x="1646" z="-4907" y="752"> </waypoint>
</waypoints>
And the Mage
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="1722" z="-4780" y="752"> player:merchant("Isaac Haden");
yrest(3000)
</waypoint>
<!-- # 3 --><waypoint x="1674" z="-4885" y="752"> </waypoint>
<!-- # 4 --><waypoint x="1686" z="-5155" y="757"> waitForLoadingScreen();
yrest(5000)
</waypoint>
<!-- # 5 --><waypoint x="1793" z="2880" y="433"> </waypoint>
<!-- # 6 --><waypoint x="1895" z="2873" y="433"> </waypoint>
<!-- # 7 --><waypoint x="2031" z="2713" y="433"> </waypoint>
<!-- # 8 --><waypoint x="2206" z="2505" y="401">
player:updateBuffs()
if not player:hasBuff("Teeduft-Waffel") then
inventory:useItem("Teeduft-Waffel");
end
</waypoint>
<!-- # 9 --><waypoint x="2116" z="2337" y="401">
player:updateBuffs()
if not player:hasBuff("Grasland-Allerlei") then
inventory:useItem("Grasland-Allerlei");
end
</waypoint>
<!-- # 10 --><waypoint x="2194" z="2239" y="401">
player:updateBuffs()
if not player:hasBuff("K\148stliches Sumpf-Allerlei") then
inventory:useItem("K\148stliches Sumpf-Allerlei");
end
</waypoint>
<!-- # 11 --><waypoint x="2272" z="2242" y="401">
yrest(250);
changeProfileOption("MAX_TARGET_DIST", 180)
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
if target then print("I have a target") end
target:updateBuffs()
if target:hasBuff("Leichter Erste-Hilfe-Trank") == false then
print("knight does not have shield buff")
repeat
yrest(1000);
keyboardPress(key.VK_SPACE);
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
target:updateBuffs()
until target:hasBuff("Leichter Erste-Hilfe-Trank") == true
print("Knight has shield buff")
end
sendMacro('TargetUnit("party1")');
yrest(1500);
player:cast("PRIEST_REGENERATE")
player:cast("PRIEST_REGENERATE")
yrest(3000);
yrest(10000)
player:cast("MAGE_ENERGY_INFLUX")
player:cast("MAGE_INTENSIFICATION")
player:cast("MAGE_ELEMENTAL_CATALYST")
</waypoint>
<!-- # 12 --><waypoint x="2402" z="2202" y="401"> </waypoint>
<!-- # 13 --><waypoint x="2479" z="2305" y="401"> </waypoint>
<!-- # 14 --><waypoint x="2249" z="2468" y="401"> </waypoint>
<!-- # 15 --><waypoint x="2074" z="2665" y="434"> </waypoint>
<!-- # 16 --><waypoint x="1915" z="2842" y="433">
yrest(250);
changeProfileOption("MAX_TARGET_DIST", 120)
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
target:updateBuffs()
if target:hasBuff("Leichter Erste-Hilfe-Trank") == false then
repeat
yrest(1000);
keyboardPress(key.VK_SPACE);
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
target:updateBuffs()
until target:hasBuff("Leichter Erste-Hilfe-Trank") == true
end
sendMacro('TargetUnit("party2")');
yrest(1500);
player:cast("PRIEST_REGENERATE")
player:cast("PRIEST_REGENERATE")
</waypoint>
<!-- # 17 --><waypoint x="1695" z="2919" y="433"> waitForLoadingScreen();
</waypoint>
<!-- # 18 --><waypoint x="1648" z="-4897" y="752"> </waypoint>
</waypoints>
I decide to use the Light Poition of Healing, because its more way easier to "cast" it than the Shield of Glory. All works fine in theory but the lousy mage wont do his Job
And i delete the lootoptions from your former post lisa, cause they causes an error and if i bypass the Mageproblem by my self hes looting after the Tank does in my testruns. They were from ezgitarians post on the first topic here. You said there were useless anyway. But all that, iam sure, has nothing to do with the lazy mage. Maybe the code from the Mage is buggy anyway, because i stole 90% of it in this forum
and made my on specially for my chars. But the Knights codes works good, so why the Mages codes could be buggy? They from the same source.
Edit:
Maybe the Names at Target Unit? Somewhere here must be the bug, the other things works fine.
Code: Select all
yrest(250);
changeProfileOption("MAX_TARGET_DIST", 180)
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
if target then print("I have a target") end
target:updateBuffs()
if target:hasBuff("Leichter Erste-Hilfe-Trank") == false then
print("knight does not have shield buff")
repeat
yrest(1000);
keyboardPress(key.VK_SPACE);
sendMacro('TargetUnit("party1")');
local target = player:getTarget();
target:updateBuffs()
until target:hasBuff("Leichter Erste-Hilfe-Trank") == true
print("Knight has shield buff")
end
sendMacro('TargetUnit("party2")');
yrest(1500);
player:cast("PRIEST_REGENERATE")
player:cast("PRIEST_REGENERATE")
yrest(3000);