im getting this error everytime i try to open MM v1.03.41.
D:/ROM/micromacro/scripts/rom/functions.lua:923: bad argument #1 to 'gsub' (string expected, got nil)
someone please help.
Also, im just wondering if it was possible to make a bot just to repair my gear whenever its under 50dura(to use simple repair hammer) and to use the skill regenerate every 20seconds. also if it was possible to see how much time and percentage it would be to raise the physical defense level. kinda like the weapon leveling script. except it checks the defense, uses regenerate (and if hp is 20% or less to use urgent heal). it be awesome if this was possible the bot doesnt have to move it just has to take hits and heal every 20secs.
<onLeaveCombat>
-- Repair main hand
local dura = inventory:getMainHandDurability();
printf("Main hand durability:%s\n", dura);
if ( 50 > dura ) then
inventory:useItem("Simple Repair Hammer");
RoMScript("PickupEquipmentItem(15)");
yrest(2100);
end
-- Repair off hand
local dura = inventory:getDurability(16);
printf("Off hand durability:%s\n", dura);
if ( 50 > dura ) then
inventory:useItem("Simple Repair Hammer");
RoMScript("PickupEquipmentItem(16)");
yrest(2100);
end
@Rock5 yea i think im using a pretty old version of both. where can i get the new one and how can i set it up?
@Bennybabe i dont need one for weapons. but one for just the gear that loses dura with every hit that the mob does to me =) and would like to heal myself too with a HoT skill.
http://solarstrike.net/project/rom-bot
It used to be that the download was always out of date so using TortoiseSVN was the only way to get the latest version but I believe Administrator has put processes into effect that keep the download up to date.
So you have a choice; you can just keep downloading the latest version using the download link or use the repository address with software like TortoiseSVN. Using TortoiseSVN is recommended for a number of reasons which include; being able to see which files have been edited in Explorer, being able to update without loosing your own edits and a lot of instructions on the forum assume TortoiseSVN is installed.
Edit: Actually the download link for rombot looks wrong. I'll contact Administrator about it. So the git repository might be the only place to get the very latest version, for now.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
I suggest you rename the rom folder, create a new rom folder then do a SVN Checkout with the github repository address. Then copy over your waypoints, profiles and userfunctions over to the new folder.
The error is probably from a conflict which the above steps should fix.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.