DoD Firts Boss and Full runs "Mage"

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
Reymauro
Posts: 54
Joined: Wed Apr 27, 2011 1:01 pm

DoD Firts Boss and Full runs "Mage"

#1 Post by Reymauro » Fri Jan 27, 2012 11:54 pm

I know that there are other files in here for this, but why not share.

and please you need to keep in mind that this is for a a little bit well geared mage ;) no leaps

Here are my DoD waypoints for first Boss, almost 5 1/2 min run
DoD Firts Boss V1.4.zip
DoD First boss 5 min run waits for cooldown and starts
(6.16 KiB) Downloaded 625 times
DoD Firts Boss.zip
(2.11 KiB) Downloaded 372 times
Full DoD something around 30min runs I was a little bit more safe to stay inside for 30 min than going out every 5 min
DoDFull V1.1.zip
whit the minor corrections
(3.55 KiB) Downloaded 390 times
DoDFull.zip
(3.54 KiB) Downloaded 267 times
DoD easy mode you can use the WP for selling and return from the DoD v1.2 folder just don forget to change the loadPaths("DoD/DoD") for loadPaths("DoD/DoDEZ")
DoDEZ.xml
Easy Mode 1 1/2 to 2 min runs
(3.87 KiB) Downloaded 357 times
Last edited by Reymauro on Thu Feb 02, 2012 9:53 pm, edited 7 times in total.

Xmen
Posts: 45
Joined: Thu Jan 19, 2012 10:18 am

Re: DoD Firts Boss and Full runs "Mage"

#2 Post by Xmen » Sat Jan 28, 2012 5:32 am

Hello,
I have only flown over and i am a little bit confused.

1. You try to load the files do not exist or are already loaded

in the file "DoD.xml" the already loaded file loaded yet again. thiss is not required

Code: Select all

 load path ("DoD / DoD")
in the file "DoD_return.xml" will attempt to load a nonexistent file

Code: Select all

load path ("DoD/DoD_2")
in the file "DoDs.xml" the already loaded file loaded yet again. thiss is not required

Code: Select all

load path ("DoD / DoDs")

2. Should your character die once, and must accept the return path, it will unfortunately never get properly
DoD_return.xml
<!-- # 6 --><waypoint x="70" z="-867" y="870">
yrest(2000);
player:target_NPC("Jake Wallanda");
sendMacro("ChoiceOption(1);");
yrest(2000);

</waypoint>
you not need to wait load screen a this point ???

after you need to load DoD or DoDs

Code: Select all

<!-- #  7 --><waypoint x="1640" z="-4873" y="752">  

	yrest(2000);
	loadPaths("DoD/DoD_2")
	
	</waypoint>
on the DoD.xml I got the headache :lol:
only a small extract

Code: Select all

	<!-- #  5 --><waypoint x="1933" z="2834" y="433">	
	
	yrest(500)
	player:findTarget("Incomplete Bloody Beast");
	local target = player:getTarget();

	player:cast("MAGE_FLAME");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:findTarget("Incomplete Bloody Beast");
	local target = player:getTarget();
	player:cast("MAGE_FLAME");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:cast("MAGE_FIREBALL");
	player:findTarget("Incomplete Bloody Beast");
	local target = player:getTarget();
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_EXPLOSION");
	player:cast("MAGE_ELECTRIC_BOLT");
	player:cast("MAGE_FIREBALL");

	    player:update()
        player:lootAll();
	
	</waypoint>
I do not understand why you do not produce function
example

Code: Select all

<onLoad>
function trash_mob()
	local target = player:getTarget()
	local _tm = false
	local spawn = player:findNearestNameOrId(Incomplete Bloody Beast)
	if spawn then
		player:target(spawn)
		if target.HP > 0 then
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_BOLT");
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_EXPLOSION");
			player:cast("MAGE_ELECTRIC_BOLT");
			player:cast("MAGE_FIREBALL");
			_tm = false
		else
			_tm = true
		end
	else
		_tm = true
	end
	return _tm
end
</onLoad>
...
<!-- #  5 --><waypoint x="1933" z="2834" y="433">
repeat
until trash_mob() == true 
player:update()
player:lootAll();
...
so now, I have no more time. I am look at the detail later
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

User avatar
Reymauro
Posts: 54
Joined: Wed Apr 27, 2011 1:01 pm

Re: DoD Firts Boss and Full runs "Mage"

#3 Post by Reymauro » Sat Jan 28, 2012 12:09 pm

I forgot that I'm trying to play in the mayor leagues here :) :oops: :roll:

I need to explain that I am more like a power user I search for what I need implemented it and tweak it until it works find fore me I have no idea on how to make a function or any other mayor code :), I am sharing what I've made so anyone can have a good start and no worries I am in no way offended by any remarks, I know that that I am a big NOOB :lol: .

Everything in the way point has a reason I know that I could have made it different but once is working fine why change it. I share it so we can all tweak it and make it better.

all the waits an the extra attacks they are more to make the bot wait for the cooldowns to be finish we have that special buff that takes 5 min to be ready I could have made it fly to almost all boss and wait there for cooldown I guess, but all what the bot loot is gold to.

rubenr
Posts: 49
Joined: Sat Aug 20, 2011 11:26 pm

Re: DoD Firts Boss and Full runs "Mage"

#4 Post by rubenr » Mon Jan 30, 2012 12:58 am

This run is waiting for the 5min skill, right?

It would be much better to do 5 runs in easy mode in those 5 minutes. Problem is my dod waypoint is for 2, and it takes 2 minutes and a few seconds for both of them to do the run.

Could this be improved? I mean, a solo waypoint that takes 50-60 seconds? (Repairing 1 time out of 10 runs?)




PS: sorry for my mistakes, english is not my main.

revolver
Posts: 26
Joined: Fri Dec 23, 2011 8:05 am

Re: DoD Firts Boss and Full runs "Mage"

#5 Post by revolver » Thu Feb 02, 2012 12:58 pm

when the bot enters the instance after waypoint 3 it doesnt attack the target and micromacro terminates saying :"Desktop/micromacro/scripts/rom/classes/player.lua:1401:Error in your profile: On LeaveCombat error : [string "..."]:3: attempt to call global "CatchCavy" <a nil value> .... obviously there is a problem in the profile but i put the one that is in the DoD v1.2 iam thinking that the problem is that

Code: Select all

	<skills_mage>
	
		<skill name="MAGE_FIREBALL"             		modifier="" hotkey="MACRO" priority="100" autouse="false"/>
		<skill name="MAGE_ELECTROSTATIC_CHARGE" 		modifier="" hotkey="MACRO" priority="90" autouse="false"/>
		<skill name="MAGE_FLAME"              			modifier="" hotkey="MACRO" priority="100" autouse="false"/>
		<skill name="MAGE_ENERGY_INFLUX"        		modifier="" hotkey="MACRO" priority="70" autouse="false"/>
		<skill name="MAGE_ACTIVATE_MANA"        		modifier="" hotkey="MACRO" priority="70" autouse="false"/>
		<skill name="MAGE_ELEMENTAL_EXPLOSION"        	modifier="" hotkey="MACRO" priority="70" autouse="false" />
		<skill name="MAGE_ELEMENTAL_CATALYST"        	modifier="" hotkey="MACRO" priority="100" autouse="false"/>
		<skill name="MAGE_INTENSIFICATION"        		modifier="" hotkey="MACRO" priority="70" autouse="false"/>
		<skill name="MAGE_ELECTRIC_BOLT"        		modifier="" hotkey="MACRO" priority="70" autouse="false"/>
		<skill name="MAGE_ELECTRIC_EXPLOSION"        	modifier="" hotkey="MACRO" priority="90" autouse="false"/>	
		<skill name="MAGE_PURGATORY_FIRE"        	modifier="" hotkey="MACRO" priority="90" autouse="false"/>		

		</skills_mage>

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

Re: DoD Firts Boss and Full runs "Mage"

#6 Post by rock5 » Thu Feb 02, 2012 1:30 pm

Code: Select all

:Error in your profile: On LeaveCombat error 
I'd say look in the onLeaveCombat section of your profile.

Code: Select all

attempt to call global "CatchCavy" <a nil value>
And see if there is a "CatchCavy()" there.

If so, remove it, or find the CatchCavy userfunction in this forum and install it.
  • 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

User avatar
Reymauro
Posts: 54
Joined: Wed Apr 27, 2011 1:01 pm

Re: DoD Firts Boss and Full runs "Mage"

#7 Post by Reymauro » Thu Feb 02, 2012 8:59 pm

Thanks rock5

@revolver rock5's cathcavy function

http://www.solarstrike.net/phpBB3/viewt ... avy+script

sorry
Posts: 3
Joined: Sun Feb 19, 2012 5:18 am

Re: DoD Firts Boss and Full runs "Mage"

#8 Post by sorry » Sun Feb 19, 2012 5:27 am

Hello. Im have small problem... My char need to use food from memento for magical damage..
Already trying this:

if (not player:hasBuff("506120")) then
inventory:useItem(506120);
and
if (not player:hasBuff("Crispy Chicken Drumstick ")) then
inventory:useItem(Crispy Chicken Drumstick );

but its doesnt work:( can anybody help me with that please?

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

Re: DoD Firts Boss and Full runs "Mage"

#9 Post by rock5 » Sun Feb 19, 2012 6:05 am

The id (and sometimes the name) are different for items in your inventory and the buff.

I think the buff is 506120 but the item id I think is 206878.

So
sorry wrote:if (not player:hasBuff("506120")) then
should work.
sorry wrote:inventory:useItem(506120);
wont work because that is the buff id.
sorry wrote:if (not player:hasBuff("Crispy Chicken Drumstick ")) then
That probably didn't work because of the space at the end.
sorry wrote:inventory:useItem(Crispy Chicken Drumstick );
That didn't work because Crispy Chicken Drumstick is a string so should have quotes around it.

Try this.

Code: Select all

if (not player:hasBuff("506120")) then
inventory:useItem(206878);
end
or

Code: Select all

if (not player:hasBuff("Crispy Chicken Drumstick")) then
inventory:useItem("Crispy Chicken Drumstick" );
end
  • 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

sorry
Posts: 3
Joined: Sun Feb 19, 2012 5:18 am

Re: DoD Firts Boss and Full runs "Mage"

#10 Post by sorry » Sun Feb 19, 2012 7:37 pm

Thank you very much :)

harbifm
Posts: 135
Joined: Wed May 25, 2011 11:43 pm

Re: DoD Firts Boss and Full runs "Mage"

#11 Post by harbifm » Sat Mar 10, 2012 3:42 am

just want to know what is well geard mean HP , MD , Def

I am level 60 and stating gear, wana make sure it works

revolver
Posts: 26
Joined: Fri Dec 23, 2011 8:05 am

Re: DoD Firts Boss and Full runs "Mage"

#12 Post by revolver » Tue May 29, 2012 1:55 pm

I just started running this script and i had a problem....in DoDEZ when my char reaches waypoint 13 he returns instantly back to waypoint 10(i get the message "distance break") and tries to run to waypoint 13 without going to the waypoints in bewteen. Also sometimes it stucks in waypoint 13 trying to go to the loading screen.
edit: Additional error occured...sometimes it goes to waypoint 13 and goes to waypoint 10 again but this time it doesn't try to go to waypoint 13 but it assumes that it is in waypoint 1 ....and it stucks

Code: Select all

<waypoints type="NORMAL">

	-- V 1.2 DoD Firts Boss  --
	-- Many thanks to Rock5, Lisa and Xmen ;) -- 
	
	--Reymauro--
<onLoad>
function vortex()
         keyboardHold(settings.hotkeys.MOVE_FORWARD.key)
         yrest(1000);
         keyboardRelease(settings.hotkeys.MOVE_FORWARD.key)
         waitForLoadingScreen(5)
      end
	  
function trash_mob()
   local target = player:getTarget()
   local _tm = false
   local spawn = player:findNearestNameOrId("Incomplete Bloody Beast")
   if spawn then
      player:target(spawn)
      if target.HP > 0 then
		player:fight()
         _tm = false
      else
         _tm = true
      end
   else
      _tm = true
   end
   return _tm
end

function updateplayer()
	player:update();
	player:clearTarget();
end
	changeProfileOption("AUTO_ELITE_FACTOR", 2500);

</onLoad>
	<!-- #  1 --><waypoint x="1645" z="-4908" y="752">

sendMacro("LeaveParty();");
yrest(200)
player:update();
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("")');
end 
changeProfileSkill("MAGE_FLAME", "AutoUse", true);
changeProfileOption("MAX_FIGHT_TIME", 5);
</waypoint>

	<!-- # 2 --><waypoint x="1686" z="-5152" y="757"> 
	
	player:update();
	vortex()

	</waypoint>	
	<!-- #  3 --><waypoint x="1793" z="2880" y="433">	
	changeProfileOption("MAX_FIGHT_TIME", 5);
	printf("Mementos: %s\n", inventory:getItemCount(206879) );
	useGoodie("speed");
	useGoodie("luck");
	useGoodie("casting");
	yrest(500);
	updateplayer()
	player:lootAll();
	
	</waypoint>
	<!-- #  4 --><waypoint x="1854" z="2891" y="433">	</waypoint>
	<!-- #  5 --><waypoint x="1933" z="2834" y="433">	</waypoint>
	<!-- # 7 --><waypoint x="1930" z="2863" y="433">  </waypoint>
	<!-- # 8 --><waypoint x="2113" z="2615" y="432"> 
	changeProfileSkill("MAGE_FLAME", "AutoUse", false);
	changeProfileOption("MAX_FIGHT_TIME", 1);
	</waypoint>
	<!-- # 9 --><waypoint x="2241" z="2458" y="401">
	if (not player:hasBuff("Crispy Chicken Drumstick")) then
inventory:useItem("Crispy Chicken Drumstick" );
end
if (not player:hasBuff("Grassland Mix")) then
inventory:useItem("Grassland Mix" );
end

					
	yrest(12000) <!-- Time to wait for Cooldowns in front of boss set for three minutes -->
	useGoodie("defense");
	yrest(4500)
	player:update(); 
	player:findTarget("Okander \"Mad Man\" Mallen");
	local target = player:getTarget();

    if target and target.Name == "Okander \"Mad Man\" Mallen" then
	player:update(); 
	keyboardPress( key.VK_8 ); <!-- In game Slot where I put my Guitar -->
	keyboardPress( key.VK_7 );
	yrest(500)
    player:cast("MAGE_ENERGY_INFLUX");
    player:cast("MAGE_ELECTROSTATIC_CHARGE");
	yrest(500)
    player:cast("MAGE_ELEMENTAL_CATALYST");
    player:cast("MAGE_INTENSIFICATION");
	yrest(500)
	keyboardPress( key.VK_0 ); <!-- In game Slot where I put my Fire training skill -->
	yrest(500)

         player:cast("MAGE_DEMORALIZE");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
        player:cast("MAGE_DISTRACT");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
         player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	player:cast("MAGE_FLAME");
	end 
player:lootAll();
	speed(75)

</waypoint>
	<!-- # 10 --><waypoint x="2207" z="2498" y="401"> </waypoint>
	<!-- # 11 --><waypoint x="2081" z="2661" y="434"> </waypoint>
	<!-- # 12 --><waypoint x="1897" z="2873" y="433"> </waypoint>
	<!-- # 13 --><waypoint x="1786" z="2890" y="433"> </waypoint>
	<!-- # 14 --><waypoint x="1699" z="2888" y="433">

	updateplayer()
	vortex()
	
	yrest(1000);
	player:update();
	if inventory:itemTotalCount(0) == 0 then
	printf ("Bag Is Full Selling.")
	loadPaths("DoDS")
	else
	printf ("Bag Not Full Continuing Farming.")
	end
	
	</waypoint>
</waypoints>

harbifm
Posts: 135
Joined: Wed May 25, 2011 11:43 pm

Re: DoD Firts Boss and Full runs "Mage"

#13 Post by harbifm » Mon Jun 18, 2012 9:09 am

it works fine 90% (the DODEZ i am trying now)

the problem I have when it engage Okando, it does not cast the buffs, neither the VK (i put my guitar the same place) so they for some reason do not work for me.

but then it engages the boss but it says aggro time out and break casting of falme and cast fire balls or other instant casts !! that was easly over come by turning the Flame auto cast to true. but still the buffs not working...and I must say I need the buffs @@

for some reason player cast does not work for me.

do002
Posts: 58
Joined: Tue Jan 04, 2011 8:18 pm

Re: DoD Firts Boss and Full runs "Mage"

#14 Post by do002 » Wed Jun 27, 2012 8:44 pm

HI why do i keep getting an error " Message: not well-formed <invalid-token>" when i try running dod.xml

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

Re: DoD Firts Boss and Full runs "Mage"

#15 Post by rock5 » Thu Jun 28, 2012 1:17 am

That error usually means a 'less than' sign '<' was used somewhere. Did you add some code or change something?
  • 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

AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

Re: DoD Firts Boss and Full runs "Mage"

#16 Post by AngelDrago » Sat Jun 30, 2012 4:49 pm

I like this one but what lvl need the mage to be and how much hp should he have?

thx

Tamyra
Posts: 133
Joined: Tue Feb 01, 2011 6:09 pm

Re: DoD Firts Boss and Full runs "Mage"

#17 Post by Tamyra » Tue Jul 03, 2012 1:11 pm

Okay, I have a question, I was going to try one of these, but I want to be sure skills like Elemental Catalysis and Electrostatic Charge as well as mdmg food are only used right before specific boss fights and not against the trash mobs. Is there a way to make sure the bot doesn't use those items/skills unless it sees the specific bosses? Also, I found that I can manually run the full instance without re-setting if I swap back and forth from easy to normal mode. ie: run the full thing on easy, then change difficulty and run the whole thing on normal. Is there a way to change the difficulty of an instance using the bot?

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

Re: DoD Firts Boss and Full runs "Mage"

#18 Post by rock5 » Tue Jul 03, 2012 1:50 pm

  • 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

Azbi
Posts: 8
Joined: Sat Mar 24, 2012 9:22 pm

Re: DoD Firts Boss and Full runs "Mage"

#19 Post by Azbi » Sun Jul 22, 2012 4:48 pm

Hi, is someone know how to click yes after killing last boss on dod? Now when you go into portal, before you out you must confirm that. Anyone got code 4 that?

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: DoD Firts Boss and Full runs "Mage"

#20 Post by Ego95 » Sun Jul 22, 2012 4:54 pm

Hi, is someone know how to click yes after killing last boss on dod? Now when you go into portal, before you out you must confirm that. Anyone got code 4 that?
Does this work?

Code: Select all

RoMScript("StaticPopup_OnClick(StaticPopup1, 1);");

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest