Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-13862" z="-757">
player:rest(5);
</waypoint>
</waypoints>
Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-13862" z="-757">
player:rest(5);
</waypoint>
</waypoints>
There are two different posibilities:solarmaster wrote:ok. I've been using the bot for over a month now and it's been great.
Now, I've been wondering how to let my character just stand on one place and just fights back if a mob attacks.
Should I just create a waypoint and end the waypoint right away?
I just want him to stand there and not move at all, just waiting for the mobs to re-spawn.
Code: Select all
<option name="USE_SLEEP_AFTER_RESUME" value="true" />
Code: Select all
<option name="PATH_TYPE" value="wander"/>
<option name="WANDER_RADIUS" value="0" />
Delete the red ones and update again ... to get the newest version.sawsall wrote:kk...did both of those....still the same error...my addreses.lua has a red ! on it if that means anything...everything else has a green check mark....says something about reading from the runes folder instead of off settings.lua, that may have something to do with it....I'm attaching a notepad file that I copied from micromacro....sorry to be a pain
Sould not being a big deal to doing that. Just comment thesawsall wrote:thanks for being so quick about it....I have addons running that cast and heal....so I haven't filled any of that out...basicly all I needed when I found your program was a waypoint program that would stop running when fighting
Code: Select all
self:checkPotions();
self:checkSkills();
Post your profile ... and just make a test with a new character at the pionier village and start the bot with:sawsall wrote:kk...did that....worked but still got the same error
Code: Select all
rom/bot.lua profile:default
Code: Select all
MicroMacro v1.0
SolarStrike Software
http://www.solarstrike.net
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom/bot.lua
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
We read the hotkey settings from your bindings.txt file C:\Users\Raf\Moje dokume
nty\Runes of Magic\bindings.txt instead of using the settings.lua file.
Error: The hotkey 'VK_' for 'TARGET_FRIEND' is not a valid key!
Please check your settings!
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="50" />
<option name="TEST_FIX_NOSTOP" value="true" />
<option name="COMBAT_TYPE" value="melee" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="piraci.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="1100" />
<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="concentration" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="12" />
<option name="DOT_PERCENT" value="90" />
<option name="WAYPOINT_DEVIATION" value="1" />
<option name="QUICK_TURN" value="true" />
</options>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="0" />
</hotkeys>
<skills>
<skill name="ROGUE_LOW_BLOW" hotkey="VK_2" />
<skill name="ROGUE_WOUND_ATTACK" hotkey="VK_3" />
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_2" />
<skill name="ROGUE_PREMEDITATION" hotkey="VK_6" />
<skill name="KNIGHT_ENHANCED_ARMOR" hotkey="VK_8" />
<skill name="ROGUE_LIONS_PROTECTION" hotkey="VK_9" />
<skill name="KNIGHT_DISARMAMENT" hotkey="VK_4" />
</skills>
<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</onDeath>
<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy
</onLeaveCombat>
<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>
Set ingame a valid key for 'target nearest friend' (best something without modifier, at least for key1, e.g. 'J'). We will look to do a warning also for that message.UnRegistered wrote:I got an error all on nev versions ;/Code: Select all
We read the hotkey settings from your bindings.txt file C:\Users\Raf\Moje dokume nty\Runes of Magic\bindings.txt instead of using the settings.lua file. Error: The hotkey 'VK_' for 'TARGET_FRIEND' is not a valid key! Please check your settings!
Thanx alot work correctly!.d003232 wrote:Set ingame a valid key for 'target nearest friend' (best something without modifier, at least for key1, e.g. 'J'). We will look to do a warning also for that message.UnRegistered wrote:I got an error all on nev versions ;/Code: Select all
We read the hotkey settings from your bindings.txt file C:\Users\Raf\Moje dokume nty\Runes of Magic\bindings.txt instead of using the settings.lua file. Error: The hotkey 'VK_' for 'TARGET_FRIEND' is not a valid key! Please check your settings!
That's a good point. Will be in one of the next SVN. Just need to test it.master121 wrote:When the bot targets an enemy and this enemy runs away the bot begins to chase it and when the bot gets aggro from other mobs it keeps chasing the enemy that runs away.
I think you should do an aggro check while chasing and if it has aggro the bot should stop chasing and begin to attack the mob that attacks me.
I hope you know what i mean
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="pouet" />
<option name="RETURNPATH" value="pouetreturn" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="5" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="false" />
I never notice something like that??! Could you give some more informations? Class. Profile. settings.xml if that is used or is the bindings.txt used? Version and some the content from the MM window when that case occurs. It is all the time?maurice wrote:Hi guys,
I got a little non friendly problem, the bot is working, but when the char target a mob (far), he walks through the mobs, make 10 feet, and come back to kill the mob.
Or sometimes, he go though the mob, mak some round around the mob, and then kill him.
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 52 guests