Page 2 of 3
Re: Trouble with Bot Loading
Posted: Tue Oct 11, 2011 9:22 pm
by rock5
Does it work after restarting the game?
If not, please explain what you meant by this
real wrote:error now it says "Testing 'ingamefunctions' macro." and not loading till i see my waypoints.
Re: Trouble with Bot Loading
Posted: Wed Oct 12, 2011 1:17 am
by real
lol this is crazy today in the morning my bot working fine :S and i havent done anything :S
so thanks very much for helping me with this specially Lisa and Rock5
Thanks problem solved

Re: Trouble with Bot Loading
Posted: Wed Oct 12, 2011 1:30 am
by rock5
Probably because yesterday you didn't reboot after updating ingamefunctions.
Re: Trouble with Bot Loading
Posted: Wed Oct 12, 2011 7:15 am
by real
rock5 wrote:Probably because yesterday you didn't reboot after updating ingamefunctions.
oh ok may be thats why
thanks
note: this thread now can be close. problem solved.
Re: Trouble with Bot Loading
Posted: Thu Oct 13, 2011 2:21 pm
by Sanu
Please STOP before closing the thread!
Hi,
I have the same problem:
it freezes after showing "Testing ingamefunctions.macro"
I can do nothing, only close it. I tried to do everything like you´ve said, but i have on big Problem:
I cannot find the file "runes of magic/interface/addon/..."
Do you mean the real Runes of Magic folder? I looked there, and there was nothing.
Do you mean the RoM folder of the RoM Bot? I looked there, and there was nothing.
I create a account in this forum to finally find help.
Please, can you help me?
Liebe Grüße/Greeting
Sanu
Re: Trouble with Bot Loading
Posted: Thu Oct 13, 2011 3:11 pm
by jasn
Sanu wrote:Please STOP before closing the thread!
Hi,
I have the same problem:
it freezes after showing "Testing ingamefunctions.macro"
I can do nothing, only close it. I tried to do everything like you´ve said, but i have on big Problem:
I cannot find the file "runes of magic/interface/addon/..."
Do you mean the real Runes of Magic folder? I looked there, and there was nothing.
Do you mean the RoM folder of the RoM Bot? I looked there, and there was nothing.
I create a account in this forum to finally find help.
Please, can you help me?
Liebe Grüße/Greeting
Sanu
You have to create those two folders in your Runes of Magic folder. ( /
interface/addon/..." )
Re: Trouble with Bot Loading
Posted: Thu Oct 13, 2011 8:42 pm
by lisa
Copy the folder into "Runes of Magic\Interface\Addons". If this is your first Addon, then these folders won't exist, in that case you have to create them manually.
Re: Trouble with Bot Loading
Posted: Fri Oct 14, 2011 1:10 am
by ako ito
real wrote:rock5 wrote:So it actually runs towards the mob? That means it saw it as a viable target. But it didn't attack and didn't use any skills? Can we have a look at your profile?
yea still not attacking i added that melee thing manually still my char. run near mobs and do nothing and go to next way point and do nothing...
ok here is my profile
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<profile>
<options>
<!-- Try the bot with a new char mage -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="50" />
<option name="USE_HP_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_MANA_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_PHIRIUS_POTION" value="false" /> <!-- false | true if you want to use the Phirus Potions -->
<option name="PHIRIUS_MP_LOW" value="40" />
<option name="PHIRIUS_HP_LOW" value="40" />
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />
<!-- Shopping options, how many of what do you want to keep in your inventory -->
<option name="HEALING_POTION" value="99" />
<option name="MANA_POTION" value="99" /> <!-- set to "0" if not required to buy -->
<option name="ARROW_QUIVER" value="2" /> <!-- set to "0" if not required to buy -->
<option name="THROWN_BAG" value="2" /> <!-- set to "0" if not required to buy -->
<option name="POISON" value="30" /> <!-- set to "0" if not required to buy -->
<!-- either false or arrow or thrown -->
<option name="RELOAD_AMMUNITION" value="false" /> <!-- false|arrow|thrown -->
<!-- Combat options -->
<option name="COMBAT_TYPE" value="melee" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="200" />
<option name="MAX_FIGHT_TIME" value="15" /> <!-- Max time without damage before break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<option name="MAX_TARGET_DIST" value="225" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="true" />
<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_ALL" value="false" /> <!-- Loot all nearby dead mobs after combat -->
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="0" /> <!-- probability in % for a short rest -->
<!-- Auto selling options when used with player:merchant -->
<option name="INV_AUTOSELL_ENABLE" value="false" /> <!-- true | false -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- 1 = bag 1 slot 1 -->
<option name="INV_AUTOSELL_TOSLOT" value="60" /> <!-- 30 = last slot bag 1 -->
<option name="INV_AUTOSELL_QUALITY" value="white,green" /> <!-- white,green,blue,purple -->
<!-- Harvest options -->
<option name="HARVEST_DISTANCE" value="120" />
<option name="HARVEST_WOOD" value="true" /> <!-- Choose which types to harvest. -->
<option name="HARVEST_HERB" value="true" /> <!-- "true" = harvest, "false" = do not harvest -->
<option name="HARVEST_ORE" value="true" />
<!-- Eggpet options -->
<option name="EGGPET_ENABLE_CRAFT" value="false" /> <!-- If using same slot for assist and craft, onlt 1 can be enabled. -->
<option name="EGGPET_CRAFT_SLOT" value="1" />
<option name="EGGPET_ENABLE_ASSIST" value="false" />
<option name="EGGPET_ASSIST_SLOT" value="1" />
<option name="EGGPET_CRAFT_RATIO" value="1:1:1" /> <!-- mining:woodworking:herbalism ratio to produce. -->
<option name="EGGPET_CRAFT_INDEXES" value="" /> <!-- override auto craft index for mining,woodworking,herbalism eg. "2,,"-->
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" /> <!-- in minutes, 0 = timer disabled -->
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="CLOSE_WHEN_STUCK" value="true" />
<option name="RES_AFTER_DEATH" value="true" />
<option name="MAX_DEATHS" value="10" /> <!-- Log out after this many deaths -->
<!-- Party Bot options -->
<!-- <option name="PARTY" value="true" /> -->
<!-- <option name="PARTY_ICONS" value="true" /> -->
<!-- <option name="PARTY_INSTANCE" value="true" /> -->
<!-- Healing options -->
<!-- <option name="HEAL_PARTY" value="true" /> --> <!-- Not implemented yet, coming soon -->
<!-- For more options and documentation see the RoM Bot Wiki: -->
<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot -->
</options>
<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer -->
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
<friend name="Elite_Mob_Name1" />
<friend name="Elite_Mob_Name2" />
</friends>
<mobs>
<!-- names of mobs we want to attack -->
<!-- if no names defined we will attack all mobs -->
<mob name="" />
<mob name="" />
<mob name="" />
</mobs>
<hotkeys>
<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
<hotkey name="MACRO" key="VK_0" />
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage -->
<!-- delete skills you don't have or don't want to use. -->
<!-- For more skills to use see /database/skills.xml -->
<!-- demo skills for LvL 1 character for all classes -->
<!-- to use a specific key instead of MACRO then use hotkey="VK_1" this example is for hotkey 1 -->
<skills_priest>
<skill name="PRIEST_SOUL_SOURCE" hotkey="MACRO" priority="110" inbattle="true" hpper="15" />
<skill name="PRIEST_URGENT_HEAL" hotkey="MACRO" priority="100" hpper="50" />
<skill name="PRIEST_REGENERATE" hotkey="MACRO" priority="90" hpper="80" />
<skill name="PRIEST_RISING_TIDE" hotkey="MACRO" priority="80" />
<skill name="PRIEST_WAVE_ARMOR" hotkey="MACRO" priority="40" inbattle="true" />
<skill name="PRIEST_AMPLIFIED_ATTACK" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_GRACE_OF_LIFE" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_HOLY_AURA" hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
<!--skill name="PRIEST_SOUL_BOND" hotkey="MACRO" priority="30" /> -->
<!--skill name="PRIEST_MAGIC_BARRIER" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" /> -->
</skills_priest>
<skills_warrior>
<skill name="WARRIOR_SLASH" hotkey="MACRO" priority="90" />
<skill name="WARRIOR_TACTICAL_ATTACK" hotkey="MACRO" priority="70" />
<skill name="WARRIOR_PROBING_ATTACK" hotkey="MACRO" priority="80" />
<skill name="WARRIOR_OPEN_FLANK" hotkey="MACRO" priority="70" />
<skill name="WARRIOR_SURPRISE_ATTACK" hotkey="MACRO" priority="70" pullonly="true" />
<skill name="WARRIOR_FRENZY" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="WARRIOR_THUNDER" hotkey="MACRO" priority="70" />
<skill name="WARRIOR_MOON_CLEAVE" hotkey="MACRO" priority="70" />
<skill name="WARRIOR_BLASTING_CYCLONE" hotkey="MACRO" priority="70" />
</skills_warrior>
<skills_scout>
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="90" />
<skill name="SCOUT_AUTOSHOT" hotkey="MACRO" priority="80" />
<skill name="SCOUT_WIND_ARROWS" hotkey="MACRO" priority="70" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="70" />
<skill name="SCOUT_COMBO_SHOT" hotkey="MACRO" priority="95" />
<skill name="SCOUT_ARROW_OF_ESSENCE" hotkey="MACRO" priority="90" maxhpper="60" inbattle="true"/>
</skills_scout>
<skills_rogue>
<skill name="ROGUE_SHADOWSTAB" hotkey="MACRO" priority="90" />
<skill name="ROGUE_LOW_BLOW" hotkey="MACRO" priority="80" />
<skill name="ROGUE_HIDE" hotkey="MACRO" priority="10" autouse="false" />
<skill name="ROGUE_INFORMER" hotkey="MACRO" priority="80" />
<skill name="ROGUE_ASSASSINS_RAGE" hotkey="MACRO" priority="60" />
<skill name="ROGUE_WOUND_ATTACK" hotkey="MACRO" priority="80" />
</skills_rogue>
<skills_mage>
<skill name="MAGE_FLAME" hotkey="MACRO" priority="80" />
<skill name="MAGE_FIREBALL" hotkey="MACRO" priority="70" />
<skill name="MAGE_LIGHTNING" hotkey="MACRO" priority="80" />
<skill name="MAGE_ENERGY_INFLUX" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="MAGE_ELEMENTAL_CATALYST" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="MAGE_ENERGY_WELL" hotkey="MACRO" priority="30" inbattle="true" />
</skills_mage>
<skills_knight>
<skill name="KNIGHT_HOLY_STRIKE" hotkey="MACRO" priority="90" />
<skill name="KNIGHT_HOLY_SHIELD" hotkey="MACRO" priority="80" inbattle="true" hpper="15" />
<skill name="KNIGHT_HOLY_SEAL" hotkey="MACRO" priority="70" />
<skill name="KNIGHT_PUNISHMENT" hotkey="MACRO" priority="60" />
<skill name="KNIGHT_ENHANCED_ARMOR" hotkey="MACRO" priority="90" />
<skill name="KNIGHT_MANA_RETURN" hotkey="MACRO" priority="60" />
<skill name="KNIGHT_RESOLUTION" hotkey="MACRO" priority="60" />
<skill name="KNIGHT_DISARMAMENT" hotkey="MACRO" priority="70" />
</skills_knight>
<skills_warden>
<skill name="WARDEN_CHARGED_CHOP" hotkey="MACRO" priority="90" />
<skill name="WARDEN_ENERGY_ABSORB" hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
</skills_warden>
<skills_druid>
<skill name="DRUID_RECOVER" hotkey="MACRO" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" hotkey="MACRO" priority="80" />
</skills_druid>
<onLoad><![CDATA[
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
]]></onLoad>
<onDeath><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>
<onLeaveCombat><![CDATA[
-- Additional Lua code to execute after killing an enemy
]]></onLeaveCombat>
<onLevelup><![CDATA[
-- Additional Lua code to execute after having a levelup
-- and levelup the skills for a new character (mage or priest recommended)
-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
]]></onLevelup>
<onSkillCast><![CDATA[
-- 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
-- e.g.:
--if( 15 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_SOUL_SOURCE");
--elseif( 25 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_HOLY_AURA");
-- player:cast("PRIEST_URGENT_HEAL");
-- player:cast("PRIEST_URGENT_HEAL");
]]></onSkillCast>
<onHarvest><![CDATA[
-- Additional Lua code to execute directly before the actual harvesting takes place.
-- Note: arg1 contains the object to be harvested.
-- i.e. arg1.Name will be the name of the node you are about to harvest
-- If this snippet returns 'false', the node will *not* be harvested.
-- All other return values result in the player attempting to harvest the node.
-- Note that returning 'false' here breaks out of harvesting completely;
-- You will not attempt to harvest other nearby nodes instead.
]]></onHarvest>
<onUnstickFailure><![CDATA[
-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
]]></onUnstickFailure>
</profile>
thanks.
im confused.. "macro" and "VK_" are the same?? can use either? what the different?/
Re: Trouble with Bot Loading
Posted: Fri Oct 14, 2011 1:25 am
by Administrator
You can't use "MACRO" for hotkeys until RoM's next patch.
Re: Trouble with Bot Loading
Posted: Fri Oct 14, 2011 1:39 am
by rock5
Administrator wrote:You can't use "MACRO" for hotkeys until RoM's next patch.
Haven't been keeping upto date I see.

Yes you can use "MACRO" again with most recent revisions.
The difference is if you set "VK_X" then it will press that key to execute that skill. So the skills in the Action bar must match the same numbers.
"MACRO" will instead cast the skill by name using the macro. So you don't need the skills in the actionbar. The only key you need at the moment in the action bar is the "Attack" skill but the bot should add that automatically.
Re: Trouble with Bot Loading
Posted: Fri Oct 14, 2011 4:16 pm
by Sanu
@
jasn &
lisa
Thanks for your help. I followed your introductions and finally (after a long time)
get the bot running
I wouldn´t have made it without your help. You are brilliant.
Again thank you very much!
Sanu
Re: Trouble with Bot Loading
Posted: Fri Oct 14, 2011 5:05 pm
by Administrator
rock5 wrote:Haven't been keeping upto date I see.

Yes you can use "MACRO" again with most recent revisions.
I've been quite busy working on about a dozen other websites, working on a few computers, going over some legal crap, and all sorts of other stuff.
Since, apparently, next patch, they are going to revert their changes to the macro system, will it be better off to leave our code as-is, or revert it back to how it was before the change?
Re: Trouble with Bot Loading
Posted: Sat Oct 15, 2011 7:22 am
by rock5
Can't leave it as it is because it doesn't work and who knows how long it will be before the next patch. Also I doubt they will return everything. At least the current way bypasses all restrictions so even if they leave some functions crippled, we will be ok.
And you might say, in some ways, that the current method is better. No need to set up a macro key for example. Can use commands upto 255 characters.
Re: Trouble with Bot Loading
Posted: Sun Oct 16, 2011 4:29 pm
by Deimon
Hello,
I have fellowed your instructions:
Instructions for installation.
Make sure you follow all these instructions.
1. Update MicroMacro to version 1.02 Beta 1 located here.
2. Do an SVN Update on the 'rom' folder.
3. Do a 'TortoiseSVN/Revert' on the 'rom' folder.
4. Delete the 'ingamefunctions' folder located in the games 'interface/addons' folder.
5. Copy the new 'ingamefunctions' from the 'rom/devtools' folder to the games 'interface/addon' folder.
In order, I have:
[*] Deleted micromacro // Ingamefuctions from the addons file
[*] Reinstalled micromacro 1.02
[*] Updated
[*] Reversed (but no file to reverse)
[*] Copy the new Ingamefunctions in the addons file
[*] Set MACRO as VK_F9 and ATTACK as VK_9
[*] Launched Runes of Magic
[*] Launched startbot.exe
After this, the bot keep opening and closing the system menu.
Have I missed something ?
Re: Trouble with Bot Loading
Posted: Sun Oct 16, 2011 7:02 pm
by lisa
It is possible an addon is causing your issue, there are deffinate issues with an addon called extraactionbars as it takes control of your keyboard focus, amongst other things.
Try just moving all your addons to a different folder, restart game, then try bot again. If bot works then you know for sure 1 of the adons was causing the issue.
Another thing to check is your keybindings, go to main menu, click key bindings, click default, click ok and then try bot again.
Re: Trouble with Bot Loading
Posted: Sun Oct 16, 2011 11:20 pm
by rock5
Just to let you know. The 'MACRO' option is no longer used. The bot will always use the hotkey set to "Toggle title/guild". The ATTACK option is optional. If set to a key, then it will use the Attack skill in the action bar. Otherwise it will just use "UseSkill(1,1)" via the macro which doesn't need a key set in the actionbar.
In fact there is no need to set any keys in the action bar anymore.
Re: Trouble with Bot Loading
Posted: Mon Oct 17, 2011 2:38 am
by Deimon
Thank you both for your quick reply.
The problem ha been solved. I have deleted ExtraActionBar and it works again.
Thank you very much Lisa, thank you Rock as well.
Have a nice day ^^
Re: Trouble with Bot Loading
Posted: Mon Oct 17, 2011 7:22 am
by jasn
rock5 wrote:
In fact there is no need to set any keys in the action bar anymore.
The way to a nice and clean GUI .
Resistance is Futile

Re: Trouble with Bot Loading
Posted: Wed Oct 19, 2011 12:39 pm
by LoneWolf
rock5 wrote:The bot will always use the hotkey set to "Toggle title/guild".
Is there any possibilty to change this to an other hotkey?
Re: Trouble with Bot Loading
Posted: Thu Oct 20, 2011 1:01 am
by rock5
LoneWolf wrote:Is there any possibilty to change this to an other hotkey?
First, why is this hotkey a problem for you and secondly, what do you suggest it be changed to?
The problem is, I highjack a function that that hotkey points to. There are not many hotkeys that point to unique functions. I actually had a list. Let me see if I still have it.
These are the ones I thought were the only possability.
Code: Select all
<Binding name="SITORSTAND">
SitOrStand();
<Binding name="TOGGLEAUTORUN">
ToggleAutoRun();
<Binding name="TOGGLESHEATH">
ToggleSheath();
<Binding name="TOGGLENPCNAME" header="VIEW_SWITCH">
ToggleUI_NPCNAME();
<Binding name="TOGGLEHEALTH">
ToggleUI_ObjectBloodBar();
<Binding name="TOGGLEPLATES">
ToggleUI_TITLE();
The first 3 would probably be used by some so really only the last 3 are possibilities. And they are perfect as they are the type of settings most people would use the System Menu to change.