DoD First Boss spam solo and party, full DoD now too

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
rage447
Posts: 18
Joined: Thu Dec 22, 2011 9:56 am

Re: DoD First Boss spam solo and party, full DoD now too

#61 Post by rage447 » Mon Sep 24, 2012 2:35 pm

Hi =)


Somethimes I have the problem that my char only wants to loot instead of attacking the boss.
Does anybody has the same problem or any solution ?

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

Re: DoD First Boss spam solo and party, full DoD now too

#62 Post by harbifm » Mon Sep 24, 2012 11:41 pm

lisa wrote:
harbifm wrote:i tried the dodleadertele and I got this error, how I can resolve it!!?
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2924
fixed that, still having the trouple of when Okandor jump, character does not run away

had to use lisa code i the onload section

still sometimes he mess up and die

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: DoD First Boss spam solo and party, full DoD now too

#63 Post by kuripot » Tue Sep 25, 2012 3:57 am


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

Re: DoD First Boss spam solo and party, full DoD now too

#64 Post by harbifm » Tue Sep 25, 2012 5:36 am

kuripot wrote:you use Madman addon by lisa??
http://www.solarstrike.net/phpBB3/viewt ... 098#p26098
yep, still work 7-8 times than fail to run away

i would say this is a high falier rate

brujilla
Posts: 46
Joined: Fri Jun 17, 2011 4:56 am

Re: DoD First Boss spam solo and party, full DoD now too

#65 Post by brujilla » Thu Oct 04, 2012 6:40 am

I have a problem, i use one script that post here but when i follow only write
Waiting for leader..
waiting for leader...
but do nothing
what happend? something that not haver , userfunction?
my leader its santurron, see waipoint
Attachments
DoD_Follower.xml
(6.84 KiB) Downloaded 171 times

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: DoD First Boss spam solo and party, full DoD now too

#66 Post by lisa » Thu Oct 04, 2012 10:33 am

brujilla wrote:I have a problem, i use one script that post here but when i follow only write
Waiting for leader..
waiting for leader...
but do nothing
what happend? something that not haver , userfunction?
my leader its santurron, see waipoint
If you didn't have a function required it would error and stop working and saying calling **** nil.

If it is waiting for the leader then it is saying it is waiting for another party member, I guess.

So could be 1 of a few things, I guess.
1: no party member there to check
2: party member not in range
3: party member is in range but the addresses are wrong.

solutions
1: use a different script or change a user option which may or may not exist in the script.
2: work out why the other party member isn't where it should be.
3: run "rom/update"
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

brujilla
Posts: 46
Joined: Fri Jun 17, 2011 4:56 am

Re: DoD First Boss spam solo and party, full DoD now too

#67 Post by brujilla » Thu Oct 04, 2012 12:10 pm

thx lisa i revise this

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: DoD First Boss spam solo and party, full DoD now too

#68 Post by noobbotter » Sat Oct 06, 2012 9:13 pm

I have a quick question. I tried using this (along with the madman addon). I used this as a party leader where the other party member is in house and does not participate. Everything works fines through accepting party, entering and getting to Madman Okander. The first time I ran it, my character just stood there and never did anything. I think that had to do with my range settings in profile. Didn't think about adjusting that prior tomaking a slight adjustment to the last waypoint prior to stopping to battle Okander. I made it go just a little closer to him. Well, after that change it went in fine, saw okander, started battling, but when he jumped, my character ran one direction for about 2 seconds and then turned around and ran back just in time to get smashed directly under Okander. I didn't try it again because I didn't want another death on my hands. Is this running two directions something that is common, or would my changing of that one waypoint something that would screw up the function of running away when he jumps?

Another thought I had is, would it be possible to, instead of running when Okander jumps, to teleport out of the way? You could move a lot quicker that way. Has anyone tried that? Thanks.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: DoD First Boss spam solo and party, full DoD now too

#69 Post by lisa » Sat Oct 06, 2012 9:37 pm

if you go back to the topic where you got the madman addon you will see a few posts about an adition to profile, to stop the bot from turning back to attack madman when it should be running away.

Find that code and use it, all will be good.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: DoD First Boss spam solo and party, full DoD now too

#70 Post by noobbotter » Sat Oct 06, 2012 9:51 pm

I'm sorry. I had just come across that information and was coming back to edit my post and saw that you already replied. Thanks. I'll edit the profile and try again.

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

Re: DoD First Boss spam solo and party, full DoD now too

#71 Post by Ego95 » Mon Oct 29, 2012 12:09 pm

I really love this waypoint, but I don't get the bot to sell anything. It opens the NPC window clicks 2 or three times on the Repair button, closes the window and tries it again. Any other people have this problem too? Of course the autosell is enabled and the slots were set to 120-180.

dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: DoD First Boss spam solo and party, full DoD now too

#72 Post by dr-nuker » Tue Oct 30, 2012 7:37 am

AlterEgo95 wrote:I really love this waypoint, but I don't get the bot to sell anything. It opens the NPC window clicks 2 or three times on the Repair button, closes the window and tries it again. Any other people have this problem too? Of course the autosell is enabled and the slots were set to 120-180.

Maybe you are still full because you have not set the properties in your profile correctly.
there is one option that configures which items to sell and how many stats the items may have up to which number the bot sells them.
I think default is "2" but in dod easy you get purples with 3 stats. So it wont sell even if you allowed selling of purples...

Code: Select all

<option name="INV_AUTOSELL_NOSELL_STATSNUMBER"	value="4" />
should do the trick if that is the problem...

just my two cents.

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

Re: DoD First Boss spam solo and party, full DoD now too

#73 Post by Ego95 » Tue Oct 30, 2012 8:21 am

Maybe you are still full because you have not set the properties in your profile correctly.
there is one option that configures which items to sell and how many stats the items may have up to which number the bot sells them.
I think default is "2" but in dod easy you get purples with 3 stats. So it wont sell even if you allowed selling of purples...
Hm I've added this option to my proflile. But it shouldn't work because I only bot DoD normal fullruns and he doesn't sell the white stuff, Runes etc either.

These are my profile options:

Code: Select all

		<!-- Auto selling options when used with player:merchant -->
		<option name="INV_AUTOSELL_ENABLE"	value="true" />		<!-- true | false -->
		<option name="INV_AUTOSELL_FROMSLOT" value="113" /> 			<!-- 1 = bag 1 slot 1 -->
		<option name="INV_AUTOSELL_TOSLOT"	value="164" /> 			<!-- 30 = last slot bag 1 -->
		<option name="INV_AUTOSELL_QUALITY"	value="white,green,blue,purple" /> 	<!-- white,green,blue,purple  -->
		<option name="INV_AUTOSELL_IGNORE"	value="Widerstandskraft IV, Unermüdlichkeit IV, Magie IV, Lebenskraft IV, Schlagkraft IV, Schnelligkeit IV" />
		<option name="INV_AUTOSELL_NOSELL_STATSNUMBER"   value="2" />
And these are the options in my script:

Code: Select all

	changeProfileOption("INV_AUTOSELL_ENABLE", "true")
	changeProfileOption("INV_AUTOSELL_FROMSLOT", "111")
	changeProfileOption("INV_AUTOSELL_TOSLOT", "164")
	changeProfileOption("INV_AUTOSELL_QUALITY", "white,green,blue,purple")
	changeProfileOption("INV_AUTOSELL_IGNORE", "Widerstandskraft IV, Unermüdlichkeit IV, Magie IV, Lebenskraft IV, Schlagkraft IV, Schnelligkeit IV")
	changeProfileOption("INV_AUTOSELL_NOSELL_STATSNUMBER", "4")
How does your profile and script look like?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: DoD First Boss spam solo and party, full DoD now too

#74 Post by lisa » Tue Oct 30, 2012 9:51 am

Code: Select all

   changeProfileOption("INV_AUTOSELL_ENABLE", true)
   changeProfileOption("INV_AUTOSELL_FROMSLOT", 111)
   changeProfileOption("INV_AUTOSELL_TOSLOT", 164)
   changeProfileOption("INV_AUTOSELL_NOSELL_STATSNUMBER", 4)
for those get rid of the " "
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: DoD First Boss spam solo and party, full DoD now too

#75 Post by Ego95 » Tue Oct 30, 2012 2:09 pm

WOW :O
Thanks lisa, I've just tried it. I thought it would sell like in my older DoD script (it clicked on every item as fast as you would do it on your own). It sold two bags in one second :D
Great

