Memento farming - concept - Dalanis Dungeon

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
top1
Posts: 50
Joined: Mon Jan 03, 2011 4:57 pm

Memento farming - concept - Dalanis Dungeon

#1 Post by top1 » Mon Jan 03, 2011 5:09 pm

Hi,
my rogue-knight is easily able to solo the first boss in the dalanis dungeon without potting ect.
so I build a little waypoint root from the npc, through the portal to the boss and back.
The route works BUT, I got two major difficulties:

1. The boss jumps shortly before he dies - my char keeps standing in the spot UNDER him,
which is badly cause when the boss is landing he instantly dies. :( so I would need a script here
maybe trigered by the text he says before the jump happens ORE walking around the whole fight :/ dunno

2. When he gets out of the instance he should leave the group and get invited (or invite) the partner char
again to reset the instance AND set the difficulty to easy... (that should be able to manage pretty easy,
I guess I will insert a leave and then invite lua command on some waypoint and get another car online
with a addon to accept invites automaticly - could be a gold-egg bot ;)


Any thoughts or ideas especially for the first problem?
Attachments
little picture of the concept
little picture of the concept

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Memento farming - concept - Dalanis Dungeon

#2 Post by jduartedj » Mon Jan 03, 2011 8:19 pm

It is very hard to be able to make a bot tha level but point 1 needs to be worked around someother way. as for point 2 there have alreave been made topic about it, it's relatively simple.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

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

Re: Memento farming - concept - Dalanis Dungeon

#3 Post by rock5 » Mon Jan 03, 2011 8:58 pm

1. I had a look at some vids to see what you were talking about. If he actually disappears, maybe you could check if he is gone in the onSkillCast section of the profile and if so, take a few quick steps back.

Or maybe you could take a few steps to the side after every skill used. That should effectively cause you to circle him.

To move in a direction you can use;
Backwards:

Code: Select all

			keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
			yrest(100)
			keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
Move Left:

Code: Select all

			keyboardHold( settings.hotkeys.STRAFF_LEFT.key );
			yrest(100)
			keyboardRelease( settings.hotkeys.STRAFF_LEFT.key );
The size of they rest value would determine how much it moves.

2. I'm not sure what you mean as i don't do instances and don't group. I guess just do what jduartedj said (hey, that's the first time I spelled his name right without looking it up first :D). But just so I understand, to get an easy level boss you need to invite a lower level character to party before entering the instance? Is that how it works?
  • 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
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Memento farming - concept - Dalanis Dungeon

#4 Post by jduartedj » Mon Jan 03, 2011 9:53 pm

you can set the level manually i think
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

Apotheosis
Posts: 7
Joined: Fri Dec 17, 2010 12:34 am

Re: Memento farming - concept - Dalanis Dungeon

#5 Post by Apotheosis » Tue Jan 04, 2011 1:12 am

This is a very interesting idea. I haven't yet tried soloing the boss on easy, but I think I might try it and work on this concept.

How are you fixing your rotation into micromacro? I don't think I could solo first boss with the shadowstab / low blow combination that micromacro gives you by default.

Oh, and this might help with one of your issues:
/script SetInstanceLevel("easy");

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Memento farming - concept - Dalanis Dungeon

#6 Post by wizzyslo » Tue Jan 04, 2011 3:53 am

Had some idea for farming DoD and WA if had more ppl.
I can help you with invite player wich i'm using it for farming FA,KS,necro.

Code: Select all

sendMacro("LeaveParty();"); yrest(1000);
sendMacro('InviteByName("alt_name")');	
For accept team is macro to but I dont using it becouse too much time failed. I'm adding addon for auto accept wich I cant find it anymore on inthernet.

I never tryed this code to detect leap dont know if works.

Code: Select all

if sendMacro("UnitCastingTime(103857)") == "Leap" then 
--something--	end

I was thinking about healing to for team. Found only that bot include self healing:

Code: Select all

		if( 40 > player.HP/player.MaxHP*100 ) then
		    player:cast("PRIEST_URGENT_HEAL"); yrest(1000);
			end;
but didnt find team healing wich can be used by macro something like this:

Code: Select all

if( 30 > sendMacro('UnitHealth("party1")')/sendMacro('UnitMaxHealth("party1")')*100 )) then 
sendMacro('TargetUnit("party1")')
    player:cast("PRIEST_URGENT_HEAL"); yrest(1000);
 end;
