Mer-Ki-Vah wrote:yes, and try everything out .. before you ask.
Yes , just remove this : --
removed it (--) but still the same.. im still stuck on the same loop
My bot always leaves party and goes out just when i enter the KS instance. I'm stuck in this loop
Code: Select all
I'm IN.
Party member 1 has the name of *****
Use MACRO: PRIEST_URGENT_HEAL => ***** (22845/27310)
Use MACRO: PRIEST_REGENERATE => ***** (27310/27310)
Clearing target.
Moving to waypoint #26, (4706, 896)
We changed the option 'QUICK_TURN' from 'true' to 'true'.
We changed the option 'MAX_TARGET_DIST' from '200' to '50'.
Speed set to how you like it, fast.
Moving to waypoint #27, (4710, 901)
Moving to waypoint #28, (4687, 910)
Moving to waypoint #29, (4565, 911)
Use MACRO: MAGE_PURGATORY_FIRE => <UNKNOWN> (1000/1000)
Loot distance = 53 ------- Loot name= Ousul Salamander
Player Teleported to X: 4503 Z: 932
Clearing target.
Picking up sigil "Healing Sigil"
Loot distance = 76 ------- Loot name= Ousul Poison Frog
Player Teleported to X: 4560 Z: 939
Clearing target.
Loot distance = 15 ------- Loot name= Ousul Salamander
Player Teleported to X: 4578 Z: 916
Clearing target.
Speed set to how you like it, normal.
Clearing target.
Use MACRO: Executing RoMScript "LeaveParty()".
Player address changed: 0x49A31900
Ranged skill found: MAGE_THUNDERSTORM
This is the whole part
Code: Select all
RoM windows size is 898x686, upper left corner at 445,30
Loading profile ****.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'inga
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: MAGE_THUNDERSTORM
[DEBUG] CPU Frequency 2864.58
Waypoint files from C:/micromacro/scripts/ks:
0: wander 7: 1-10Pi../l3-4_bear_re 14: 1-10Pi../l7t_7-9_boa
1: 1-10Pi../l10t_classha 8: 1-10Pi../l3t_3-4_bear 15: 1-10Pi../l9-10_bugs.
2: 1-10Pi../l10t_postbox 9: 1-10Pi../l4t_5-7_beet 16: 1-10Pi../l9-10_bugs_
3: 1-10Pi../l1t_start.xm 10: 1-10Pi../l4t_logar.xm 17: 1-10Pi../l9t_9-10_bu
4: 1-10Pi../l2-3_wolf.xm 11: 1-10Pi../l5-7_beetle. 18: CommandLine.xml
5: 1-10Pi../l2-3_wolf_re 12: 1-10Pi../l7-9_boar.xm 19: KS.xml
6: 1-10Pi../l3-4_bear.xm 13: 1-10Pi../l7-9_boar_re 20: KS2.xml
7: 1-10Pi../l3-4_bear_re 14: 1-10Pi../l7t_7-9_boar
Enter the number of the path you want to use and press Enter > 20
You chose 20
Loaded waypoint path KS2.xml
No return path with default naming KS2_return.xml found.
We use the normal waypoint path KS2.xml now.
Waypoint
GM detection started
KS farming START .......jiiihaaaa
Speed set to how you like it, normal.
We changed the option 'INV_AUTOSELL_FROMSLOT' from '1' to '4'.
We changed the option 'TARGET_LEVELDIF_BELOW' from '10' to '32'.
We changed the option 'AUTO_ELITE_FACTOR' from '5' to '2500'.
We changed the option 'MAX_TARGET_DIST' from '225' to '200'.
We changed the option 'COMBAT_DISTANCE' from '200' to '200'.
We changed the option 'LOOT_IN_COMBAT' from 'true' to 'true'.
We changed the option 'LOOT_DISTANCE' from '300' to '150'.
We changed the option 'LOOT_ALL' from 'true' to 'true'.
Use MACRO: Executing RoMScript "BagFrame:IsVisible()".
Moving to waypoint
Forced waypoint type 'TRAVEL' set by user.
Speed set to how you like it, normal.
Megyek kipakolok,eladom a cuccost.
Clearing target.
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
We changed the option 'INV_AUTOSELL_TOSLOT' from '180' to '180'.
We changed the option 'INV_AUTOSELL_QUALITY' from 'white,green,blue,purple' to
white,green,blue,purple'.
We changed the option 'INV_AUTOSELL_ENABLE' from 'true' to 'true'.
We changed the option 'INV_AUTOSELL_IGNORE' from 'Monster Cards,Rare Magic Ston
,Herb of Hope' to 'Moa'.
Use MACRO: Executing RoMScript "BagFrame:IsVisible()".
We try to find NPC Pancer:
We successfully target NPC Pancer and try to open the dialog window.
The Bank is empty
A bank void
We try to find NPC Pancer:
We successfully target NPC Pancer and try to open the dialog window.
Clearing target.
Moving to waypoint #1, (-16643, 11386)
Forced waypoint type 'TRAVEL' set by user.
I 'm S T A R T I N G
I invited altChar : ****
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Moving to waypoint
Player address changed: 0x4E4C5F00
Ranged skill found: MAGE_THUNDERSTORM
Ez KS ... zonaid = 107
Moving to waypoint
I'm IN.
Party member 1 has the name of ****
Use MACRO: PRIEST_URGENT_HEAL => **** (22845/27310)
Use MACRO: PRIEST_REGENERATE => **** (27310/27310)
Clearing target.
Moving to waypoint #26, (4706, 896)
We changed the option 'QUICK_TURN' from 'true' to 'true'.
We changed the option 'MAX_TARGET_DIST' from '200' to '50'.
Speed set to how you like it, fast.
Moving to waypoint #27, (4710, 901)
Moving to waypoint #28, (4687, 910)
Moving to waypoint #29, (4565, 911)
Use MACRO: MAGE_PURGATORY_FIRE => <UNKNOWN> (1000/1000)
Loot distance = 53 ------- Loot name= Ousul Salamander
Player Teleported to X: 4503 Z: 932
Clearing target.
Picking up sigil "Healing Sigil"
Loot distance = 76 ------- Loot name= Ousul Poison Frog
Player Teleported to X: 4560 Z: 939
Clearing target.
Loot distance = 15 ------- Loot name= Ousul Salamander
Player Teleported to X: 4578 Z: 916
Clearing target.
Speed set to how you like it, normal.
Clearing target.
Use MACRO: Executing RoMScript "LeaveParty()".
Player address changed: 0x49A31900
Ranged skill found: MAGE_THUNDERSTORM
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
Im pretty sure i did all the OP's instructions. i have all the addons.. edited the CharAttributes Table and MyKill function
this is the last waypoint my character goes to before calling the function LeaveParty
Code: Select all
<waypoint x="4565" z="911" y="679">Fight(70)</waypoint>
You must to fill the Character Attributes table -DONE
-- You must to fill the myKill() routine -DONE
Code: Select all
function myKill()
--RoMScript('KillSequence("","KS");'); --use it what you want( you need to setup are yours characters by the same !)
--keyboardPress(key.VK_A);
player:fight();
end
-- You can setup Diyce or fight or other fight in the myKill() routin
-- --> charAttrTable() and myKill() are in addon_mixed.lua
-- You must to fill the potionControl and getupBuff - I Dont see any issues here
Code: Select all
function potionControl()
useHousemaidPotions("speed");
useHousemaidPotions("clearThought");
useHousemaidPotions("luck");
if player.Class1 == CLASS_SCOUT then Arrows();end;
------------------ buffs -----------------------------------------
if player.Class1 == CLASS_SCOUT then
getupBuff("Frost Arrow")
elseif player.Class1 == CLASS_MAGE and player.Class2 == CLASS_PRIEST then
getupBuff("Magic Barrier");
getupBuff("Essence of Magic");
getupBuff("Fire Ward");
getupBuff("Blessed Spring Water");
elseif player.Class1 == CLASS_KNIGHT then
getupBuff("Enhanced Armor");
getupBuff("Holy Seal");
elseif player.Class1 == CLASS_CHAMPION then
getupBuff("Forge");
elseif player.Class1 == CLASS_ROGUE then
getupBuff("Combat Master");
if not player:hasBuff("Poisonous") and inventory:itemTotalCount("Poison Bottle") >= 1 then
getupBuff("Poison");
end;
elseif player.Class1 == CLASS_PRIEST then
elseif player.Class1 == CLASS_WARRIOR then
elseif player.Class1 == CLASS_WARLOCK then
end;
------------------ Magic Parfum control, pet recall -------------
local petSlot=charAttrGet("Pet")
local mypet= CEggPet(petSlot);
if ( petSlot ~=0 and player:hasBuff("Magic Perfume") ) then
if settings.profile.options.LOOT_DISTANCE > 70 then changeProfileOption("LOOT_DISTANCE", 60);end;
if not sendMacro('IsPetSummoned('..petSlot..')') then sendMacro('SummonPet('..petSlot..')');yrest(6000); end;
end;
end