Code: Select all

<option name="INV_AUTOSELL_IGNORE"   value="xxx,xxxx,xxxx,xxx" />
has to be in strings to ignore it? or do I have to delete these strings, too?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: DoD First Boss spam solo and party, full DoD now too

#76 Post by lisa » Tue Oct 30, 2012 4:21 pm

In the profile they are all strings because it is written in .xml format

Code: Select all

<option name="INV_AUTOSELL_ENABLE"   value="true" />
In the function it is written in .lua and so in the function numbers and boolean are not strings.
i.e. true/false/10/212/7

Code: Select all

changeProfileOption("INV_AUTOSELL_ENABLE", true)
Strings still need to be strings, I won't go into much more detail than that as it will probably just confuse you.

So in profile they all need " ", when using the changeProfileOption function only the strings need " ", numbers and boolean don't have " ".
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: DoD First Boss spam solo and party, full DoD now too

#77 Post by rock5 » Tue Oct 30, 2012 11:34 pm

I might add that the reason they are different is because when the xml file is loaded, values are converted. So in the xml file you always use strings because the xml reader expects strings but when the file is loaded it converts numbers to numbers and booleans to booleans.
  • 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
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: DoD First Boss spam solo and party, full DoD now too

#78 Post by Ego95 » Wed Oct 31, 2012 2:22 am

Lol -.-
Now my script doesn't work anymore and I don't know why. I get an error in the onLoad event: 8:15am - ... Bot/micromacro/scripts/rom/classes/waypointlist.lua:83
I've tried everything. I copied the whole onLoad of the original script postet in this topic but the script doesn't work anymore. And before you ask: Yes I've done everyting in your signature lisa :D

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<onLoad><![CDATA[
	DOD_SOLO = true
	DOD_SOLO_JOIN_NAME = "xxx"
	DOD_PARTY_MEMBERS = {"xxx","xxx"}
	
	if not DOD_SOLO then
		SlashCommand("ILG on")
	end
	
	changeProfileOption("AUTO_ELITE_FACTOR", 1000)
	changeProfileOption("LOOT",false) -- turn looting off, loot will be performed with custom function in waypoint
	changeProfileOption("LOOT_IN_COMBAT",false)
	changeProfileOption("MAX_TARGET_DIST",180)
	changeProfileOption("RES_AUTOMATIC_AFTER_DEATH",false) -- res won't work well without adding some kind of party position tracking
	changeProfileOption("ANTI_KS",false) -- we want everyone to fight, not just the first one to get aggro
	changeProfileOption("INV_AUTOSELL_ENABLE", true)
	changeProfileOption("INV_AUTOSELL_FROMSLOT", 130)
	changeProfileOption("INV_AUTOSELL_TOSLOT", 163)
	changeProfileOption("INV_AUTOSELL_QUALITY", white, green, blue, purple)
	changeProfileOption("INV_AUTOSELL_IGNORE", Widerstandskraft IV, Unermüdlichkeit IV, Magie IV, Lebenskraft IV, Schlagkraft IV, Schnelligkeit IV)
	changeProfileOption("EGGPET_ENABLE_ASSIST", true)
	
	settings.profile.friends = {"Hand","Ratte"} -- do not engage these mobs, we will fly over them
	
	function autoInvite()
		if DOD_SOLO then
			while ( RoMScript("GetNumPartyMembers()") > 1 ) do
				RoMScript("LeaveParty()")
				yrest(2000)
			end
			for i = 1, 3 do
				if( RoMScript("GetNumPartyMembers()") < 2 ) then
					RoMScript("InviteByName('"..DOD_SOLO_JOIN_NAME.."')")
					printf("Waiting for party join...\n")
				end
				yrest(2000)
				if RoMScript("GetNumPartyMembers()") > 1 then
					break
				end
				if i == 3 then
					error("Party join failed!",0)
				end
			end
		else
			while RoMScript("GetNumPartyMembers()") > 1 do
				SlashCommand("ILG destroy")
				cprintf(cli.yellow,"ILG destroy\n")
				yrest(2000)
			end
			SlashCommand("ILG inv")
			cprintf(cli.yellow,"ILG inv\n")
			yrest(2000)
			if RoMScript("GetNumPartyMembers()") <= #DOD_PARTY_MEMBERS then
				for i = 1, #DOD_PARTY_MEMBERS do
					cprintf(cli.yellow,"Inviting "..DOD_PARTY_MEMBERS[i].."\n")
					RoMScript("InviteByName('"..DOD_PARTY_MEMBERS[i].."')")
					yrest(2000)
				end
			end
		end
		RoMScript("SetInstanceLevel('normal')")
	end
	
	function waitForParty(_checkdist)
		local warncount = 0
		repeat
			local we_ready = true
			cprintf(cli.lightred,"\nWaiting for:\t")
			for i = 1, #DOD_PARTY_MEMBERS do
				local _partymember = player:findNearestNameOrId(DOD_PARTY_MEMBERS[i])
				if _checkdist then
					if not _partymember or (_partymember and distance(player.X,player.Z,player.Y,_partymember.X,_partymember.Z,_partymember.Y) > _checkdist) then
						we_ready = false
						cprintf(cli.lightred,DOD_PARTY_MEMBERS[i].."\t")
					end
				else
					if not _partymember then
						we_ready = false
						cprintf(cli.lightred,DOD_PARTY_MEMBERS[i].."\t")
					end				
				end
			end
			printf("\n")
			yrest(2000)
			player:update()
			warncount = warncount + 1
			if warncount > 10 and not we_ready then
				printf("\a")
			end
		until we_ready
		cprintf(cli.lightgreen,"Party is ready!\n")
	end
	
	function lootBoss(_nameOrId)
		local mentos = inventory:itemTotalCount(206879)
		local boss = player:findNearestNameOrId(_nameOrId)
		if boss then
			repeat
				yrest(500*math.random(4))
				boss = player:findNearestNameOrId(_nameOrId)
				if not boss then break end
				player:target(boss)
				player:update()
				Attack()
				printf("Looting...\n")
				yrest(1000)
				player:update()
			until inventory:itemTotalCount(206879) > mentos or inventory:itemTotalCount(206879) > 2993
		end
		cprintf(cli.lightgreen,GetIdName(206879)..": ")
		cprintf(cli.yellow,tostring(inventory:itemTotalCount(206879)).."\n")
	end
	
	function GoThroughPortalDialog(_range,_portalid)
		GoToPortal(_range,_portalid)
		yrest(500)
		local acceptPortal = RoMScript("StaticPopup_Visible('SET_REQUESTDIALOG')")
		if acceptPortal then
			RoMScript("StaticPopup_EnterPressed("..acceptPortal..")")
			waitForLoadingScreen(15)
			yrest(3000)
			player:update()
		end
		__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X,player.Z,player.Y))
	end
	
	function ApplyPots()
		useGoodie("speed") -- Unbridled Enthusiasm
		useGoodie("casting") -- Clear Thought
		useGoodie("luck") --Turn of Luck Powder Dust
		useGoodie("defense") --Scarlet Love
		useGoodie("godspeed") --Godspeed
		useGoodie("pdmg") -- Housekeeper Special Salted Fish with Sauce
		useGoodie("critp") -- Housekeeper Special Caviar Sandwich
		useGoodie("patt2") -- Housekeeper Special Spicy Meatsauce Burrito
		useGoodie("patt3") -- Housekeeper Special Unimaginable Salad
		useGoodie("matt3")
	end
	
	function PingCheck(_ping,_wait)
		if _ping == nil or type(_ping) ~= "number" then _ping = 250 end
		local cur_ping = RoMScript("GetPing()")
		repeat
			if cur_ping > _ping then
				if _wait then
					cprintf(cli.yellow,"Ping is "..cur_ping.."...waiting for 5 seconds.\n")
					yrest(5000)
					cur_ping = RoMScript("GetPing()")
				else
					cprintf(cli.yellow,"Ping is "..cur_ping..".\n")
					return true
				end
			else
				return false
			end
		until cur_ping <= _ping
	end
	
	npcName = GetIdName(115536) -- Isaac Haden
	function visitmerchant()
		while inventory:getMainHandDurability() < 95 or inventory:itemTotalCount(0) < 12 do
			player:merchant(npcName)
			inventory:update()
			player:clearTarget()
			RoMScript("CloseAllWindows()")
			yrest(500)
		end
	end
	
	function Boss_buff()
		if inventory:itemTotalCount(206878) >= 1 then
			if not player:hasBuff(495308) then
				inventory:useItem(206878)
			end
		end
	end
	
	function settings.profile.events.onSkillCast()
		if DOD_SOLO then
			player:updateBuffs()
			if player:hasDebuff("Gedankenkontrolle") then
			__WPL:setForcedWaypointType("RUN")
			RoMScript("LeaveParty()")
			waitForLoadingScreen()
			__WPL:setWaypointIndex(__WPL:findWaypointTag("res"));
		end
	end
	
	function settings.profile.events.onUnstickFailure()
		__WPL:setForcedWaypointType("RUN")
		RoMScript("LeaveParty()")
		waitForLoadingScreen()
		__WPL:setWaypointIndex(__WPL:findWaypointTag("res"));
	end
	
	startGMDetect()
	
	if getZoneId() == 127 or getZoneId() == 128 then -- we pretty much always fly in DoD, so turn on fly hack if waypoint is started in DoD
		fly()
	end
	
	boss1 = GetIdName(103169)	-- Okander "Mad Man" Mallen
	boss2 = GetIdName(103170)	-- Experiment No.81
	boss3 = GetIdName(103153)	-- Experiment No.203
	boss4 = GetIdName(103171)	-- Prototype No. 114
	boss5 = GetIdName(103155)	-- Maxim Erekat III
	
]]></onLoad>
	<!-- #  1 --><waypoint x="1645" z="-4908" y="752" tag="start">
		__WPL:setDirection(WPT_FORWARD)
		visitmerchant()
	</waypoint>
	<!-- #  2 --><waypoint x="1662" z="-4970" y="760">	</waypoint>
	<!-- #  3 --><waypoint x="1660" z="-5072" y="760">	</waypoint>
	<!-- #  4 --><waypoint x="1667" z="-5100" y="761" tag="entrance">
		if not DOD_SOLO then waitForParty() end
		__WPL:setForcedWaypointType("RUN")
		autoInvite()
		if not DOD_SOLO then sendPartyChat("enter") end
		GoThroughPortal()
		__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X,player.Z,player.Y))
	</waypoint>
	<!-- #  5 --><waypoint x="1793" z="2880" y="433" tag="exit">
		PingCheck(250,true)
		ApplyPots()
		if not DOD_SOLO then waitForParty() end
		if not DOD_SOLO then sendPartyChat("ready") end
		__WPL:setForcedWaypointType("NORMAL")
	</waypoint>
	<!-- #  6 --><waypoint x="1892" z="2887" y="433">	</waypoint>
	<!-- #  7 --><waypoint x="2043" z="2699" y="433">	</waypoint>
	<!-- #  8 --><waypoint x="2124" z="2602" y="432">
		PingCheck(250,true)
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("boss")
		end
		Boss_buff()
	</waypoint>
	<!-- #  9 --><waypoint x="2153" z="2569" y="421">	</waypoint>
	<!-- # 10 --><waypoint x="2331" z="2361" y="401" tag="okander">
		lootBoss(boss1)
	</waypoint>
	<!-- BOSS 2 -->
	<!-- #  1 --><waypoint x="2462" z="2338" y="401">
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("ready")
		end
		__WPL:setForcedWaypointType("RUN")
		fly()
	</waypoint>
	<!-- #  2 --><waypoint x="2596" z="2338" y="480">	</waypoint>
	<!-- #  3 --><waypoint x="2639" z="2339" y="490">	</waypoint>
	<!-- #  4 --><waypoint x="2711" z="2370" y="527">	</waypoint>
	<!-- #  5 --><waypoint x="2830" z="2434" y="544">	</waypoint>
	<!-- #  6 --><waypoint x="2867" z="2497" y="532">	</waypoint>
	<!-- #  7 --><waypoint x="2872" z="2616" y="490">	</waypoint>
	<!-- #  8 --><waypoint x="2871" z="2683" y="503">	</waypoint>
	<!-- #  9 --><waypoint x="2864" z="2783" y="536">	</waypoint>
	<!-- # 10 --><waypoint x="2872" z="2861" y="542">	</waypoint>
	<!-- # 11 --><waypoint x="2910" z="2884" y="541">	</waypoint>
	<!-- # 12 --><waypoint x="2955" z="2881" y="527">	</waypoint>
	<!-- # 13 --><waypoint x="3045" z="2877" y="492">	</waypoint>
	<!-- # 14 --><waypoint x="3100" z="2894" y="484">	</waypoint>
	<!-- # 15 --><waypoint x="3154" z="2987" y="436">	</waypoint>
	<!-- # 16 --><waypoint x="3227" z="2989" y="447">
		__WPL:setForcedWaypointType("NORMAL")
		flyoff()
		ApplyPots()
		PingCheck(250,true)
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("boss")
		end
		Boss_buff()
	</waypoint>
	<!-- # 17 --><waypoint x="3421" z="2981" y="447">
		lootBoss(boss2)
	</waypoint>
	
	<!-- BOSS 3 -->
	<!-- #  1 --><waypoint x="3616" z="2981" y="472">
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("ready")
		end
		__WPL:setForcedWaypointType("RUN")
		fly()
	</waypoint>
	<!-- #  2 --><waypoint x="3685" z="2954" y="472">	</waypoint>
	<!-- #  3 --><waypoint x="3741" z="2886" y="482">	</waypoint>
	<!-- #  4 --><waypoint x="3745" z="2749" y="487">	</waypoint>
	<!-- #  5 --><waypoint x="3747" z="2676" y="531">	</waypoint>
	<!-- #  6 --><waypoint x="3751" z="2588" y="551">	</waypoint>
	<!-- #  7 --><waypoint x="3740" z="2536" y="551">	</waypoint>
	<!-- #  8 --><waypoint x="3686" z="2519" y="549">	</waypoint>
	<!-- #  9 --><waypoint x="3592" z="2529" y="546">	</waypoint>
	<!-- # 10 --><waypoint x="3500" z="2527" y="490">	</waypoint>
	<!-- # 11 --><waypoint x="3451" z="2526" y="489">	</waypoint>
	<!-- # 12 --><waypoint x="3408" z="2491" y="513">	</waypoint>
	<!-- # 13 --><waypoint x="3398" z="2419" y="536">	</waypoint>
	<!-- # 14 --><waypoint x="3403" z="2339" y="529">	</waypoint>
	<!-- # 15 --><waypoint x="3442" z="2325" y="528">	</waypoint>
	<!-- # 16 --><waypoint x="3552" z="2337" y="493">	</waypoint>
	<!-- # 17 --><waypoint x="3603" z="2337" y="506">	</waypoint>
	<!-- # 18 --><waypoint x="3704" z="2342" y="543">	</waypoint>
	<!-- # 19 --><waypoint x="3800" z="2342" y="543">	</waypoint>
	<!-- # 20 --><waypoint x="3831" z="2293" y="539">	</waypoint>
	<!-- # 21 --><waypoint x="3826" z="2216" y="506">	</waypoint>
	<!-- # 22 --><waypoint x="3826" z="2158" y="491">	</waypoint>
	<!-- # 23 --><waypoint x="3830" z="2111" y="499">	</waypoint>
	<!-- # 24 --><waypoint x="3881" z="2099" y="510">	</waypoint>
	<!-- # 25 --><waypoint x="3968" z="2102" y="492">	</waypoint>
	<!-- # 26 --><waypoint x="4019" z="2102" y="496">	</waypoint>
	<!-- # 27 --><waypoint x="4102" z="2103" y="489">	</waypoint>
	<!-- # 28 --><waypoint x="4258" z="2104" y="463">	</waypoint>
	<!-- # 29 --><waypoint x="4322" z="2104" y="433">
		__WPL:setForcedWaypointType("NORMAL")
		flyoff()
		ApplyPots()
		PingCheck(250,true)
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("boss")
		end
		Boss_buff()
	</waypoint>
	<!-- # 30 --><waypoint x="4603" z="2104" y="432">
		lootBoss(boss3)
	</waypoint>
	
	<!-- BOSS 4 -->
	<!-- #  1 --><waypoint x="4836" z="2105" y="435">
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("ready")
		end
		__WPL:setForcedWaypointType("RUN")
		fly()
	</waypoint>
	<!-- #  2 --><waypoint x="4965" z="2103" y="489">	</waypoint>
	<!-- #  3 --><waypoint x="5038" z="2102" y="499">	</waypoint>
	<!-- #  4 --><waypoint x="5109" z="2102" y="493">	</waypoint>
	<!-- #  5 --><waypoint x="5169" z="2103" y="500">	</waypoint>
	<!-- #  6 --><waypoint x="5251" z="2105" y="532">	</waypoint>
	<!-- #  7 --><waypoint x="5343" z="2107" y="543">	</waypoint>
	<!-- #  8 --><waypoint x="5487" z="2106" y="547">	</waypoint>
	<!-- #  9 --><waypoint x="5491" z="2017" y="536">	</waypoint>
	<!-- # 10 --><waypoint x="5490" z="1936" y="515">	</waypoint>
	<!-- # 11 --><waypoint x="5490" z="1822" y="489">	</waypoint>
	<!-- # 12 --><waypoint x="5490" z="1734" y="453">	</waypoint>
	<!-- # 13 --><waypoint x="5491" z="1682" y="430">
		__WPL:setForcedWaypointType("NORMAL")
		flyoff()
		ApplyPots()
		PingCheck(250,true)
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("boss")
		end
		Boss_buff()
	</waypoint>
	<!-- # 14 --><waypoint x="5493" z="1478" y="428">
		lootBoss(boss4)
	</waypoint>
	
	<!-- BOSS 5 -->
	<!-- #  1 --><waypoint x="5491" z="1349" y="431">
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("ready")
		end
		__WPL:setForcedWaypointType("RUN")
		fly()
	</waypoint>
	<!-- #  2 --><waypoint x="5491" z="1263" y="475">	</waypoint>
	<!-- #  3 --><waypoint x="5489" z="1115" y="487">	</waypoint>
	<!-- #  4 --><waypoint x="5490" z="1032" y="515">	</waypoint>
	<!-- #  5 --><waypoint x="5492" z="928" y="538">	</waypoint>
	<!-- #  6 --><waypoint x="5491" z="846" y="546">	</waypoint>
	<!-- #  7 --><waypoint x="5349" z="842" y="550">	</waypoint>
	<!-- #  8 --><waypoint x="5219" z="844" y="549">	</waypoint>
	<!-- #  9 --><waypoint x="5146" z="845" y="545">	</waypoint>
	<!-- # 10 --><waypoint x="5069" z="845" y="510">	</waypoint>
	<!-- # 11 --><waypoint x="5016" z="846" y="493">	</waypoint>
	<!-- # 12 --><waypoint x="4949" z="847" y="499">	</waypoint>
	<!-- # 13 --><waypoint x="4846" z="897" y="508">	</waypoint>
	<!-- # 14 --><waypoint x="4753" z="941" y="497">	</waypoint>
	<!-- # 15 --><waypoint x="4654" z="956" y="480">	</waypoint>
	<!-- # 16 --><waypoint x="4561" z="955" y="467">	</waypoint>
	<!-- # 17 --><waypoint x="4503" z="956" y="397">
		__WPL:setForcedWaypointType("NORMAL")
		flyoff()
		ApplyPots()
		PingCheck(250,true)
		if not DOD_SOLO then
			waitForParty(100)
			sendPartyChat("boss")
		end
		Boss_buff()
		player:cast("MAGE_ELEMENTAL_CATALYST");
	</waypoint>
	<!-- # 18 --><waypoint x="4330" z="956" y="381">
		lootBoss(boss5)
		GoThroughPortalDialog(300,103889) -- need to use id as there are fake portals in last boss room
	</waypoint>
	
	<!-- To the Sewers from res point -->
	<!-- #  1 --><waypoint x="-3813" z="5117" y="19" tag="res">
		__WPL:setForcedWaypointType("RUN")
		player:mount()
	</waypoint>
	<!-- #  2 --><waypoint x="-3722" z="5220" y="12">	</waypoint>
	<!-- #  3 --><waypoint x="-3664" z="5311" y="11">	</waypoint>
	<!-- #  4 --><waypoint x="-3564" z="5362" y="11">	</waypoint>
	<!-- #  5 --><waypoint x="-3458" z="5434" y="9">	</waypoint>
	<!-- #  6 --><waypoint x="-3356" z="5530" y="10">	</waypoint>
	<!-- #  7 --><waypoint x="-3252" z="5629" y="3">	</waypoint>
	<!-- #  8 --><waypoint x="-3164" z="5736" y="4">	</waypoint>
	<!-- #  9 --><waypoint x="-3025" z="5864" y="2">	</waypoint>
	<!-- # 10 --><waypoint x="-2903" z="5980" y="10">	</waypoint>
	<!-- # 11 --><waypoint x="-2842" z="6059" y="9">	</waypoint>
	<!-- # 12 --><waypoint x="-2782" z="6170" y="10">	</waypoint>
	<!-- # 13 --><waypoint x="-2712" z="6284" y="4">	</waypoint>
	<!-- # 14 --><waypoint x="-2622" z="6353" y="6">	</waypoint>
	<!-- # 15 --><waypoint x="-2524" z="6397" y="15">	</waypoint>
	<!-- # 16 --><waypoint x="-2469" z="6465" y="19">	</waypoint>
	<!-- # 17 --><waypoint x="-2472" z="6526" y="30">	</waypoint>
	<!-- # 18 --><waypoint x="-2517" z="6567" y="38">	</waypoint>
	<!-- # 19 --><waypoint x="-2595" z="6612" y="49">	</waypoint>
	<!-- # 20 --><waypoint x="-2726" z="6687" y="32">	</waypoint>
	<!-- # 21 --><waypoint x="-2786" z="6721" y="42">	</waypoint>
	<!-- # 22 --><waypoint x="-2847" z="6764" y="40">	</waypoint>
	<!-- # 23 --><waypoint x="-2865" z="6824" y="40">	</waypoint>
	<!-- # 24 --><waypoint x="-2826" z="6956" y="40">	</waypoint>
	<!-- # 25 --><waypoint x="-2851" z="7047" y="15">	</waypoint>
	<!-- # 26 --><waypoint x="-2838" z="7121" y="-24">	</waypoint>
	<!-- # 27 --><waypoint x="-2912" z="7231" y="-96">
		GoToPortal()
		waitForLoadingScreen()
		__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X,player.Z,player.Y))
	</waypoint>
	<!-- # 28 --><waypoint x="43" z="-882" y="857">
		player:target_NPC("Jake")
		yrest(500)
		sendMacro("ChoiceOption(1);");
		waitForLoadingScreen()
		__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X,player.Z,player.Y))
	</waypoint>
