Malatina's survival

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#221 Post by rock5 » Tue Sep 04, 2012 11:08 am

Ok, finally got around to running survival when I tested it with the changes I'm making to the bot. Sure enough, it doesn't work.

Turned out it was only 2 small bugs. One was a wait timer was set to 1000s instead of 1s and when loading the first character the script looks for an AOE skill before the skills have been added. Just adding a player:update() fixed that.

So I'm uploading version 2.61
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

wilifox
Posts: 86
Joined: Tue Jul 26, 2011 6:00 pm

Re: Malatina's survival

#222 Post by wilifox » Thu Sep 06, 2012 2:55 am

Rock, good I have a problem with my Mage / Druid, when in active mode Malatinas fly and stand still and not attack. you know why? Thanks and good job;) :roll: :roll:

wulf
Posts: 22
Joined: Sat Sep 01, 2012 5:43 am

Re: Malatina's survival

#223 Post by wulf » Thu Sep 06, 2012 3:53 am

Ahh, Rickster described the same problem like me at page 5.
I will try his solution tomorrow and if it helps, i will try to restart the script automaticly after the first teleport.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#224 Post by rock5 » Thu Sep 06, 2012 4:18 am

wilifox wrote:Rock, good I have a problem with my Mage / Druid, when in active mode Malatinas fly and stand still and not attack. you know why? Thanks and good job;) :roll: :roll:
At which point does it stop? Does it target the mobs? What skills are you using in your profile?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

wulf
Posts: 22
Joined: Sat Sep 01, 2012 5:43 am

Re: Malatina's survival

#225 Post by wulf » Thu Sep 06, 2012 5:47 am

Ok, I see now that it was a different problem with Rickster. With him he teleported only 1 time.
He solved his problem by reinstalling. I will also try.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#226 Post by rock5 » Thu Sep 06, 2012 6:52 am

wulf wrote:Ok, I see now that it was a different problem with Rickster. With him he teleported only 1 time.
He solved his problem by reinstalling. I will also try.
Page 5 was a long time ago. I would disregard it and describe your problem afresh. Describe what happens, when it happens, what it was doing when it happens, etc. and what version of the bot and survival script you are using.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Malicean
Posts: 5
Joined: Tue Dec 20, 2011 2:15 pm

Re: Malatina's survival

#227 Post by Malicean » Thu Sep 06, 2012 4:16 pm

I think what he is saying rock is that after stepping into the room, it enables swimhack and teleports up to the first position and then hangs. I am having the same issue and cannot find a remedy. Maybe do not have something setup correctly. Run either r/s or s/r if that helps any.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#228 Post by rock5 » Thu Sep 06, 2012 4:49 pm

Works for me. Just tried a S/M. It used Ignite, though, to clear the trash. Went a bit crazy when it ran out of mana but still finnished the trash in 90s. Just tried a regular scout too. Besides an issue with the new "move while attacking" code I implemented recently (which I'll have to fix), it worked fine.

All I can think to say, is make sure you are using the latest version of survival, double check your skills and combat options in your profile. Maybe if you are using an old version of the bot you might have issues too.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Malicean
Posts: 5
Joined: Tue Dec 20, 2011 2:15 pm

Re: Malatina's survival

#229 Post by Malicean » Thu Sep 06, 2012 5:39 pm

Going to check the profile config here in a few. That might be whats causing it to act a bit weird. Will post back with results.

wulf
Posts: 22
Joined: Sat Sep 01, 2012 5:43 am

Re: Malatina's survival

#230 Post by wulf » Fri Sep 07, 2012 2:55 am

Ok, from the beginning.
Until last RoM patch everything worked fine. I had the script version 2.5x.
After RoM patch and update the bot, my character went to the room and has in function trashmelee() tried repeatedly to access the first point. He hung in the loop

Code: Select all

repeat
  teleport(x, z, 18)
  cprintf(cli.green,"Player: X: %d\tZ: %d\n",player.X,player.Z);        
  if distance(player.X, player.Z, x, z) > 5 then yrest(500) end
  cprintf(cli.green,"Distance: %d\n",distance(player.X, player.Z, x, z));        
until 5 > distance(player.X, player.Z, x, z)
see debug output:

Code: Select all

Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2666 Z: 3117
Distance: 24
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2667 Z: 3120
Distance: 27
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2666 Z: 3117
Distance: 24
...
When I wanted to post this here, I have seen that there is a version 2.6, which was changed in this function. I installed this, but it still does not fix my problem.
Now I have the latest version of the script and the bot installed. Today I inserted some debug output:

Code: Select all

cprintf(cli.green,"Player: X: %d\tZ: %d\tY: %d\n",player.X,player.Z,player.Y);
teleport(x, z, 18)
cprintf(cli.green,"Player: X: %d\tZ: %d\tY: %d\n",player.X,player.Z,player.Y);
if distance(player.X, player.Z, x, z) > 5 then
	cprintf(cli.green,"Distance: %d\n",distance(player.X, player.Z, x, z));        
	player:moveTo(CWaypoint(x,z,18),true)
	cprintf(cli.green,"Player: X: %d\tZ: %d\tY: %d\n",player.X,player.Z,player.Y);
end
Here the output from the run:

Code: Select all

Der NPC 'Hill Joker' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Drücke MACRO: RoMScript ausführen "ChoiceOption(2);".
Lösche Ziel.
Wir gehen zum Wegpunkt #2, (2546, 2681)
Wir gehen zum Wegpunkt #3, (2586, 2789)
Wir gehen zum Wegpunkt #4, (2606, 2843)
Clearing trash...
Swimhack ACTIVATED!
Player: X: 2607 Z: 2847 Y: 9
Player Teleported to X: 2665    Z: 2918 Y: 18
Player: X: 2665 Z: 2918 Y: 18
Drücke MACRO: KNIGHT_DANCE_OF_TWO_=>   Bizarre Maschine (1/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2665 Z: 2918 Y: 18
Player Teleported to X: 2698    Z: 3008 Y: 18
Player: X: 2698 Z: 3008 Y: 18
Drücke MACRO: KNIGHT_CHARGE       =>   Bizarre Maschine (946/946)
Drücke MACRO: KNIGHT_SHIELD_OF_ATO=>   Bizarre Maschine (1/946)
Lösche Ziel.
Drücke MACRO: KNIGHT_WHIRLWIND_SHI=>   Bizarre Maschine (1/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2638 Z: 3030 Y: 10
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2686 Z: 3084 Y: 17
Distance: 28
Player: X: 2656 Z: 3094 Y: 9
Swimhack ACTIVATED!
Player: X: 2656 Z: 3094 Y: 9
Player Teleported to X: 2568    Z: 3127 Y: 18
Player: X: 2568 Z: 3127 Y: 18
Drücke MACRO: ROGUE_SHADOWSTAB    =>   Bizarre Maschine (1/946)
Lösche Ziel.
Drücke MACRO: KNIGHT_DANCE_OF_TWO_=>   Bizarre Maschine (946/946)
Lösche Ziel.
Drücke MACRO: KNIGHT_WHIRLWIND_SHI=>   Bizarre Maschine (946/946)
Bot pausiert. (ENTF) drücken um weiterzumachen, (CTRL+L) beendet den Bot, (CTRL+C) schließt das Micromacro Fenster
Resumed.
Bot pausiert. (ENTF) drücken um weiterzumachen, (CTRL+L) beendet den Bot, (CTRL+C) schließt das Micromacro Fenster
Resumed.
Bot pausiert. (ENTF) drücken um weiterzumachen, (CTRL+L) beendet den Bot, (CTRL+C) schließt das Micromacro Fenster
Resumed.
Lösche Ziel.
Drücke MACRO: KNIGHT_DANCE_OF_TWO_=>   Bizarre Maschine (946/946)
Drücke MACRO: KNIGHT_CHARGE       =>   Bizarre Maschine (946/946)
Lösche Ziel.
Drücke MACRO: KNIGHT_SHIELD_OF_ATO=>   Bizarre Maschine (946/946)
Lösche Ziel.
Drücke MACRO: KNIGHT_WHIRLWIND_SHI=>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2523 Z: 2952 Y: 10
Player Teleported to X: 2482    Z: 3087 Y: 18
Player: X: 2482 Z: 3087 Y: 18
Swimhack ACTIVATED!
Player: X: 2482 Z: 3087 Y: 18
Player Teleported to X: 2449    Z: 2996 Y: 18
Player: X: 2449 Z: 2996 Y: 18
Swimhack ACTIVATED!
Player: X: 2449 Z: 2996 Y: 18
Player Teleported to X: 2489    Z: 2910 Y: 18
Player: X: 2489 Z: 2911 Y: 18
Drücke MACRO: ROGUE_SHADOWSTAB    =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Drücke MACRO: ROGUE_SHADOWSTAB    =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Drücke MACRO: KNIGHT_DANCE_OF_TWO_=>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2572 Z: 2876 Y: 12
Player Teleported to X: 2580    Z: 2878 Y: 18
Player: X: 2585 Z: 2854 Y: 17
Distance: 24
Player: X: 2580 Z: 2877 Y: 17
Drücke MACRO: KNIGHT_WHIRLWIND_SHI=>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2567 Z: 2914 Y: 18
Player Teleported to X: 2665    Z: 2918 Y: 18
Player: X: 2656 Z: 2944 Y: 18
Distance: 27
Player: X: 2662 Z: 2926 Y: 18
Drücke MACRO: ROGUE_SHADOWSTAB    =>   Wachender Felsgeist (5575/5575)
Lösche Ziel.
Drücke MACRO: ROGUE_SHADOWSTAB    =>   Wachender Felsgeist (5575/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2656 Z: 2991 Y: 11
Player Teleported to X: 2698    Z: 3008 Y: 18
Player: X: 2723 Z: 3025 Y: 17
Distance: 29
Player: X: 2700 Z: 3009 Y: 17
Swimhack ACTIVATED!
Player: X: 2700 Z: 3009 Y: 17
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2658 Z: 3094 Y: 18
Swimhack ACTIVATED!
Player: X: 2658 Z: 3094 Y: 18
Player Teleported to X: 2568    Z: 3127 Y: 18
Player: X: 2568 Z: 3127 Y: 18
Swimhack ACTIVATED!
Player: X: 2568 Z: 3127 Y: 18
Player Teleported to X: 2482    Z: 3087 Y: 18
Player: X: 2482 Z: 3087 Y: 18
Swimhack ACTIVATED!
Player: X: 2482 Z: 3087 Y: 18
Player Teleported to X: 2449    Z: 2996 Y: 18
Player: X: 2449 Z: 2996 Y: 18
Swimhack ACTIVATED!
Player: X: 2449 Z: 2996 Y: 18
Player Teleported to X: 2489    Z: 2910 Y: 18
Player: X: 2489 Z: 2911 Y: 18
Swimhack ACTIVATED!
Player: X: 2489 Z: 2911 Y: 18
Player Teleported to X: 2580    Z: 2878 Y: 18
Player: X: 2580 Z: 2878 Y: 18
Digging up tiles...
Swimhack ACTIVATED!
Player Teleported to X: 2623    Z: 2901 Y: 18
Swimhack ACTIVATED!
Player Teleported to X: 2655    Z: 2991 Y: 18
Kleine Bombe found. Id 101486.
Swimhack ACTIVATED!
Player Teleported to X: 2593    Z: 2912 Y: 18
Mittelgroße Bombe found. Id 101487.
Swimhack ACTIVATED!
Player Teleported to X: 2625    Z: 3002 Y: 18
Kleine Bombe found. Id 101486.
Swimhack ACTIVATED!
Player Teleported to X: 2563    Z: 2923 Y: 18
Mittelgroße Bombe found. Id 101487.
Swimhack ACTIVATED!
Player Teleported to X: 2595    Z: 3013 Y: 18
Braune Holztruhe found. Id 111956.
My character still does not teleports like before. Previously he teleported from one point to another, made an AOE and teleported to the next. Now he teleports and swims around confused in the area.
But I can't see that in the debug output. I will try to make a video at weekend.
Sometimes I have to intervene again, because it swims against the wall (the breaks in the output). I then killed some mobs manually.
If all Mobs killed, everything is working fine.

The first output was a knight/rogue, here are another with a mage/druid. Here I did not intervene, through purgatory-fire at some point all the mobs are killed. But sometimes he simply dies.

Code: Select all

Der NPC 'Hill Joker' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Drücke MACRO: RoMScript ausführen "ChoiceOption(2);".
Lösche Ziel.
Wir gehen zum Wegpunkt #2, (2546, 2681)
Wir gehen zum Wegpunkt #3, (2586, 2789)
Wir gehen zum Wegpunkt #4, (2606, 2843)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   <UNKNOWN> (1000/1000)
Clearing trash...
Swimhack ACTIVATED!
Player: X: 2603 Z: 2836 Y: 9
Player Teleported to X: 2665    Z: 2918 Y: 18
Player: X: 2665 Z: 2918 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (946/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2673 Z: 2939 Y: 17
Player Teleported to X: 2698    Z: 3008 Y: 18
Player: X: 2708 Z: 3036 Y: 18
Distance: 29
Player: X: 2699 Z: 3009 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (1/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2677 Z: 2947 Y: 18
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2598 Z: 2821 Y: 9
Distance: 279
Drücke MACRO: MAGE_MAGMA_BLADE    =>   <UNKNOWN> (1000/1000)
Player: X: 2631 Z: 2971 Y: 14
Wir greifen den Gegner 'Wachender Felsgeist' an.
Bewegung zu | Soll Entfernung: 30 | Ist: 60
Drücke MACRO: MAGE_ENERGY_WELL    =>   Wachender Felsgeist (5575/5575)
Drücke MACRO: MAGE_ENERGY_INFLUX  =>   Wachender Felsgeist (5575/5575)
Drücke MACRO: MAGE_ELEMENTAL_CATAL=>   Wachender Felsgeist (5575/5575)
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Wachender Felsgeist (0/5575)
Kampf beendet. 1 Wachender Felsgeist getötet. (Kampf #1 / Laufzeit 22449910 Minuten)
Lösche Ziel.
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2633 Z: 2922 Y: 10
Player Teleported to X: 2568    Z: 3127 Y: 18
Player: X: 2568 Z: 3127 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (946/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2568 Z: 3150 Y: 17
Player Teleported to X: 2482    Z: 3087 Y: 18
Player: X: 2482 Z: 3116 Y: 18
Distance: 29
Player: X: 2482 Z: 3092 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (946/946)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Bizarre Maschine (1/946)
Lösche Ziel.
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (946/946)
Drücke MACRO: MAGE_FIREBALL       =>   Bizarre Maschine (946/946)
Drücke MACRO: DRUID_EARTH_PULSE   =>   Bizarre Maschine (1/946)
Lösche Ziel.
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (5575/5575)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Wachender Felsgeist (5575/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2482 Z: 2936 Y: 13
Player Teleported to X: 2449    Z: 2996 Y: 18
Player: X: 2455 Z: 3024 Y: 17
Distance: 28
Player: X: 2450 Z: 2998 Y: 17
Swimhack ACTIVATED!
Player: X: 2450 Z: 2998 Y: 17
Player Teleported to X: 2489    Z: 2910 Y: 18
Player: X: 2489 Z: 2911 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (1/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2480 Z: 2862 Y: 18
Player Teleported to X: 2580    Z: 2878 Y: 18
Player: X: 2574 Z: 2849 Y: 18
Distance: 29
Player: X: 2578 Z: 2872 Y: 18
Drücke MACRO: MAGE_FIREBALL       =>   Bizarre Maschine (946/946)
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (946/946)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Bizarre Maschine (1/946)
Lösche Ziel.
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2553 Z: 2941 Y: 10
Player Teleported to X: 2665    Z: 2918 Y: 18
Player: X: 2665 Z: 2918 Y: 18
Swimhack ACTIVATED!
Player: X: 2665 Z: 2918 Y: 18
Player Teleported to X: 2698    Z: 3008 Y: 18
Player: X: 2698 Z: 3008 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2711 Z: 2967 Y: 15
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2640 Z: 3115 Y: 15
Distance: 27
Player: X: 2654 Z: 3099 Y: 17
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Bizarre Maschine (1/946)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2696 Z: 3053 Y: 17
Player Teleported to X: 2568    Z: 3127 Y: 18
Player: X: 2586 Z: 3107 Y: 18
Distance: 26
Player: X: 2570 Z: 3125 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (5575/5575)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2542 Z: 3123 Y: 13
Player Teleported to X: 2482    Z: 3087 Y: 18
Player: X: 2493 Z: 3061 Y: 15
Distance: 28
Player: X: 2485 Z: 3081 Y: 17
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (5575/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2473 Z: 3106 Y: 19
Player Teleported to X: 2449    Z: 2996 Y: 18
Player: X: 2705 Z: 2974 Y: 9
Distance: 256
Drücke MACRO: MAGE_MAGMA_BLADE    =>   <UNKNOWN> (1000/1000)
Player: X: 2456 Z: 2996 Y: 17
Wir greifen den Gegner 'Wachender Felsgeist' an.
Bewegung zu | Soll Entfernung: 30 | Ist: 32
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Kampf beendet. 2 Wachender Felsgeist getötet. (Kampf #2 / Laufzeit 22449911 Minuten)
Lösche Ziel.
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2469 Z: 2989 Y: 13
Player Teleported to X: 2489    Z: 2910 Y: 18
Player: X: 2489 Z: 2911 Y: 9
Swimhack ACTIVATED!
Player: X: 2489 Z: 2911 Y: 9
Player Teleported to X: 2580    Z: 2878 Y: 18
Player: X: 2580 Z: 2878 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Drücke MACRO: MAGE_MAGMA_BLADE    =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2622 Z: 2862 Y: 9
Player Teleported to X: 2665    Z: 2918 Y: 18
Player: X: 2645 Z: 2937 Y: 16
Distance: 27
Player: X: 2659 Z: 2923 Y: 17
Swimhack ACTIVATED!
Player: X: 2659 Z: 2923 Y: 17
Player Teleported to X: 2698    Z: 3008 Y: 18
Player: X: 2698 Z: 3008 Y: 18
Swimhack ACTIVATED!
Player: X: 2698 Z: 3008 Y: 18
Player Teleported to X: 2658    Z: 3094 Y: 18
Player: X: 2658 Z: 3094 Y: 18
Drücke MACRO: MAGE_PURGATORY_FIRE =>   Wachender Felsgeist (0/5575)
Lösche Ziel.
Swimhack ACTIVATED!
Player: X: 2701 Z: 3056 Y: 21
Player Teleported to X: 2568    Z: 3127 Y: 18
Player: X: 2589 Z: 3108 Y: 19
Distance: 27
Drücke MACRO: MAGE_MAGMA_BLADE    =>   <UNKNOWN> (1000/1000)
Player: X: 2569 Z: 3126 Y: 18
Swimhack ACTIVATED!
Player: X: 2569 Z: 3126 Y: 18
Player Teleported to X: 2482    Z: 3087 Y: 18
Player: X: 2482 Z: 3087 Y: 18
Swimhack ACTIVATED!
Player: X: 2482 Z: 3087 Y: 18
Player Teleported to X: 2449    Z: 2996 Y: 18
Player: X: 2449 Z: 2996 Y: 18
Swimhack ACTIVATED!
Player: X: 2449 Z: 2996 Y: 18
Player Teleported to X: 2489    Z: 2910 Y: 18
Player: X: 2489 Z: 2911 Y: 18
Swimhack ACTIVATED!
Player: X: 2489 Z: 2911 Y: 18
Player Teleported to X: 2580    Z: 2878 Y: 18
Player: X: 2580 Z: 2878 Y: 18
Digging up tiles...

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#231 Post by rock5 » Fri Sep 07, 2012 3:01 am

Are you using the new option 'COMBAT_STOP_DISTANCE' in your profile?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

wulf
Posts: 22
Joined: Sat Sep 01, 2012 5:43 am

Re: Malatina's survival

#232 Post by wulf » Fri Sep 07, 2012 4:46 am

rock5 wrote:Are you using the new option 'COMBAT_STOP_DISTANCE' in your profile?
Only at the mage, not at the knight.
mage:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
  <options>
    <!-- For more options and documentation see the RoM Bot Wiki:  -->
    <!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->
    
    <option name="HP_LOW"                     value="85" />           <!-- The percentage of health to use heal skills at -->
    <option name="MP_LOW_POTION"              value="50" />           <!-- The percentage of healthto use potions at -->
    <option name="HP_LOW_POTION"              value="50" />           <!-- The percentage of mana to use mana potions at -->
    <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" />
    <!-- option name="POTION_COOLDOWN"        value="15" -->          <!-- allways 15 -->
    <!-- option name="POTION_COOLDOWN_HP"     value="0" -->           <!-- will only be used if not 0, if 0 POTION_COOLDOWN will be used -->
    <!-- option name="POTION_COOLDOWN_MANA"   value="0" -->           <!-- will only be used if not 0, if 0 POTION_COOLDOWN will be used -->

    <!-- Rest if HP or Mana is below that level -->
    <option name="HP_REST"                    value="40" />
    <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="0" />            <!-- set to "0" if not required to buy -->
    <option name="MANA_POTION"                value="0" />            <!-- set to "0" if not required to buy -->
    <option name="ARROW_QUIVER"               value="0" />            <!-- set to "0" if not required to buy -->
    <option name="THROWN_BAG"                 value="0" />            <!-- set to "0" if not required to buy -->
    <option name="POISON"                     value="0" />            <!-- 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="" />             <!-- leave empty or choose ranged/melee if not using class default -->
    <option name="COMBAT_RANGED_PULL"         value="false" />        <!-- Whether or not to attempt to "pull" enemies towards you with ranged skills while you are a melee-based class -->
    <option name="COMBAT_DISTANCE"            value="30" />           <!-- The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged" or when you use COMBAT_RANGED_PULL as melee -->
    <!-- option name="COMBAT_DISTANCE"        value="150" -->         <!-- The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged" or when you use COMBAT_RANGED_PULL as melee -->
    <option name="COMBAT_STOP_DISTANCE"       value="50" />
    <option name="MAX_FIGHT_TIME"             value="5" />            <!-- If you stop damaging a target within this amount of time, you will skip this target -->
    <option name="DOT_PERCENT"                value="0" />            <!-- Use DOTs on this target only if it has more than this percentage of HP -->
    <option name="ANTI_KS"                    value="true" />         <!-- Whether or not to avoid stealing other players' kills. true or false -->
    <option name="MAX_TARGET_DIST"            value="100" />          <!-- maximum distance to select a target (helpfull to limit at small places) -->
    <!-- option name="AUTO_ELITE_FACTOR"      value="5" -->           <!-- mobs with x * your HP value counts as 'Elite' and we will not target it) -->

    <!-- 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="" />             <!-- The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder, leave empty to show a list -->
    <option name="RETURNPATH"                 value="" />             <!-- The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder -->
    <option name="PATH_TYPE"                  value="waypoints" />    <!-- waypoints | wander -->
    <option name="WANDER_RADIUS"              value="500" />          <!-- The distance that your character is allowed to "wander" freely when using wander mode -->
    <option name="WAYPOINT_DEVIATION"         value="0" />            <!-- A 'random' offset applied to each waypoint in your path giving it less of a bot-like appearance; suggested value of 50. Lower value means you stick closer to your normal path; 0 means no deviation -->
    <option name="QUICK_TURN"                 value="true" />         <!-- Whether or not to use quick turn mode. Quick turn mode emulates a click-to-move type movement style. This means your character does not stop to slowly turn around -->
    <!-- option name="WAYPOINTS_REVERSE"      value="false" -->       <!-- use the waypoint file in reverse order -->
    <!-- option name="MAX_DEATHS"             value="10" -->          <!-- maximal death if automatic resurrect befor logout -->
    <!-- option name="WAIT_TIME_AFTER_RES"    value="8000" -->        <!-- time to wait after resurrection, needs more on slow PCs -->
    <!-- option name="RETURNPATH_SUFFIX"      value="_return"" -->    <!-- suffix for default naming of returnpath -->
    <!-- option name="USE_SLEEP_AFTER_RESUME" value="false" -->       <!-- enter sleep mode after pressing pause/resume key -->

    <!-- Loot settings -->
    <option name="LOOT"                       value="true" />         <!-- Whether you want to loot enemies or not -->
    <option name="LOOT_ALL"                   value="true" />         <!-- Loot all nearby dead mobs after combat -->
    <option name="LOOT_IGNORE_LIST_SIZE"      value="10" />           <!-- By default, the bot will remember bodies it failed to loot and not try to loot them again. By default it remembers 10. If you want to change the number it remembers then set this value to the desired number -->
    <option name="LOOT_IN_COMBAT"             value="false" />        <!-- Whether or not you want to pick up loot when other enemies are still attacking you -->
    <option name="LOOT_DISTANCE"              value="200" />          <!-- The max distance away a corpse can be that you will attempt to loot -->
    <option name="LOOT_PAUSE_AFTER"           value="0" />            <!-- probability in % for a short rest -->
    <option name="LOOT_TIME"                  value="2000" />
		<option name="LOOT_AGAIN"                 value="2000" />         <!-- second loot try if rooted after x ms -->

    <!-- Auto selling options when used with player:merchant -->
    <option name="INV_AUTOSELL_ENABLE"        value="true" />         <!-- true | false -->
    <option name="INV_AUTOSELL_FROMSLOT"      value="1" />            <!-- 1 = bag 1 slot 1 -->
    <option name="INV_AUTOSELL_TOSLOT"        value="108" />          <!-- 30 = last slot bag 1 -->
    <option name="INV_AUTOSELL_QUALITY"       value="white,green,blue,purple" />  <!-- 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" />        <!-- Set to true if you want to craft with your pet. Default: false -->
    <option name="EGGPET_CRAFT_SLOT"          value="1" />            <!-- The pet slot to use if pet crafting is enabled. Default: nil -->
    <option name="EGGPET_ENABLE_ASSIST"       value="false" />        <!-- Set to true if you want to summon your pet to assist you. Default: false -->
    <option name="EGGPET_ASSIST_SLOT"         value="1" />            <!-- The pet slot to use if pet assist is enabled. Default: nil -->
    <option name="EGGPET_CRAFT_RATIO"         value="1:1:1" />        <!-- mining:woodworking:herbalism ratio to produce. -->
    <option name="EGGPET_CRAFT_INDEXES"       value="" />             <!-- By default your pet will craft the highest materials possible. Use this option if you want it to craft lower level materials from the dropdown list. You can specify values for any or all material types. eg. "2,3,nil" will create level 2 ore, level 3 wood and the highest level herbs. If this option is used, all three values must be included, using 'nil' for the values you don't want to change. Default: Highest values -->

    <!-- Log out and resurrect settings -->
    <option name="LOGOUT_TIME"                value="0" />            <!-- Log out after this amount of time (in minutes). A value of 0 means you will not use this setting. Default: 0 -->
    <option name="LOGOUT_SHUTDOWN"            value="false" />        <!-- If you want to have the computer automatically shutdown after automatically logging out. Default: false -->
    <option name="LOGOUT_WHEN_STUCK"          value="true" />         <!-- If your character gets stuck and cannot unstuck himself, you can use this option to have him log off. Default: true -->
    <option name="CLOSE_WHEN_STUCK"           value="true" />     
    <option name="RES_AFTER_DEATH"            value="true" />         <!-- automatic resurrect after death -->
    <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="HEALER_FIGHT"           value="true" -->        <!-- For party bot if you want healer to also fight -->

    <!-- pvp -->
    <!-- option name="PVP"                    value="true" -->        <!-- To enable PVP, with this set to true it will auto attack any players with red names -->
    
    <!-- Dismount or not when casting skills -->
    <option name="DISMOUNT"                   value="true" />         <!-- if true then it will use skills while mounted  -->

  </options>

  <!-- 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         -->
  <friends>
    <friend name="Fass" />
    <friend name="MyOtherCharacter2" />
    <friend name="Elite_Mob_Name1" />
    <friend name="Elite_Mob_Name2" />
  </friends>

  <!-- names of mobs we want to attack              -->
  <!-- if no names defined we will attack all mobs  -->
  <mobs>
    <mob name="" />
    <mob name="" />
    <mob name="" />
  </mobs>

  <!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
  <hotkeys>
    <hotkey name="MACRO" key="VK_0" />
  </hotkeys>

  <!-- define your skills depending from your actual primary class -->
  <!-- For more skills to use see /database/skills.xml             -->
  <!-- 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_FROST_SCARS"            hotkey="MACRO" priority="90" />
    <skill name="PRIEST_BONE_CHILL"             hotkey="MACRO" priority="85" />
    <skill name="PRIEST_CHAIN_OF_LIGHT"         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" />
  </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_PREMEDITATION"           hotkey="MACRO" priority="100" inbattle="false" />
    <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_UNKNOWN_CHOICE"          hotkey="MACRO" priority="75" targethp="!200000" />
    <skill name="ROGUE_INFORMER"                hotkey="MACRO" priority="70" targethp="!200000" />
    <skill name="ROGUE_FERVENT_ATTACK"          hotkey="MACRO" priority="65" targethp="!200000" />
    <skill name="ROGUE_EVASION"                 hotkey="MACRO" priority="60" targethp="!200000" />
    <skill name="ROGUE_ASSASSINS_RAGE"          hotkey="MACRO" priority="55" targethp="!200000" />
    <skill name="ROGUE_WOUND_ATTACK"            hotkey="MACRO" priority="80" />
    <skill name="ROGUE_YAWAKAS_BLESSING"        hotkey="MACRO" priority="20" />
  </skills_rogue>

  <skills_mage>
    <skill name="DRUID_RECOVER"                 hotkey="MACRO" priority="100" hpper="30" />
    <skill name="MAGE_PURGATORY_FIRE" 		      hotkey="MACRO" priority="90" targethp="50000" />
    <skill name="MAGE_FLAME"                    hotkey="MACRO" priority="80" targethp="!50000" />
    <skill name="MAGE_MAGMA_BLADE"          	  hotkey="MACRO" priority="80" />
    <skill name="MAGE_FIREBALL"          	      hotkey="MACRO" priority="75" />
    
    <skill name="MAGE_LIGHTNING"                hotkey="MACRO" priority="70" />
    <skill name="DRUID_EARTH_PULSE"             hotkey="MACRO" priority="60" />
    <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" />
    <skill name="MAGE_DISCHARGE" 			          hotkey="MACRO" priority="40" />
    <skill name="MAGE_ELEMENTAL_WEAKNESS" 	    hotkey="MACRO" priority="40" inbattle="true" />
  </skills_mage>

  <skills_knight>
    <skill name="KNIGHT_CHARGE"                 hotkey="MACRO" priority="120" />
    <skill name="KNIGHT_SHIELD_OF_ATONEMENT"    hotkey="MACRO" priority="110" />
    <skill name="KNIGHT_ARCHING_CHOP"           hotkey="MACRO" priority="100" />
    <skill name="KNIGHT_DANCE_OF_TWO_BLADES"    hotkey="MACRO" priority="90" />
    <skill name="KNIGHT_WHIRLWIND_SHIELD"       hotkey="MACRO" priority="85" />
    <skill name="KNIGHT_FLAWLESS_SCARLET_SWORD" hotkey="MACRO" priority="80" />
    <skill name="ROGUE_SHADOWSTAB"              hotkey="MACRO" priority="70" />
    <skill name="KNIGHT_HOLY_STRIKE"            hotkey="MACRO" priority="60" />
    <skill name="KNIGHT_HOLY_SHIELD"            hotkey="MACRO" priority="50" inbattle="true" hpper="15" />
    <skill name="KNIGHT_HOLY_SEAL"              hotkey="MACRO" priority="40" />
    <skill name="KNIGHT_PUNISHMENT"             hotkey="MACRO" priority="30" />
    <skill name="KNIGHT_ENHANCED_ARMOR"         hotkey="MACRO" priority="20" />
    <skill name="KNIGHT_MANA_RETURN"            hotkey="MACRO" priority="10" />
    <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_MOTHER_NATURES_WRATH"    hotkey="MACRO" priority="80" />
    <skill name="MAGE_FIREBALL"                 hotkey="MACRO" priority="70" />
    <skill name="DRUID_EARTH_PULSE"             hotkey="MACRO" priority="60" />
    <skill name="MAGE_LIGHTNING"                hotkey="MACRO" priority="55" />
    <skill name="DRUID_EARTH_ARROW"             hotkey="MACRO" priority="50" />
    <skill name="DRUID_BRIAR_ENTWINEMENT"       hotkey="MACRO" priority="45" />
    <skill name="DRUID_ROCKSLIDE"               hotkey="MACRO" priority="40" />
  </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>

knight

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<profile>
  <options>
    <!-- For more options and documentation see the RoM Bot Wiki:  -->
    <!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->
    
    <option name="HP_LOW"                     value="85" />           <!-- The percentage of health to use heal skills at -->
    <option name="MP_LOW_POTION"              value="50" />           <!-- The percentage of healthto use potions at -->
    <option name="HP_LOW_POTION"              value="50" />           <!-- The percentage of mana to use mana potions at -->
    <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" />
    <!-- option name="POTION_COOLDOWN"        value="15" -->          <!-- allways 15 -->
    <!-- option name="POTION_COOLDOWN_HP"     value="0" -->           <!-- will only be used if not 0, if 0 POTION_COOLDOWN will be used -->
    <!-- option name="POTION_COOLDOWN_MANA"   value="0" -->           <!-- will only be used if not 0, if 0 POTION_COOLDOWN will be used -->

    <!-- Rest if HP or Mana is below that level -->
    <option name="HP_REST"                    value="40" />
    <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="0" />            <!-- set to "0" if not required to buy -->
    <option name="MANA_POTION"                value="0" />            <!-- set to "0" if not required to buy -->
    <option name="ARROW_QUIVER"               value="0" />            <!-- set to "0" if not required to buy -->
    <option name="THROWN_BAG"                 value="0" />            <!-- set to "0" if not required to buy -->
    <option name="POISON"                     value="0" />            <!-- 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="" />             <!-- leave empty or choose ranged/melee if not using class default -->
    <option name="COMBAT_RANGED_PULL"         value="false" />        <!-- Whether or not to attempt to "pull" enemies towards you with ranged skills while you are a melee-based class -->
    <option name="COMBAT_DISTANCE"            value="30" />           <!-- The distance to remain at when fighting. This only affects your character when COMBAT_TYPE is "ranged" or when you use COMBAT_RANGED_PULL as melee -->
    <option name="MAX_FIGHT_TIME"             value="5" />            <!-- If you stop damaging a target within this amount of time, you will skip this target -->
    <option name="DOT_PERCENT"                value="0" />            <!-- Use DOTs on this target only if it has more than this percentage of HP -->
    <option name="ANTI_KS"                    value="true" />         <!-- Whether or not to avoid stealing other players' kills. true or false -->
    <option name="MAX_TARGET_DIST"            value="100" />          <!-- maximum distance to select a target (helpfull to limit at small places) -->
    <!-- option name="AUTO_ELITE_FACTOR"      value="5" -->           <!-- mobs with x * your HP value counts as 'Elite' and we will not target it) -->

    <!-- 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="" />             <!-- The filename (including .xml extension) of the waypoint script to use. Must reside in the 'waypoints' folder, leave empty to show a list -->
    <option name="RETURNPATH"                 value="" />             <!-- The filename (including .xml extension) of the waypoint script to use for returning after death. Must reside in the 'waypoints' folder -->
    <option name="PATH_TYPE"                  value="waypoints" />    <!-- waypoints | wander -->
    <option name="WANDER_RADIUS"              value="500" />          <!-- The distance that your character is allowed to "wander" freely when using wander mode -->
    <option name="WAYPOINT_DEVIATION"         value="0" />            <!-- A 'random' offset applied to each waypoint in your path giving it less of a bot-like appearance; suggested value of 50. Lower value means you stick closer to your normal path; 0 means no deviation -->
    <option name="QUICK_TURN"                 value="true" />         <!-- Whether or not to use quick turn mode. Quick turn mode emulates a click-to-move type movement style. This means your character does not stop to slowly turn around -->
    <!-- option name="WAYPOINTS_REVERSE"      value="false" -->       <!-- use the waypoint file in reverse order -->
    <!-- option name="WAIT_TIME_AFTER_RES"    value="8000" -->        <!-- time to wait after resurrection, needs more on slow PCs -->
    <!-- option name="RETURNPATH_SUFFIX"      value="_return"" -->    <!-- suffix for default naming of returnpath -->
    <!-- option name="USE_SLEEP_AFTER_RESUME" value="false" -->       <!-- enter sleep mode after pressing pause/resume key -->

    <!-- Loot settings -->
    <option name="LOOT"                       value="true" />         <!-- Whether you want to loot enemies or not -->
    <option name="LOOT_ALL"                   value="true" />         <!-- Loot all nearby dead mobs after combat -->
    <option name="LOOT_IGNORE_LIST_SIZE"      value="10" />           <!-- By default, the bot will remember bodies it failed to loot and not try to loot them again. By default it remembers 10. If you want to change the number it remembers then set this value to the desired number -->
    <option name="LOOT_IN_COMBAT"             value="false" />        <!-- Whether or not you want to pick up loot when other enemies are still attacking you -->
    <option name="LOOT_DISTANCE"              value="200" />          <!-- The max distance away a corpse can be that you will attempt to loot -->
    <option name="LOOT_PAUSE_AFTER"           value="0" />            <!-- probability in % for a short rest -->
    <option name="LOOT_TIME"                  value="2000" />
		<option name="LOOT_AGAIN"                 value="2000" />         <!-- second loot try if rooted after x ms -->

    <!-- Auto selling options when used with player:merchant -->
    <option name="INV_AUTOSELL_ENABLE"        value="true" />         <!-- true | false -->
    <option name="INV_AUTOSELL_FROMSLOT"      value="1" />            <!-- 1 = bag 1 slot 1 -->
    <option name="INV_AUTOSELL_TOSLOT"        value="90" />          <!-- 30 = last slot bag 1 -->
    <option name="INV_AUTOSELL_QUALITY"       value="white,green,blue,purple" />  <!-- 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" />        <!-- Set to true if you want to craft with your pet. Default: false -->
    <option name="EGGPET_CRAFT_SLOT"          value="1" />            <!-- The pet slot to use if pet crafting is enabled. Default: nil -->
    <option name="EGGPET_ENABLE_ASSIST"       value="false" />        <!-- Set to true if you want to summon your pet to assist you. Default: false -->
    <option name="EGGPET_ASSIST_SLOT"         value="1" />            <!-- The pet slot to use if pet assist is enabled. Default: nil -->
    <option name="EGGPET_CRAFT_RATIO"         value="1:1:1" />        <!-- mining:woodworking:herbalism ratio to produce. -->
    <option name="EGGPET_CRAFT_INDEXES"       value="" />             <!-- By default your pet will craft the highest materials possible. Use this option if you want it to craft lower level materials from the dropdown list. You can specify values for any or all material types. eg. "2,3,nil" will create level 2 ore, level 3 wood and the highest level herbs. If this option is used, all three values must be included, using 'nil' for the values you don't want to change. Default: Highest values -->

    <!-- Log out and resurrect settings -->
    <option name="LOGOUT_TIME"                value="0" />            <!-- Log out after this amount of time (in minutes). A value of 0 means you will not use this setting. Default: 0 -->
    <option name="LOGOUT_SHUTDOWN"            value="false" />        <!-- If you want to have the computer automatically shutdown after automatically logging out. Default: false -->
    <option name="LOGOUT_WHEN_STUCK"          value="true" />         <!-- If your character gets stuck and cannot unstuck himself, you can use this option to have him log off. Default: true -->
    <option name="CLOSE_WHEN_STUCK"           value="true" />     
    <option name="RES_AFTER_DEATH"            value="true" />         <!-- automatic resurrect after death -->
    <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="HEALER_FIGHT"           value="true" -->        <!-- For party bot if you want healer to also fight -->

    <!-- pvp -->
    <!-- option name="PVP"                    value="true" -->        <!-- To enable PVP, with this set to true it will auto attack any players with red names -->
    
    <!-- Dismount or not when casting skills -->
    <option name="DISMOUNT"                   value="true" />         <!-- if true then it will use skills while mounted  -->

  </options>

  <!-- 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         -->
  <friends>
    <friend name="Fass" />
    <friend name="MyOtherCharacter2" />
    <friend name="Elite_Mob_Name1" />
    <friend name="Elite_Mob_Name2" />
  </friends>

  <!-- names of mobs we want to attack              -->
  <!-- if no names defined we will attack all mobs  -->
  <mobs>
    <mob name="" />
    <mob name="" />
    <mob name="" />
  </mobs>

  <!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
  <hotkeys>
    <hotkey name="MACRO" key="VK_0" />
  </hotkeys>

  <!-- define your skills depending from your actual primary class -->
  <!-- For more skills to use see /database/skills.xml             -->
  <!-- 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_FROST_SCARS"            hotkey="MACRO" priority="90" />
    <skill name="PRIEST_BONE_CHILL"             hotkey="MACRO" priority="85" />
    <skill name="PRIEST_CHAIN_OF_LIGHT"         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" />
  </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_PREMEDITATION"           hotkey="MACRO" priority="100" inbattle="false" />
    <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_UNKNOWN_CHOICE"          hotkey="MACRO" priority="75" targethp="!200000" />
    <skill name="ROGUE_INFORMER"                hotkey="MACRO" priority="70" targethp="!200000" />
    <skill name="ROGUE_FERVENT_ATTACK"          hotkey="MACRO" priority="65" targethp="!200000" />
    <skill name="ROGUE_EVASION"                 hotkey="MACRO" priority="60" targethp="!200000" />
    <skill name="ROGUE_ASSASSINS_RAGE"          hotkey="MACRO" priority="55" targethp="!200000" />
    <skill name="ROGUE_WOUND_ATTACK"            hotkey="MACRO" priority="80" />
    <skill name="ROGUE_YAWAKAS_BLESSING"        hotkey="MACRO" priority="20" />
  </skills_rogue>

  <skills_mage>
    <skill name="DRUID_RECOVER"                 hotkey="MACRO" priority="100" hpper="30" />
    <skill name="MAGE_PURGATORY_FIRE" 		      hotkey="MACRO" priority="90" targethp="50000" />
    <skill name="MAGE_FLAME"                    hotkey="MACRO" priority="80" targethp="!50000" />
    <skill name="MAGE_MAGMA_BLADE"          	  hotkey="MACRO" priority="80" />
    <skill name="MAGE_FIREBALL"          	      hotkey="MACRO" priority="75" />
    
    <skill name="MAGE_LIGHTNING"                hotkey="MACRO" priority="70" />
    <skill name="DRUID_EARTH_PULSE"             hotkey="MACRO" priority="60" />
    <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" />
    <skill name="MAGE_DISCHARGE" 			          hotkey="MACRO" priority="40" />
    <skill name="MAGE_ELEMENTAL_WEAKNESS" 	    hotkey="MACRO" priority="40" inbattle="true" />
  </skills_mage>

  <skills_knight>
    <skill name="KNIGHT_CHARGE"                 hotkey="MACRO" priority="120" />
    <skill name="KNIGHT_SHIELD_OF_ATONEMENT"    hotkey="MACRO" priority="110" />
    <skill name="KNIGHT_ARCHING_CHOP"           hotkey="MACRO" priority="100" />
    <skill name="KNIGHT_DANCE_OF_TWO_BLADES"    hotkey="MACRO" priority="90" />
    <skill name="KNIGHT_WHIRLWIND_SHIELD"       hotkey="MACRO" priority="85" />
    <skill name="KNIGHT_FLAWLESS_SCARLET_SWORD" hotkey="MACRO" priority="80" />
    <skill name="ROGUE_SHADOWSTAB"              hotkey="MACRO" priority="70" />
    <skill name="KNIGHT_HOLY_STRIKE"            hotkey="MACRO" priority="60" />
    <skill name="KNIGHT_HOLY_SHIELD"            hotkey="MACRO" priority="50" inbattle="true" hpper="15" />
    <skill name="KNIGHT_HOLY_SEAL"              hotkey="MACRO" priority="40" />
    <skill name="KNIGHT_PUNISHMENT"             hotkey="MACRO" priority="30" />
    <skill name="KNIGHT_ENHANCED_ARMOR"         hotkey="MACRO" priority="20" />
    <skill name="KNIGHT_MANA_RETURN"            hotkey="MACRO" priority="10" />
    <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_MOTHER_NATURES_WRATH"    hotkey="MACRO" priority="80" />
    <skill name="MAGE_FIREBALL"                 hotkey="MACRO" priority="70" />
    <skill name="DRUID_EARTH_PULSE"             hotkey="MACRO" priority="60" />
    <skill name="MAGE_LIGHTNING"                hotkey="MACRO" priority="55" />
    <skill name="DRUID_EARTH_ARROW"             hotkey="MACRO" priority="50" />
    <skill name="DRUID_BRIAR_ENTWINEMENT"       hotkey="MACRO" priority="45" />
    <skill name="DRUID_ROCKSLIDE"               hotkey="MACRO" priority="40" />
  </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>
I had added some skills

Code: Select all

<!-- Itemset skills -->
<skill name="KNIGHT_ARCHING_CHOP" id="496108" range="80" mana="250" cooldown="20" type="damage" target="enemy" />
<skill name="KNIGHT_FLAWLESS_SCARLET_SWORD" id="495564" range="50" mana="250" cooldown="4" type="damage" target="enemy" />

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#233 Post by rock5 » Fri Sep 07, 2012 5:14 am

I've already tested adding the following to the end of survivalR5onload and it fixed it for me.

Code: Select all

settings.profile.options.COMBAT_STOP_DISTANCE = settings.profile.options.COMBAT_DISTANCE
See if that will fix it for your mage. I'm not sure why you are having issues with your knight.

And make sure you are using version 2.61. I don't think 2.60 ever worked properly.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

wilifox
Posts: 86
Joined: Tue Jul 26, 2011 6:00 pm

Re: Malatina's survival

#234 Post by wilifox » Sat Sep 08, 2012 3:20 am

- Point 2 swimhack activate after not moving
- No target mobs
- Version malatinas 2.61

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="0" />			<!-- set to "0" if not required to buy -->
		<option name="ARROW_QUIVER" 		value="0" /> 			<!-- set to "0" if not required to buy -->
		<option name="THROWN_BAG" 			value="0" />			<!-- set to "0" if not required to buy -->
		<option name="POISON" 				value="0" />			<!-- set to "0" if not required to buy -->

		<!-- either false or arrow or thrown -->
		<option name="RELOAD_AMMUNITION" 	value="arrow" />		<!-- false|arrow|thrown -->

		<!-- Combat options -->
		<option name="COMBAT_TYPE"        	value="" />				<!-- 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="false" />
		<option name="MAX_TARGET_DIST"    	value="225" />

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="10" />
		<option name="TARGET_LEVELDIF_BELOW" value="70" />

		<!-- 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="true" />  		<!-- 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="true" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" value="6" /> 			<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"	value="150" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green,blue,purple" /> 	<!-- 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="HEALER_FIGHT"		value="true" /> --> 	<!-- For party bot if you want healer to also fight -->

		<!-- pvp -->
		<!--option name="PVP"			value="true" /> --> 		<!-- To enable PVP, with this set to true it will auto attack any players with red names -->
			
		<!-- 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="100" />
		<skill name="WARDEN_ENERGY_ABSORB"	  			hotkey="MACRO" priority="80" inbattle="true" hpper="25" />
		<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK"	hotkey="MACRO" priority="90" />
		<skill name="WARDEN_SUMMON_NATURE_CRYSTAL"	  	hotkey="MACRO" priority="90" autouse="false" />
		<skill name="WARDEN_SUMMON_OAK_WALKER"	  		hotkey="MACRO" priority="90" autouse="false" />
		<skill name="WARDEN_BRIAR_SHIELD"	  			hotkey="MACRO" priority="90" />
		<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT"	hotkey="MACRO" priority="100" />
		<skill name="WARDEN_SAVAGE_POWER"				hotkey="MACRO" priority="90" />
		<skill name="WARDEN_POWER_OF_THE_OAK" 			hotkey="MACRO" priority="90" />
		<skill name="WARDEN_ELVEN_PRAYER" 				hotkey="MACRO" priority="90" />
	</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[
 	
	   target = player:getTarget();
 	   if target ~= nil then
 		   if target.Name == "Lytfir" then
     			  _used = false;
   			 if( 50 > target.HP/target.MaxHP*100 and _used ~= true) then
     				  inventory:useItem(205836);
       				   _used = true
       			 end
     	 	   end
   	   end

       ]]></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>

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#235 Post by rock5 » Sat Sep 08, 2012 4:14 am

So are you saying it flys, teleports to the first positions, prints "Clearing trash...", doesn't target the mobs and then freezes?

The only thing I can think of is if it is having trouble reading values from memory. Is the bot the right version for the version of your games? Do other normal scripts work? Are all the file icons green, are there any red or yellow icons?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

evilband7
Posts: 15
Joined: Thu Aug 18, 2011 10:39 am

Re: Malatina's survival

#236 Post by evilband7 » Sat Sep 08, 2012 5:51 am

problem is your combat distance. set it to 50 and your bot will work fine.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#237 Post by rock5 » Sat Sep 08, 2012 5:59 am

evilband7 wrote:problem is your combat distance. set it to 50 and your bot will work fine.
Why would that cause a problem?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

evilband7
Posts: 15
Joined: Thu Aug 18, 2011 10:39 am

Re: Malatina's survival

#238 Post by evilband7 » Sat Sep 08, 2012 10:27 am

rock5 wrote:
evilband7 wrote:problem is your combat distance. set it to 50 and your bot will work fine.
Why would that cause a problem?
this trouble occurred to me too when get the last update. bot try to get closed to mobs as a combat distance i configured. then it seem bot didn't stop flying when closed enough and flew through mobs. then flew through mobs again and again like a crazy bot and finally it flew away.

so recommended combat distance is 50 and malatina survival script will work fine.

that's all i know.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Malatina's survival

#239 Post by rock5 » Sat Sep 08, 2012 10:31 am

Ah, that would be becaue you are using the new option COMBAT_STOP_DISTANCE in your profile, yes?

Also the description of your problem was nothing like what Wilifox was reporting.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

wulf
Posts: 22
Joined: Sat Sep 01, 2012 5:43 am

Re: Malatina's survival

#240 Post by wulf » Sun Sep 09, 2012 7:36 pm

rock5 wrote:Ah, that would be becaue you are using the new option COMBAT_STOP_DISTANCE in your profile, yes?
no, its something with the attackdistance in your script i think. I have set COMBAT_STOP_DISTANCE to COMBAT_DISTANCE at the end of the lua-file.
with my mage and profile with a combat distance of 30 he faild. wiht a userdefault profile and a a combat distance of 200 and no aoe-skills he kill all the mobs.
A third character with a combat distance of 25 and no aoe-skill can also kill all mobs.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests