Page 1 of 2

DoD Firts Boss and Full runs "Mage"

Posted: Fri Jan 27, 2012 11:54 pm
by Reymauro
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 564 times
DoD Firts Boss.zip
(2.11 KiB) Downloaded 330 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 335 times
DoDFull.zip
(3.54 KiB) Downloaded 216 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 307 times

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sat Jan 28, 2012 5:32 am
by Xmen
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

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sat Jan 28, 2012 12:09 pm
by Reymauro
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.

Re: DoD Firts Boss and Full runs "Mage"

Posted: Mon Jan 30, 2012 12:58 am
by rubenr
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.

Re: DoD Firts Boss and Full runs "Mage"

Posted: Thu Feb 02, 2012 12:58 pm
by revolver
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>

Re: DoD Firts Boss and Full runs "Mage"

Posted: Thu Feb 02, 2012 1:30 pm
by rock5

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.

Re: DoD Firts Boss and Full runs "Mage"

Posted: Thu Feb 02, 2012 8:59 pm
by Reymauro
Thanks rock5

@revolver rock5's cathcavy function

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

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sun Feb 19, 2012 5:27 am
by sorry
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?

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sun Feb 19, 2012 6:05 am
by rock5
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

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sun Feb 19, 2012 7:37 pm
by sorry
Thank you very much :)

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sat Mar 10, 2012 3:42 am
by harbifm
just want to know what is well geard mean HP , MD , Def

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

Re: DoD Firts Boss and Full runs "Mage"

Posted: Tue May 29, 2012 1:55 pm
by revolver
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>

Re: DoD Firts Boss and Full runs "Mage"

Posted: Mon Jun 18, 2012 9:09 am
by harbifm
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.

Re: DoD Firts Boss and Full runs "Mage"

Posted: Wed Jun 27, 2012 8:44 pm
by do002
HI why do i keep getting an error " Message: not well-formed <invalid-token>" when i try running dod.xml

Re: DoD Firts Boss and Full runs "Mage"

Posted: Thu Jun 28, 2012 1:17 am
by rock5
That error usually means a 'less than' sign '<' was used somewhere. Did you add some code or change something?

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sat Jun 30, 2012 4:49 pm
by AngelDrago
I like this one but what lvl need the mage to be and how much hp should he have?

thx

Re: DoD Firts Boss and Full runs "Mage"

Posted: Tue Jul 03, 2012 1:11 pm
by Tamyra
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?

Re: DoD Firts Boss and Full runs "Mage"

Posted: Tue Jul 03, 2012 1:50 pm
by rock5

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sun Jul 22, 2012 4:48 pm
by Azbi
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?

Re: DoD Firts Boss and Full runs "Mage"

Posted: Sun Jul 22, 2012 4:54 pm
by Ego95
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);");