</waypoints>
I've added

Code: Select all

function Boss_buff
to

Code: Select all

function settings.profile.events.onUnstickFailure()
but that can't be the reason. Yesterday it worked too and like I said, I copied the whole onLoad of the origninal script. Isn't it possible to show where the error in the onLoad is? Could it be that it sometimes gives wrong errors?

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

Re: DoD First Boss spam solo and party, full DoD now too

#79 Post by rock5 » Wed Oct 31, 2012 2:45 am

If you move your whole onload into a temporary userfunction. Then it should tell you which line the error is on. Once you have everything working you can move it back. That's everything between the cdata tags.

Edit: I just saw these mistakes. These are neither numbers or booleans so are still strings. So they need " ".

Code: Select all

   changeProfileOption("INV_AUTOSELL_QUALITY", white, green, blue, purple)
   changeProfileOption("INV_AUTOSELL_IGNORE", Widerstandskraft IV, Unermüdlichkeit IV, Magie IV, Lebenskraft IV, Schlagkraft IV, Schnelligkeit IV)
  • 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
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: DoD First Boss spam solo and party, full DoD now too

#80 Post by Ego95 » Wed Oct 31, 2012 6:15 am

If you move your whole onload into a temporary userfunction.
Thanks for the hint rock :) works fine. Found the error in line 177

Code: Select all

   function settings.profile.events.onSkillCast()
      if DOD_SOLO then
         player:updateBuffs()
         if player:hasDebuff("Gedankenkontrolle") then
         __WPL:setForcedWaypointType("RUN")
         RoMScript("LeaveParty()")
         waitForLoadingScreen()
         __WPL:setWaypointIndex(__WPL:findWaypointTag("res"));
      end
   end
There's an

Code: Select all

end
missing that closes

Code: Select all

 if player:hasDebuff("Gedankenkontrolle") then
:)

Always good to learn new things :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest