Search found 10940 matches
- Fri Apr 09, 2010 6:12 am
- Forum: Runes of Magic
- Topic: Skipped waypoints
- Replies: 9
- Views: 2462
Re: Skipped waypoints
Line 444 of rom/functions.lua has this: __WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z)); Change to: local wpi = __WPL:getNearestWaypoint(player.X, player.Z); if( wpi == 1 ) then wpi = #__WPL.Waypoints else wpi = wpi - 1; end; __WPL:setWaypointIndex(wpi); That should get you mov...
- Fri Apr 09, 2010 5:31 am
- Forum: Runes of Magic
- Topic: Getting stuck while fighting
- Replies: 17
- Views: 4297
Re: Getting stuck while fighting
Of the 4 times I tried it, it only worked 2 times. The 2 times it didn't work it still just stood there.
- Fri Apr 09, 2010 12:20 am
- Forum: Runes of Magic
- Topic: Getting stuck while fighting
- Replies: 17
- Views: 4297
Getting stuck while fighting
I've noticed a situation where the bot can get stuck and not be able to continue. It's when you start a fight with a mob and it moves into a position where you are unable to attack it. In this situation the mob will continuously attack you. After awhile the bot notices that it has stopped damaging t...
- Fri Apr 09, 2010 12:07 am
- Forum: Runes of Magic
- Topic: Skipped waypoints
- Replies: 9
- Views: 2462
Skipped waypoints
I've noticed, in some situations, that waypoints get skipped when they shouldn't. I've now done a few tests to see under what conditions this happens. I've found 2. 1st. When you use loadpaths you get a message saying something like "Point #3 is closer than Point #1 so we will start with point ...
- Sat Apr 03, 2010 8:25 pm
- Forum: Runes of Magic
- Topic: Need help with error
- Replies: 1
- Views: 896
Re: Need help with error
svn update is for updating the bot not micromacro. Where did you get your version of micromacro? Is it version 1.0 or newer? If you suspect your micromacro installation try re-downloading from here. http://www.solarstrike.net/downloads.php If it's not micromacro you probably need to provide more inf...
- Thu Apr 01, 2010 7:06 am
- Forum: Runes of Magic
- Topic: Script to show current position
- Replies: 7
- Views: 2090
Re: Script to show current position
OK. No probs.Administrator wrote:I made the change after the last commit, and don't think that small of a chance is worthy of a commit by itself. It'll be in the next revision.rock5 wrote:If "this makes sense" why didn't you implement it?
- Thu Apr 01, 2010 7:05 am
- Forum: Runes of Magic
- Topic: Need help with autoRepair
- Replies: 11
- Views: 2325
Re: Need help with autoRepair
So I would change it like this? Sorry its just im not that experience at using this yet. <!-- # 17 --><waypoint x="-15995" z="-834"> if( player.Fights-player.free_counter1 > 380 ) then player.free_counter1 = 0; player.Fights = 0; player:rest(1); loadPaths("37repair.xml"...
- Wed Mar 31, 2010 4:05 pm
- Forum: Runes of Magic
- Topic: Script to show current position
- Replies: 7
- Views: 2090
Re: Script to show current position
getpos.lua doesn't spam. Actually, it uses the same, continuously-updating line the whole time. Ah, that's what \r does. Yeah, that looks much better. Yeah, this makes sense. Actually, it looks like you just left the default start and stop/pause keys (F5/F6). You should set them to 0 to disable the...
- Wed Mar 31, 2010 12:42 pm
- Forum: Runes of Magic
- Topic: Script to show current position
- Replies: 7
- Views: 2090
Re: Script to show current position
Even though getpos.lua is not working I can see from the script that I like mine better. Even though they should do about the same thing, I made a couple of changes, I think that make it better. 1. Mine only displays the co-ordinates if they change, not just spam the same co-ordinates over and over ...
- Wed Mar 31, 2010 5:05 am
- Forum: Runes of Magic
- Topic: Need help with autoRepair
- Replies: 11
- Views: 2325
Re: Need help with autoRepair
Code: Select all
if( os.difftime(os.time(), player.free_counter1) > 3600 )
- Tue Mar 30, 2010 9:53 pm
- Forum: Runes of Magic
- Topic: Script to show current position
- Replies: 7
- Views: 2090
Re: Script to show current position
Doh!
You're probably right. How long has that been there?
Anyway I just tried it and got an error
You're probably right. How long has that been there?
Anyway I just tried it and got an error
Code: Select all
...:/Program Files/micromacro/scripts/rom/functions.lua:696: attempt to index global 'database' (a nil value)
- Tue Mar 30, 2010 8:45 pm
- Forum: Runes of Magic
- Topic: Script to show current position
- Replies: 7
- Views: 2090
Script to show current position
Hi guys, I just created a simple script to show your current position as you move. Useful when testing your newly created waypoint files. Just run it in another window. When you come to a point in your waypoint file you want to change, just pause your waypoint script, move to the correct position, r...
- Tue Mar 30, 2010 1:05 am
- Forum: Runes of Magic
- Topic: Changing skills variables
- Replies: 3
- Views: 1225
Re: Changing skills variables
You should be changing settings.profile.skills.MAGE_LIGHTNING, not the database. If I display settings.profile.skills.MAGE_LIGHTNING it says it's nil. On further investigations it looks as though the skills are stored by number. eg; settings.profile.skills[5] for me is MAGE_LIGHTNING. So to change ...
- Mon Mar 29, 2010 11:59 pm
- Forum: Runes of Magic
- Topic: ' instead of " in player:target_NPC and player:merchant
- Replies: 4
- Views: 1401
Re: ' instead of " in player:target_NPC and player:merchant
Just tested it. It works fine. Thank you.
- Mon Mar 29, 2010 10:10 pm
- Forum: Runes of Magic
- Topic: Changing skills variables
- Replies: 3
- Views: 1225
Re: Changing skills variables
Doesn't seem to work.
Changed database.skills.MAGE_LIGHTNING.MinRange to 0 in the onLoad section of my profile but Lightning doesn't caste when up close.
Any ideas?
Changed database.skills.MAGE_LIGHTNING.MinRange to 0 in the onLoad section of my profile but Lightning doesn't caste when up close.
Any ideas?
- Mon Mar 29, 2010 9:43 pm
- Forum: Runes of Magic
- Topic: Changing skills variables
- Replies: 3
- Views: 1225
Changing skills variables
I've been trying to figure out how to do this with no success. I'd like to change the minrange value of MAGE_LIGHTING from within my profile. Is there a command to do this or a variable I can change? The reason: Usually the value of 75 is good because Lightning is only really useful to keep mobs fro...
- Mon Mar 29, 2010 9:30 pm
- Forum: Runes of Magic
- Topic: ' instead of " in player:target_NPC and player:merchant
- Replies: 4
- Views: 1401
Re: ' instead of " in player:target_NPC and player:merchant
So I take it you'll change it in the next update?
- Mon Mar 29, 2010 7:40 pm
- Forum: Runes of Magic
- Topic: ' instead of " in player:target_NPC and player:merchant
- Replies: 4
- Views: 1401
' instead of " in player:target_NPC and player:merchant
I noticed I've been encountering more and more NPCs with " in their names such as "Anemone" Tadesha. When running createpath.lua and pressing keypad 4 or 5 it creates waypoint entries that wont work. For instance; player:target_NPC(""Anemone" Tadesha"); player:merc...
- Mon Mar 29, 2010 3:59 am
- Forum: Runes of Magic
- Topic: Checking durability, how does it work ?
- Replies: 4
- Views: 1252
Re: Checking durability, how does it work ?
I am sorry, i forgot to mention that i have completed everything as the tutorial says and i have the code in my waypoint file also. This is my current waypoint file and it should work but after testing it for a few hours my weapon was at 40/111 durability and the bot never started the repair macro ...
- Sun Mar 28, 2010 11:58 pm
- Forum: Runes of Magic
- Topic: Checking durability, how does it work ?
- Replies: 4
- Views: 1252
Re: Checking durability, how does it work ?
Could somebody tell me how the bot calculates the durability and what does 0.9 represent ? 0.9 represents the percentage of the max durability of an item. So if an item has a max durability of 125 and the current durability is 100 then dura will equal 100/125 = 0.8 Also what does this line do ? if(...