Dont think is good idea to use macros for that.

Hope I help you little bit.
Attachments
InvitedByFriend.rar
(2.97 KiB) Downloaded 333 times

Maniakkk
Posts: 6
Joined: Mon Nov 01, 2010 10:50 am

Re: Memento farming - concept - Dalanis Dungeon

#7 Post by Maniakkk » Tue Jan 04, 2011 9:27 am

very nice !!! heres a thought, add a line in there that tell the char to wait untill he has 100%hp, and then enter instance. and then use "hide" to sneak past the mobs, and then atk boss. would be great to get this !!!

top1
Posts: 50
Joined: Mon Jan 03, 2011 4:57 pm

Re: Memento farming - concept - Dalanis Dungeon

#8 Post by top1 » Tue Jan 04, 2011 2:00 pm

hey guys!

thx for the great help so far!!
Im struggling with the easiest stuff here. :(

But first, the Waypoints:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="1706" z="-4780">
		player:merchant("Isaac Haden");
	</waypoint>
	<!-- #  2 --><waypoint x="1657" z="-4868"> sendMacro("LeaveParty();"); yrest(1000);
sendMacro('InviteByName("Mycharname")'); yrest(1000); sendMacro('SetInstanceLevel("easy")'); </waypoint>
	<!-- #  3 --><waypoint x="1665" z="-5075">	</waypoint>
	<!-- #  4 --><waypoint x="1684" z="-5156">	</waypoint>
	<!-- #  5 --><waypoint x="1894" z="2876">	</waypoint>
	<!-- #  6 --><waypoint x="1987" z="2768">	</waypoint>
	<!-- #  7 --><waypoint x="2082" z="2653">	</waypoint>
	<!-- #  8 --><waypoint x="2167" z="2553">	</waypoint>
	<!-- #  9 --><waypoint x="2264" z="2436">	</waypoint>
	<!-- # 10 --><waypoint x="2252" z="2419">	</waypoint>
	<!-- # 11 --><waypoint x="2171" z="2547">	</waypoint>
	<!-- # 12 --><waypoint x="2032" z="2713">	</waypoint>
	<!-- # 13 --><waypoint x="1891" z="2869">	</waypoint>
	<!-- # 14 --><waypoint x="1763" z="2887">	</waypoint>
	<!-- # 15 --><waypoint x="1701" z="2883">	</waypoint>
	<!-- # 16 --><waypoint x="1648" z="-4803">	</waypoint>
</waypoints>
from 1-5 He's outside the instance, repping works on the npc!
6-15 he is inside the instance and 16 he is back.

now on the waypoints between 2-5 he should first leave the group then invite a specific char* and finaly set the dificultie to easy.
*The other char automaticly accepts the invitation (there is a auto accept feature with the xbar III addon)
** the leave groupe an invite the same char again is used to reset the instance! only other way would be waiting 5min outside!

Code: Select all

	<!-- #  2 --><waypoint x="1657" z="-4868"> sendMacro("LeaveParty();"); yrest(1000);
sendMacro('InviteByName("Mycharname")'); yrest(1000); sendMacro('SetInstanceLevel("easy")'); </waypoint>
PRObLEM 1 solved!!! thx wizzyslo!

As soon as I get this to work I have to face my final problem, the walking away from his deadly jump :/
When he is jumping, the char doesnt loose the focus on the boss but trying to hit him causes a (translated) "error: casting target" (he's out of reach) could I use this to trigger <onSkillCast> with the event "WARNING_MESSAGE" that he stops everything else an runs for 4 secounds backwards??

Code: Select all

<onSkillCast>
         if "WARNING_MESSAGE" then         
         keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
         yrest(4000)
         keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
</onSkillCast>
I know thats terrible wrong but the best I could do :/
I could imagine that might work If I would be able to code (syntax ect.) right
Can someone please tell my where I could find help how to do that??
Last edited by top1 on Tue Jan 04, 2011 4:32 pm, edited 1 time in total.

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Memento farming - concept - Dalanis Dungeon

#9 Post by wizzyslo » Tue Jan 04, 2011 4:12 pm

Must be like that.

Code: Select all

sendMacro('SetInstanceLevel("easy")')

Apotheosis
Posts: 7
Joined: Fri Dec 17, 2010 12:34 am

Re: Memento farming - concept - Dalanis Dungeon

#10 Post by Apotheosis » Wed Jan 05, 2011 12:13 am

You have me very excited about this. I will be working on it tomorrow and see where I can get it, as I too can solo DoD quite easily.

To reset the instance, I think you should be able to do something like this:

Code: Select all

sendMacro('ResetInstance()')
One noob question for me to get started:

I see under MyName.xml this code...

Code: Select all

	<skills_scout>
		<skill name="SCOUT_SHOT"        modifier="" hotkey="VK_2" priority="90" />
		<skill name="SCOUT_AUTOSHOT"    modifier="" hotkey="VK_4" priority="80" />
		<skill name="SCOUT_WIND_ARROWS" modifier="" hotkey="VK_5" priority="70" />
	</skills_scout>
How would I go about implementing my script whereby it would just keep doing that one macro over and over again? I wrote a script not long ago, but it's not really a skill name as much as it is a macro. I realize it seems kind of redundant to run a macro inside of a macro, but it calculates a lot of things and doesn't just work based off of time, but rather events. Any ideas? Thank you.

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Memento farming - concept - Dalanis Dungeon

#11 Post by wizzyslo » Wed Jan 05, 2011 7:01 am

Code: Select all

sendMacro('ResetInstance()')
A long time ago was bug about this restinstance and GMs removed it. Dont think thay give it back.

User avatar
ezgitaran
Posts: 25
Joined: Tue Sep 14, 2010 8:47 am

Re: Memento farming - concept - Dalanis Dungeon

#12 Post by ezgitaran » Wed Jan 05, 2011 1:01 pm

I'm farming DoD with a 6 man party so memento gain = x6 ;P But I have some problems too,
1st - with the recent patches bot is ignoring HP_LOW and/or HP_REST values and resting after combat if player has around 60%.
2nd - "if UnitCastingTime(103857) == "Leap" then ..." is not working, a friend already recommended that but targeting Unit 103857 is not working even tho the id is correct
3rd - pawn update errors after ~24 hours of constant running

Here's my simplified version of ultra bad formatted and complicated dod farm waypoint created with looted functions from around. You can get the general idea and main points from this. I use different waypoint files for each party member cause their jobs differ. :P This one is shortest one and usable for tank of the party;

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<onLoad>
	cprintf(cli.white, "Version: 7/2= Üç,buçuk");
changeProfileOption("INV_AUTOSELL_FROMSLOT", 0)
changeProfileOption("INV_AUTOSELL_TOSLOT", 30)
changeProfileOption("MAX_TARGET_DIST", 120)
changeProfileOption("AUTO_ELITE_FACTOR", 2500)
changeProfileOption("RES_AUTOMATIC_AFTER_DEATH", "true")
changeProfileOption("INV_AUTOSELL_QUALITY", "white,green,blue,purple")

<!-- HP & Rest Settings -->
changeProfileOption("HP_LOW", 17)
changeProfileOption("HP_REST", 10)
changeProfileOption("HP_LOW_POTION", 10)
	
	local timer = os.clock() -- Initialize timer
	inventory:update() -- Find potions before we start
		
		if (os.clock() - timer) > 900 then -- Check potions every 15 minutes
			inventory:update()
			timer = os.clock()
		end

		player:checkPotions()
		local target = player:getTarget();
		player:checkSkills(true, target);
		player:update()

	</onLoad>


	<!-- #  1 --><waypoint x="1786" z="2885">	</waypoint>
	<!-- #  2 --><waypoint x="1876" z="2883">
useHousemaidPotions("unimaginableSalad");
useHousemaidPotions("waffle");
player:cast("ROGUE_HIDE"); -- actually a macro that cancels Amplified Attack
	</waypoint>
	<!-- #  3 --><waypoint x="1914" z="2856">	</waypoint>
	<!-- #  4 --><waypoint x="2027" z="2715">	</waypoint>
	<!-- #  5 --><waypoint x="2071" z="2664">	</waypoint>
	<!-- #  6 --><waypoint x="2134" z="2596">	keyboardPress(key.VK_SPACE);	</waypoint>
	<!-- #  7 --><waypoint x="2197" z="2512">
	changeProfileOption("LOOT_TIME", 5000)
	changeProfileOption("LOOT_PAUSE_AFTER", 100)
	-- mypet=CEggPet(1)
	-- if mypet.Crafting == false then
	--   mypet:craft(MINING)
	-- end -- pets causes macro to loop infinitely ;(
	</waypoint>
	<!-- #  8 --><waypoint x="2122" z="2446">	</waypoint>
	<!-- #  9 --><waypoint x="2123" z="2343">	
			player:updateBuffs()
if not player:hasBuff("Poisonous") then
player:cast("ROGUE_POISON");
end
if not player:hasBuff("Scarlet Love") then
player:cast("POTPOT");
end
useHousemaidPotions("Failster");
 				if player:hasBuff("Amplified Attack") == false then
				repeat
				yrest(1500);
				player:cast("ROGUE_PREMEDITATION");
				yrest(500);
			--	zoneid = RoMScript("GetZoneID()")
			--		if zoneid == 304 then	cprintf(cli.red, "DoD'da degiliz");
			--			else	cprintf(cli.green, "DoD'dayiz galiba");
			--		end
				keyboardPress(key.VK_SPACE);
				player:updateBuffs()
				until player:hasBuff("Amplified Attack") == true 
				end
	player:cast("ROGUE_INFORMER");
	player:cast("ROGUE_UNKNOWN_CHOICE");
	player:cast("ROGUE_ATTAAACK_FTW");
								</waypoint>
<!-- #  10 --><waypoint x="2331" z="2332">	lootBodies();	</waypoint> -- orta
	<!-- # 11 --><waypoint x="2237" z="2468"> yrest(1000);	lootBodies();	</waypoint>
	<!-- # 13 --><waypoint x="2184" z="2533">	lootBodies();	</waypoint>
	<!-- # 14 --><waypoint x="2093" z="2641">	</waypoint>
	<!-- # 14 --><waypoint x="2048" z="2697">	</waypoint>
	<!-- # 15 --><waypoint x="1896" z="2875">	</waypoint>
	<!-- # 16 --><waypoint x="1777" z="2885">
		changeProfileOption("LOOT_PAUSE_AFTER", 0)
		player:cast("ROGUE_HIDE"); -- actually a macro that cancels Amplified Attack	
		changeProfileOption("LOOT_TIME", 1000)
	</waypoint>
	<!-- # 17 --><waypoint x="1705" z="2885"> yrest(7000); </waypoint>

<!-- #  Disari ciktik -->
	<!-- # 19 --><waypoint x="1645" z="-4908"> yrest(9000);	sendMacro('LeaveParty()');	yrest(1000);	sendMacro('LeaveParty()');</waypoint>
	<!-- # 20 --><waypoint x="1645" z="-4908">
		local hddura = inventory:getMainHandDurability();
		printf("Durability:%s\n", hddura);
		if( 95 >= hddura ) then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("Repair")); 
		end										</waypoint>
	<!-- # 21 --><waypoint x="1645" z="-4908"> 
		occupiedSlots, totalSlots = sendMacro("GetBagCount();");
		if(  occupiedSlots > 52 ) then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("Sat"));
	end
	</waypoint>

	<!-- # 22 --><waypoint x="1645" z="-4908" tag="Bekle">
yrest(2000);
if sendMacro('GetNumPartyMembers()') == 0 then
				repeat
				yrest(2000);
				sendMacro('AcceptGroup()'); 	
				until sendMacro('GetNumPartyMembers()') >= 4
				end
	__WPL:setWaypointIndex(__WPL:findWaypointTag("Devam")); 
</waypoint>


<!-- #  Repair -->
	<!-- # 25 --><waypoint x="1668" z="-4767" tag="Repair">		</waypoint>
	<!-- # 26 --><waypoint x="1710" z="-4749">	
		player:target_NPC("Isaac Haden");
		yrest(1000);
	</waypoint>
	<!-- # 27 --><waypoint x="1651" z="-4836">__WPL:setWaypointIndex(__WPL:findWaypointTag("Bekle"));</waypoint>


<!-- #  Sell -->
	<!-- # 25 --><waypoint x="1668" z="-4767" tag="Sat">	</waypoint>
	<!-- # 26 --><waypoint x="1710" z="-4749">	
		player:merchant("Isaac Haden");
		yrest(2000);
	</waypoint>
	<!-- # 27 --><waypoint x="1651" z="-4836">__WPL:setWaypointIndex(__WPL:findWaypointTag("Bekle"));</waypoint>


<!-- #  Ress -->
	<!-- #  1 --><waypoint x="-3813" z="5117">	</waypoint>
	<!-- # 24 --><waypoint x="-3908" z="5087">	__WPL:setForcedWaypointType("TRAVEL");	</waypoint>
	<!-- # 25 --><waypoint x="-4026" z="5142">	player:cast("ROGUE_HIDE");	yrest(1000);	sendMacro('LeaveParty()');	</waypoint>
	<!-- #  4 --><waypoint x="-4087" z="5317">	__WPL:setForcedWaypointType("TRAVEL");	</waypoint>
	<!-- #  5 --><waypoint x="-4144" z="5505">	 </waypoint>
	<!-- #  6 --><waypoint x="-4162" z="5730">	</waypoint>
	<!-- #  7 --><waypoint x="-4127" z="5844">	</waypoint>
	<!-- # 30 --><waypoint x="-4080" z="5984">	</waypoint>
	<!-- #  9 --><waypoint x="-3964" z="6055">	</waypoint>
	<!-- # 10 --><waypoint x="-3821" z="6050">	</waypoint>
	<!-- # 11 --><waypoint x="-3624" z="6144">	</waypoint>
	<!-- # 12 --><waypoint x="-3433" z="6213">	</waypoint>
	<!-- # 35 --><waypoint x="-3355" z="6245">	</waypoint>
	<!-- # 14 --><waypoint x="-3257" z="6319">	</waypoint>
	<!-- # 15 --><waypoint x="-3172" z="6449">	</waypoint>
	<!-- # 16 --><waypoint x="-3133" z="6538">	</waypoint>
	<!-- # 17 --><waypoint x="-3072" z="6632">	</waypoint>
	<!-- # 40 --><waypoint x="-2988" z="6700">	</waypoint>
	<!-- # 19 --><waypoint x="-2908" z="6800">	</waypoint>
	<!-- # 20 --><waypoint x="-2821" z="6983">	</waypoint>
	<!-- # 21 --><waypoint x="-2849" z="7092">	player:target_Object(100943,5000); </waypoint>
	<!-- # 22 --><waypoint x="-2923" z="7215">	player:target_Object(100943,5000); 	yrest(1000) </waypoint>
	<!-- #  1 --><waypoint x="-2979" z="7233">	yrest(5000)	</waypoint>
	<!-- # 23 --><waypoint x="78" z="-858">	</waypoint>
	<!-- # 24 --><waypoint x="40" z="-880">		player:target_NPC("Jake Wallanda");
yrest(2000); 
__WPL:setForcedWaypointType("");
sendMacro("ChoiceOption(1);");
yrest(5000); 
__WPL:setWaypointIndex(__WPL:findWaypointTag("Repair"));
	</waypoint>
<!-- #  Ress -->

<!-- #  Devam -->
	<!-- # 22 --><waypoint x="1655" z="-5073" tag="Devam">	sendMacro('AcceptGroup()');	</waypoint>
	<!-- # 23 --><waypoint x="1657" z="-5104">	sendMacro('AcceptGroup()');	</waypoint>
	<!-- # 24 --><waypoint x="1690" z="-5167"> yrest(10000);	</waypoint> -- iceri girdik
</waypoints>

gerrison
Posts: 9
Joined: Tue Dec 21, 2010 6:50 am

Re: Memento farming - concept - Dalanis Dungeon

#13 Post by gerrison » Wed Jan 05, 2011 4:08 pm

you can also easily use the ingame addons "ComeOnIn" or "Invite Last Group" for group-invitation

ComeOnIn:
Activate autoinvite
Set Keyword
From the other chars: RoMScript("SendChatMessage('keyword', 'WHISPER', 0, 'charactername');");

Pro: You do not have to accept the invitation
Con: InstanceLevel needs to be set if its other than "easy"

Invite Last Group:
Ingame: /ilg

Pro: Invites or kills the whole party at once and sets InstanceLevel
Con: Chars have to accept the invitation

top1
Posts: 50
Joined: Mon Jan 03, 2011 4:57 pm

Re: Memento farming - concept - Dalanis Dungeon

#14 Post by top1 » Wed Jan 05, 2011 6:56 pm

:o wow ezgitaran!

thats awesome!! I only got one high level char and my laptop cant manage more than 3 game windows at once :geek:
The idea of having a 6-char-bot-group which could farm instances is amazing! Good job!
If you run it overnight you should easily have 400-600 mentos each... awesome :) thats a lot of good stats or money ^^
The only way I can manage solo alot is because of the buggy seal of regeneration which you can buy for 400-1000k gold.
You get the regeneration buff and it doesnt disapear when u use it in instances! (if you dont already know)

