Search found 1047 matches

by d003232
Wed Jun 10, 2009 8:20 am
Forum: Runes of Magic
Topic: RoM bot
Replies: 2213
Views: 934661

Re: RoM bot

Hi, The problem is in the logfile -when i started- the bot i can read that it "Looting Target" but it doesn´t. Any idea? I dont have any problems today? Hmm. I'm on a europe server with 2.0.7.1839. Ok I will be forewarned. On the other side: Have you set your standard attack hotkey? It i...
by d003232
Wed Jun 10, 2009 5:01 am
Forum: Runes of Magic
Topic: Detect cursor change?
Replies: 28
Views: 7549

Re: Detect cursor change?

Administrator wrote:Not easily, no. I guess the best way to do that would be to scan the area by moving the mouse and checking for cursor change, then send a mouse click.
Is there a way/function to detect pixel change with lua / MicroMacro ?
by d003232
Tue Jun 09, 2009 4:24 pm
Forum: Runes of Magic
Topic: bot is running into mobs if looting
Replies: 0
Views: 2905

bot is running into mobs if looting

If the bot wants to loot a corpse he just press 'attack' and runs to the death mob ... if the mobs stands close together directly into two other ones. And dies. :-( I would sugest to check before looting if there are any other living mobs around/before. Mean to use 'tab' and look if the client find ...
by d003232
Mon Jun 08, 2009 4:09 pm
Forum: Runes of Magic
Topic: How can I use this for a travel bot?
Replies: 13
Views: 3769

Re: How can I use this for a travel bot?

YTo use, modify your waypoint script. Add type="TRAVEL" to just run to this waypoint without targetting additional enemies (will still attack aggressive creatures). cool. thx btw: There are some more 'options' who would be helpfull to store them in the waypoint file (for normal waypointfi...
by d003232
Mon Jun 08, 2009 8:45 am
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

Here now my final version for player.lua at line 304. Hope all isues seems to work now: yrest(500); -- wait a little for battling flag update in client -- Monster is dead (0 HP) but still targeted. -- Loot and clear target. self:update(); if( self.Battling ) then cprintf(cli.green, "still aggro...
by d003232
Mon Jun 08, 2009 6:27 am
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

I'm now working with: if( self.Battling ) then cprintf(cli.green, "still aggro, skip looting\n"); self:clearTarget(); -- get rid of the death mob end; if( self.Battling == false and self.TargetPtr ~= 0 ) then at player.lua line 308. Means I add an 'self:clearTarget();' to get rid of the de...
by d003232
Mon Jun 08, 2009 2:17 am
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

different isues: - sometimes the mobs seems die to fast (?). He skips looting because self.Battling = true although there are no more aggroing mobs. - we get aggro in the middle of a fight. And after the first mob, he stands still, targeting the death mob and in the protokoll is 'waiting on aggressi...
by d003232
Mon Jun 08, 2009 12:34 am
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

Puh. Its not so easy to describe. It seems if you get aggroed from an additional mob in an early stage of the fight, then after the first mob is death, the char is just standing still and doing nothing. If I than targeting the mob manual he fights the second mob. If I get aggro in a later stage of t...
by d003232
Mon Jun 08, 2009 12:17 am
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

Now the bot seems not to loot anymore at all. :roll:


edit: seem I need to test more. Not really sure what he is doing. Just wait a little.
by d003232
Sun Jun 07, 2009 11:48 pm
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

Ups. I get an error:

player.lua308: no loop to break near ';'
by d003232
Sun Jun 07, 2009 11:40 pm
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

Re: looting even if you are under attack? dont like that

Thx for your fast reply. I really like you and your bot! :-)
by d003232
Sun Jun 07, 2009 11:22 pm
Forum: Runes of Magic
Topic: looting even if you are under attack? dont like that
Replies: 11
Views: 3351

looting even if you are under attack? dont like that

I discover that the bot first try to loot after leave of combat even if he is still under attack from a additional mob. It is possible to change that? I dont like to die becaus of that and it not so common for a human user to do that. I would even like to skip the loot completly instead if under att...
by d003232
Fri Jun 05, 2009 8:36 am
Forum: Runes of Magic
Topic: first steps in lua: mana restore break in <onLeaveCombat>
Replies: 7
Views: 2256

Re: first steps in lua: mana restore break in <onLeaveCombat>

lol, thats it, its working now. And I dont understand why??? :-) Now my working code is: <onLeaveCombat> if( 60 > (player.Mana/player.MaxMana*100)) then printf("waiting for full mana"); for i = 1, 30 do yrest(1000); player:update(); if( player:haveTarget() ) then i = 30; end; if( (player.M...
by d003232
Fri Jun 05, 2009 8:17 am
Forum: Runes of Magic
Topic: first steps in lua: mana restore break in <onLeaveCombat>
Replies: 7
Views: 2256

Re: first steps in lua: mana restore break in <onLeaveCombat>

Grr. I dont unterstand whats wrong??? If I write:

Code: Select all

   if( (player.Mana/player.MaxMana*100) = 60 ) then
I dont get a parser error. If I write:

Code: Select all

   if( (player.Mana/player.MaxMana*100) < 60 ) then
I get the parser error. But for me it seems to be the right syntax? Just a little '<'.
by d003232
Fri Jun 05, 2009 7:30 am
Forum: Runes of Magic
Topic: first steps in lua: mana restore break in <onLeaveCombat>
Replies: 7
Views: 2256

Re: first steps in lua: mana restore break in <onLeaveCombat>

No. I always get a parser error. I thougt it's something wrong with the ';' but cant find anything.
by d003232
Fri Jun 05, 2009 7:16 am
Forum: Runes of Magic
Topic: first steps in lua: mana restore break in <onLeaveCombat>
Replies: 7
Views: 2256

Re: first steps in lua: mana restore break in <onLeaveCombat>

Thx for your fast comment. I will just test it.
by d003232
Fri Jun 05, 2009 5:34 am
Forum: Runes of Magic
Topic: first steps in lua: mana restore break in <onLeaveCombat>
Replies: 7
Views: 2256

first steps in lua: mana restore break in <onLeaveCombat>

I'm trying my first steps in LUA. I want to do a break for mana restoring after I falls under a certain level. Becaus I dont want to invest in to much mana potions. So I take some code I found in the main BOT post (I only get read the first 20 pages. It is really big :-) ) and look for the right var...
by d003232
Thu Jun 04, 2009 2:43 pm
Forum: Runes of Magic
Topic: [Release] RoM Bot Configuration Tool V1.4
Replies: 31
Views: 19458

Re: [Release] RoM Bot Configuration Tool V1.4

No. Nothing special with the charnames. Perhaps the path is a little uncommong. It's: E:\Programme XP Games\micromacro\scripts\rom\profiles If I copy the profile to: E:\Programme XP Games\micromacro\scripts\rom I can load it without problems. And if I press save it will again saved to: E:\Programme ...
by d003232
Thu Jun 04, 2009 8:10 am
Forum: Runes of Magic
Topic: How can I use this for a travel bot?
Replies: 13
Views: 3769

Re: How can I use this for a travel bot?

[quote="Administrator"]Open up rom/bot.lua in notepad. Search (CTRL+F) for player:fight(). Place two dashes (--) in front of the lines that contain this code. Example: --player:fight(); ... I like the idea of using the bot for traveling. In that case it is not very comfortable every time t...
by d003232
Thu Jun 04, 2009 3:21 am
Forum: Runes of Magic
Topic: Newbie: Mage does not attack
Replies: 13
Views: 4028

Re: Newbie: Mage does not attack

OK. Now it works perferct.

And I tested it again with "RoM Bot Configuration Tool V1.4". It generates really a profile with that wrong spelling. :-(