Since i made this very long script (around 1200 lines), I also want to use it. But it refuses to work and prints the message below after a few seconds.
As it seems the message pops up, whenever the bot wants to kill something but finds an obstacle.
Until now this has never been of any sort of problem since i use a warden, who sends a pet to the fight no matter if there is a small hill or not.
The second class is a scout but as i rember the bot should try to hit but say that there is an obstacle and retry a given time until it gives that one mob up...
A revert of player.lua did not give any positive result
Any Ideas?
Code: Select all
Choose your character that you want to play on:
(RoM window 1) - 5.0.7.2622
xxx
Game Version is 5.0.7.2622
RoM windows size is 1920x1028, upper left corner at 0,22
Loading profile default.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: SCOUT_SHOT
[DEBUG] CPU Frequency 3331.474
Loaded waypoint path bringelfup.xml
No return path with default naming bringelfup_return.xml found.
We use the normal waypoint path bringelfup.xml now.
Waypoint #94 is closer then #1. Hence we start with waypoint #94.
Moving to waypoint #94, (1013, 2433)
Stopping waypoint: Target acquired before moving.
Making Pet Attack
Engaging enemy [Leeching Bat] in combat.
Use MACRO: SCOUT_SHOT => Leeching Bat (1007/1007)
Fight finished. Killed 1 Leeching Bat. (fight #1 / runtime 0 minutes)
Clearing target.
Moving to waypoint #94, (1013, 2433)
Stopping waypoint: Target acquired before moving.
Making Pet Attack
Engaging enemy [Leeching Bat] in combat.
Moving in | Suggested range: 150 | Distance: 198
Use MACRO: SCOUT_SHOT => Leeching Bat (1075/1075)
Fight finished. Killed 2 Leeching Bat. (fight #2 / runtime 0 minutes)
Clearing target.
Moving to waypoint #94, (1013, 2433)
Moving to waypoint #95, (1029, 2775)
Stopping waypoint: Target acquired.
Making Pet Attack
Engaging enemy [Leeching Bat] in combat.
Moving in | Suggested range: 150 | Distance: 205
Use MACRO: SCOUT_SHOT => Leeching Bat (1007/1007)
Use MACRO: SCOUT_SHOT => Leeching Bat (0/1007)
Fight finished. Killed 3 Leeching Bat. (fight #3 / runtime 0 minutes)
Clearing target.
Moving to waypoint #95, (1029, 2775)
Moving to waypoint #96, (992, 2612)
Moving to waypoint #97, (926, 2610)
Stopping waypoint: Target acquired.
Making Pet Attack
Engaging enemy [Leeching Bat] in combat.
Moving in | Suggested range: 150 | Distance: 211
Use MACRO: SCOUT_SHOT => * Failed to cast *
Did not find any crashed game clients.
9:3pm - ...esOfMagic/micromacro3/scripts/rom/classes/player.lua:1098: attempt to
call global 'getLastWarning' (a nil value)
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>