but getting a group of bots working together,... that must be terrible difficult!! how do they stay synchronized??


back to the jumping (leap) problem...
does it kill your group everytime? or some of them? or do you have eanough dmg to kill the boss before he is able to jump?
maybe the walking away could be triggered by the text he says... is there a posibilty to scan the chat for this text and react to that?

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

Re: Memento farming - concept - Dalanis Dungeon

#15 Post by rock5 » Wed Jan 05, 2011 9:24 pm

ezgitaran wrote:1st - with the recent patches bot is ignoring HP_LOW and/or HP_REST values and resting after combat if player has around 60%.
Not sure, I know resting was changed to after combat when, previously, it was before, but I don't know why it rests at 60%. I don't see MP_REST. Maybe you have MP_REST set somewhere else to 60%?
ezgitaran wrote:2nd - "if UnitCastingTime(103857) == "Leap" then ..." is not working, a friend already recommended that but targeting Unit 103857 is not working even tho the id is correct
It looks like that function might accept values like "target", "player" etc. If you have the mob targeted try "if UnitCastingTime("target") == "Leap" then ...".
ezgitaran wrote:3rd - pawn update errors after ~24 hours of constant running
I'm not surprised considering the game client doesn't seem to manage memory too well. Did the client crash? I just discovered a rombot bug that causes the client to crash. Once I fix it it might fix a lot of peoples problems.
  • 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

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Memento farming - concept - Dalanis Dungeon

#16 Post by wizzyslo » Thu Jan 06, 2011 3:55 am

I got idea about synchroniz bots.
What about make function to scan party members names and compare targets in area and when are all together than go to next waypoint :?:

User avatar
ezgitaran
Posts: 25
Joined: Tue Sep 14, 2010 8:47 am

Re: Memento farming - concept - Dalanis Dungeon

#17 Post by ezgitaran » Thu Jan 06, 2011 5:50 am

top1 wrote:but getting a group of bots working together,... that must be terrible difficult!! how do they stay synchronized??
While entering instance, they wait for each other (isinparty function) and before attack checks for each other's buffs to see if everyone ready. When priest is ready, checks main tank, if main tank is ready it casts premeditation constantly and if main tank have premeditation buff, priest accepts tank is ready and casts Amplified Attack on it and whole group members checking tank's buffs gets the go command.

Here's the main codes about that, here's the priest command casting Amplified Attack:

Code: Select all

	<!-- #  9 --><waypoint x="2123" z="2343">
		sendMacro('SetLootThreshold(2)')
		yrest(250);
		changeProfileOption("MAX_TARGET_DIST", 120)	
		sendMacro('TargetUnit("party1")');
		local target = player:getTarget();
		target:updateBuffs()
 				if target:hasBuff("Premeditation") == false then
				repeat
				yrest(1000);
				keyboardPress(key.VK_SPACE);
				sendMacro('TargetUnit("party1")');
				local target = player:getTarget();
				target:updateBuffs()
				until target:hasBuff("Premeditation") == true
				end
		sendMacro('TargetUnit("party1")');
		yrest(1500);
		player:cast("PRIEST_AMPLIFIED_ATTACK");
		player:cast("PRIEST_AMPLIFIED_ATTACK");
		yrest(1200);
	</waypoint>
For any other party member this section is like this:

Code: Select all

	<!-- #  9 --><waypoint x="2123" z="2343">	
changeProfileOption("MAX_TARGET_DIST", 120) 
sendMacro('TargetUnit("party2")');
local target = player:getTarget();
target:updateBuffs()
 				if target:hasBuff("Amplified Attack") == false then
				repeat
				yrest(1000);
				keyboardPress(key.VK_SPACE);
				sendMacro('TargetUnit("party2")');
				local target = player:getTarget();
				target:updateBuffs()
				until target:hasBuff("Amplified Attack") == true
				end
sendMacro('TargetUnit("party2")');
				player:cast("DRUID_RESTORE_LIFE");
				player:cast("DRUID_RESTORE_LIFE");
yrest(1100);
	</waypoint>
top1 wrote: back to the jumping (leap) problem...
does it kill your group everytime? or some of them? or do you have enough dmg to kill the boss before he is able to jump?
maybe the walking away could be triggered by the text he says... is there a possibility to scan the chat for this text and react to that?
Yes sometimes it gets some of my group members, if they didn't got their heals properly or boss uses some aoe skills together with jump so some of group members die every run with a 5% chance according to me. Thats why I have a resurrection section in waypoints :P if they die, they res themselves and turns back to start point and waits for invite of the next run.
Maybe it's possible but I don't know how to scan for text, maybe with API:Chat Update?
rock5 wrote:Not sure, I know resting was changed to after combat when, previously, it was before, but I don't know why it rests at 60%. I don't see MP_REST. Maybe you have MP_REST set somewhere else to 60%?
I deleted all MP_REST or MP_something inputs from Profile.xml and waypoint since my character doesn't have mana.
rock5 wrote:It looks like that function might accept values like "target", "player" etc. If you have the mob targeted try "if UnitCastingTime("target") == "Leap" then ...".
Thx, I will try that. However my primary healer needs to target main tank for heal, so it can't be target boss at the same time or maybe there is a solution for it? Also player:findEnemy(); is not 100% working sometimes maybe distance limit or boss behind the character, don't know why..
rock5 wrote:I'm not surprised considering the game client doesn't seem to manage memory too well. Did the client crash? I just discovered a rombot bug that causes the client to crash. Once I fix it it might fix a lot of peoples problems.
Yup I got at least one crash every night and a day. That will really help a lot =)

One more thing, sometimes all party members goes out and leaves party except one idiot resting in instance after combat :P Then that party member kicks out from instance to resurrection stone, and continues dod farm path like it's still inside and finally gets stuck somewhere near wodjin (!) :P I guess I can use zone_ids to check if char is in correct zone after rest or after passing a waypoint maybe? What is the command to find nearest waypoint and continue from there?

Aaand sorry for my bad english :P

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

Re: Memento farming - concept - Dalanis Dungeon

#18 Post by rock5 » Thu Jan 06, 2011 7:19 am

ezgitaran wrote:
rock5 wrote:It looks like that function might accept values like "target", "player" etc. If you have the mob targeted try "if UnitCastingTime("target") == "Leap" then ...".
Thx, I will try that. However my primary healer needs to target main tank for heal, so it can't be target boss at the same time or maybe there is a solution for it? Also player:findEnemy(); is not 100% working sometimes maybe distance limit or boss behind the character, don't know why..
If your tank is targeting the mob maybe you could use targettarget? "if UnitCastingTime("targettarget") == "Leap" then ...". As for findEnemy it depends on what arguments you used. Being behind the character shouldn't matter.

ezgitaran wrote:What is the command to find nearest waypoint and continue from there?
To both find and set the nearest waypoint use,

Code: Select all

player:update() -- To make sure the players x and z values are correct.
__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z))
  • 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

Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Memento farming - concept - Dalanis Dungeon

#19 Post by Alkaiser » Thu Jan 06, 2011 1:28 pm

rock5 wrote:
ezgitaran wrote:3rd - pawn update errors after ~24 hours of constant running
I'm not surprised considering the game client doesn't seem to manage memory too well. Did the client crash? I just discovered a rombot bug that causes the client to crash. Once I fix it it might fix a lot of peoples problems.
I get this error quite often... usually results in my character running into a wall for who knows how long... or sometimes death. I've had some clients run for 12 hours, some for 24 hours before it happens. I blame the latest client version for this more than Rombot. Runewaker's programmers are something else.

Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

Re: Memento farming - concept - Dalanis Dungeon

#20 Post by Starrider » Thu Jan 06, 2011 3:17 pm

gerrison wrote: Invite Last Group:
Ingame: /ilg

Pro: Invites or kills the whole party at once and sets InstanceLevel
Con: Chars have to accept the invitation
No if you use XBarIII there is a function /ibf you can set there to auto accept groupinvite by guild or friend etc. its called autoaccept mybe its also standalone? dont know...

So no Con with this method...

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests