Page 12 of 13

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Dec 29, 2011 10:08 am
by s018mes
The bot runs for several runs. Then sometimes, I zone IN kill the boss, and while trying to zone OUT, I DONT see the zone out wall. I am still inside the instance and can't zone out. The bot can't do anything and the game just eventually crashes. Is this because maybe my script has the wrong zone ID 128 when I am doing a normal run? What is interesting is the bot will work for a few runs.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Dec 29, 2011 10:42 am
by rock5
If the bot just failed to teleport, there is no reason for the game to crash, especially if the character is just standing there. If the game eventually crashes then that means it failed to teleport because the game was about to crash. Probably it had already lost communication with the server. It may be a communication problem or a performance issue, it's hard to say.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Fri Dec 30, 2011 4:07 am
by Pmaia
wat u saying its about the out instance portal disapears?
that happens litle times
for me like 3x at month
that its a bug from the game
if that happens many many times to u
dont know if u can make a code to leave party and load the returnpath if the character didnt pass the portal in for ex 1minute
many times wen portal exists if the character dont pass it at first time it will not take 1min to load the script again to try enter the portal so probably u can make a code to count a few minutes and if u donot teleport (becouse there´s no portal to teleport) destroi the party and load the return path to dod

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sat Dec 31, 2011 11:59 pm
by rubenr
I had the following problems with the bot from a few pages ago:

-It used to rest too much, i changed those values to something a little bit more quicker (no one sane will bot with 2 fullscreens, to need that much rest time).
-The buffs (in other languages, spanish or english) doesn't take them, so i removed most of them. (ntbuff helped here).
-Created bot_return to both classes to resume mementing :P
-Now the tank attacks first and the mage follows almost instantly.
-Used Lisa's Okander Dodge tool, works great. Some deaths cannot be avoided, but thats why the _return is for.
-The bot doesn't sell purples (Not Fixed)
-Used lootomatic to quick pick up. (The mage usually didn't picked up mementos).
-The mage buffs himself everywhere, wasting useful buffs to fight the boss. (Not Fixed)
-One character stays outside and one stays inside and the bot doesn't continue. (Not Fixed)


Also, i had these following problems with the lag
-Sometimes both just stood up in the portal, so i made 2 waypoints in a portal area, so it enters 100%.
-Same with exiting the portal.
-The Tank (Or Mage) didn't see the other class near him, because of the lag, so ill implemented a jump in every situation (before atacking okander, tank and mage, and when exiting the dungeon and re-creating the party).


It still need a lot of work, both players (100k hp tank [with pet] and 90k hp mage [with pet]) makes the dungeon in: 2 minutes.
That means 600 mementos in 10 hours for both players.



TANK WAYPOINT

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="1709" z="-4770" y="752">      player:merchant("Isaac Haden");
   </waypoint>
   <!-- #  2 --><waypoint x="1674" z="-4888" y="752">   </waypoint>
   <!-- #  4 --><waypoint x="1676" z="-5165" y="758">   </waypoint>
   waitForLoadingScreen();
   <!-- #  5 --><waypoint x="1702" z="-5150" y="759">
   waitForLoadingScreen();
    repeat
	yrest(1000) 
	if (not player:hasBuff("506684")) then
    inventory:useItem(207200);
    end 
   yrest(1000) 
   until checkparty() == true
   yrest(3000)
   </waypoint>
   <!-- #  4 --><waypoint x="1874" z="2884" y="433">   </waypoint>
   <!-- #  5 --><waypoint x="2039" z="2705" y="433">   </waypoint>
   <!-- #  6 --><waypoint x="2200" z="2514" y="401">
   keyboardPress(key.VK_SPACE);
   repeat
   yrest(1000) 
   until checkparty() == true
   yrest(2000)
   player:cast("KNIGHT_HOLY_SEAL");
   yrest(2000)
   player:cast("KNIGHT_ENHANCED_ARMOR");
   </waypoint>
   <!-- #  7 --><waypoint x="2278" z="2422" y="401">
   keyboardPress(key.VK_SPACE); 
   inventory:useItem(204462);
   yrest(1000)
   inventory:useItem(204463);
   yrest(1000)
   player:cast("KNIGHT_HATRED_STRIKE");
   player:cast("KNIGHT_WHIRLWIND_SHIELD");
   player:cast("KNIGHT_WHIRLWIND_SHIELD");
   </waypoint>
   <!-- # 8 --><waypoint x="2253" z="2448" y="401">   </waypoint>
   <!-- # 9 --><waypoint x="2126" z="2600" y="433">   </waypoint>
   <!-- # 10 --><waypoint x="1906" z="2868" y="433">   </waypoint>
   <!-- # 11 --><waypoint x="1695" z="2917" y="433">   </waypoint>
   <!-- # 12 --><waypoint x="1703" z="2899" y="433">  waitForLoadingScreen();
   </waypoint>
   <!-- # 13 --><waypoint x="1645" z="-4908" y="752">
   keyboardPress(key.VK_SPACE);
   repeat
   yrest(1000)
   until checkparty() == true
   yrest(3000)
      SlashCommand("ILG destroy");
      yrest(2000)
      SlashCommand("ILG inv");
      yrest(2000)
      SlashCommand("ILG inv");
   </waypoint>
</waypoints>
TANK AND MAGE RETURN

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-3819" z="5105" y="19">	</waypoint>
	<!-- #  2 --><waypoint x="-3692" z="5231" y="13">	</waypoint>
	<!-- #  3 --><waypoint x="-3610" z="5318" y="11">	</waypoint>
	<!-- #  4 --><waypoint x="-3454" z="5429" y="9">	</waypoint>
	<!-- #  5 --><waypoint x="-3236" z="5596" y="4">	</waypoint>
	<!-- #  6 --><waypoint x="-3186" z="5696" y="6">	</waypoint>
	<!-- #  7 --><waypoint x="-3001" z="5844" y="5">	</waypoint>
	<!-- #  8 --><waypoint x="-2775" z="6052" y="8">	</waypoint>
	<!-- #  9 --><waypoint x="-2602" z="6263" y="12">	</waypoint>
	<!-- # 10 --><waypoint x="-2415" z="6480" y="14">	</waypoint>
	<!-- # 11 --><waypoint x="-2545" z="6580" y="46">	</waypoint>
	<!-- # 12 --><waypoint x="-2758" z="6706" y="41">	</waypoint>
	<!-- # 13 --><waypoint x="-2862" z="6806" y="40">	</waypoint>
	<!-- # 14 --><waypoint x="-2801" z="6942" y="40">	</waypoint>
	<!-- # 15 --><waypoint x="-2753" z="7082" y="8">	</waypoint>
	<!-- # 16 --><waypoint x="-2978" z="7231" y="-99"> 
	waitForLoadingScreen();
	yrest(1000)
	</waypoint> 
	<!-- # 17 --><waypoint x="63" z="-881" y="857">		player:target_NPC("Jake Wallanda");
		sendMacro("ChoiceOption(1);");
	waitForLoadingScreen()
	yrest(1000)
	</waypoint>
	<!-- #  1 --><waypoint x="1645" z="-4909" y="752">	</waypoint>
</waypoints>


MAGE WAYPOINT

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="1704" z="-4759" y="752"   >   player:merchant("Isaac Haden");
   player:updateBuffs() 
      if not player:hasBuff("Salteado de la cienaga") then
      inventory:useItem("Salteado de la cienaga especial del ayudante del hogar");
      end
   yrest(1000)
   </waypoint>
   <!-- #  3 --><waypoint x="1675" z="-4874" y="752">
   changeProfileOption("AUTO_ELITE_FACTOR", 1);
   yrest(1000) 
   </waypoint>
   <!-- #  4 --><waypoint x="1676" z="-5165" y="758">   </waypoint>
   <!-- #  5 --><waypoint x="1702" z="-5150" y="759">   waitForLoadingScreen();
   repeat
	yrest(1000) 
	if (not player:hasBuff("506686")) then
    inventory:useItem(207202);
    end 
	yrest(1000) 
	if (not player:hasBuff("506684")) then
    inventory:useItem(207200);
    end 
   yrest(1000) 
   until checkparty() == true
   yrest(5000)
   </waypoint>
   <!-- #  6 --><waypoint x="1793" z="2880" y="433">   </waypoint>
   <!-- #  7 --><waypoint x="1902" z="2872" y="433">   </waypoint>
   <!-- #  8 --><waypoint x="2028" z="2720" y="433">   </waypoint>
   <!-- #  9 --><waypoint x="2194" z="2518" y="401">
   keyboardPress(key.VK_SPACE);
   repeat
   yrest(1000) 
   until checkparty() == true
   yrest(1000)
   </waypoint>
   <!-- #  10 --><waypoint x="2222" z="2363" y="401">
   player:updateBuffs() 
      if not player:hasBuff("Salteado de la cienaga") then
      inventory:useItem("Salteado de la cienaga especial del ayudante del hogar");
      end
   yrest(1000)
   keyboardPress(key.VK_SPACE);
   yrest(1000)
   player:cast("MAGE_ENERGY_INFLUX")
   yrest(1000)
   player:cast("MAGE_ESSENCE_OF_MAGIC")  
   yrest(1000)
   player:cast("MAGE_INTENSIFICATION")
   yrest(1000)
   player:cast("MAGE_ELEMENTAL_CATALYST")
   changeProfileOption("AUTO_ELITE_FACTOR", 2500);
   </waypoint>
   <!-- # 11 --><waypoint x="2262" z="2424" y="401">   </waypoint>
   <!-- # 12 --><waypoint x="2102" z="2629" y="432">   </waypoint>
   <!-- # 13 --><waypoint x="1896" z="2866" y="433">   </waypoint>
   <!-- # 14 --><waypoint x="1695" z="2912" y="433">   </waypoint>
   <!-- # 15 --><waypoint x="1703" z="2899" y="433">
   waitForLoadingScreen();
   </waypoint>
   <!-- # 16 --><waypoint x="1645" z="-4908" y="752">
   keyboardPress(key.VK_SPACE);
   repeat
   yrest(1000) 
   until checkparty() == true
   yrest(3000)
   </waypoint>
</waypoints>

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Jan 01, 2012 12:02 am
by rubenr
Since the jump in easy mode kills me anyways (both my tank and mage, and i don't understand why), a quick review in the waypoint above will be much better to be able to do Normal Mode.

IE:
Make the mage use 2 buffs (protection and damage) in 1 round and Speed Cast (-50% speed cast, don't know the name in english) in the other one.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Wed Jan 04, 2012 4:57 pm
by ExeCuter
Hi everyone,

I just read all 12 pages of this topic, but I couldn't find a script for a mage (tank) and a healer (druide in my case) where both are in a party. Could someone help me to figure the waypoints and functions out? I don't understand really much of the coding if I don't have a basic script for it. Perhaps someone of you got already waypoints for the same case, this would be great as well.
Thanks

Re: Memento farming - concept - Dalanis Dungeon

Posted: Wed Jan 04, 2012 8:49 pm
by volkovy
hi, i tried to make my bot running at dod easy, first boss farming.. if i do it manually, my mage can do it with 1 jump of the boss.

problem is, i cant make the bot avoid dying after jump..
mostly it runs away as Lisa's 1.2 addon should force it to do, but after half a second or so, it runs back, to attack the boss. back, exactly to the shadow, where my char dies.

i have to admit, i've read only the first six pages of this thread, but tried out everything, and it still wont work.

would anyone pls tell me if its working somehow, and what's the method?

tyvm.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Wed Jan 04, 2012 10:19 pm
by lisa
Have you got this in your profile onskillcast section?

Code: Select all

target = player:getTarget();
   if target.Id == 103169 then
      if sendMacro("madman.Time") >= 1 then
         player:clearTarget();
         printf("Running\n")
         yrest(5000)
      end
   end
Now I think on it there should be 2 Id checked, I am not sure if it is same Id for norm and easy modes, been a while since I was in DoD.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 12:06 am
by rock5
The ids are different. Just check out runesdatabase to see. You will also see they have different drop lists. If it doesn't say which is the easy one, you can usually tell which by looking at which drops the better loot.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 12:27 am
by lisa
hmm runesdatabase has 3 of them
103169
103827
103857

So could just add all 3 to be sure, should be easy enough for someone to get the Id from normal or easy, which ever is missing.


Could always try this though, not sure if the " " in it's name will interfere though.

Code: Select all

target = player:getTarget();
local name = GetIdName(103169)
   if target.Name == name then
      if sendMacro("madman.Time") >= 1 then
         player:clearTarget();
         printf("Running\n")
         yrest(5000)
      end
   end


Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 8:49 am
by volkovy
tyvm, avoiding the jump is now working beautifully!

got only one more problem, what do i have to add to the profile's skills section, to use urgent heal until my health is 90% or above?

im getting damage during the fight, so i want to fully heal myself before attacking again. as mage/priest, i can do it easily manually

problem is, it looks like this: flame, flame, flame, urgent, flame, flame, urgent, flame, urgent. urgent heal is set to be casted at 80% health.

instead, i want the skill rotation to look like: urgent-urgent-urgent-flame-urgent-flame-urgent-flame-etc, you get it. to get selfhealed instead of attacking the boss.

ty for your work btw ;)

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 11:11 am
by lisa
couple of ways to go about it, change the hp % to 90 is one.

Code: Select all

		<skill name="PRIEST_URGENT_HEAL"    	hotkey="MACRO" priority="110" hpper="90"  />
Another would be to keep it at 80% and then add some code to the onskillcast section so it uses urgent heal until hp is more then 95%, you wouldn't set it to 100% as it may never actually think it is 100%.

Issue with doing the second choice is it may be in the loop to heal when madman jumps and so you may not run, the addon will try to make you run but trying to cast urgent heal while running might cause issues or it may not.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 11:55 am
by volkovy
problem is, even if i change it to 99%, the bot just.. ignores it, macro says heal was casted, but in reality, no.

so what i would need is something, a trigger, which stops all attacking, and heals me over 90%, then returns to attacking again

the second option sounds okay for this purpose, but is it very hard to produce such an effect? :)

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 12:16 pm
by lisa
you could give this a try in your profile

Code: Select all

	<onSkillCast><![CDATA[
		if 90 > (player.HP/player.MaxHP*100) then
			player:cast("PRIEST_URGENT_HEAL")
			player:cast("PRIEST_URGENT_HEAL")
		end
	]]></onSkillCast>

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Jan 05, 2012 12:58 pm
by volkovy
tyvm! seems promising, ill try it out

Re: Memento farming - concept - Dalanis Dungeon

Posted: Fri Jan 13, 2012 6:22 pm
by miesermetzler
Hello,

pmaia wrote:

Code: Select all

-The mage buffs himself everywhere, wasting useful buffs to fight the boss. (Not Fixed)

Set the skills to autouse and inbattle to false like in my Profile

Code: Select all

	<skills_mage>
		<skill name="PRIEST_REGENERATE"               hotkey="VK_9" priority="100" hpper="75" />
		<skill name="MAGE_ESSENCE_OF_MAGIC"         hotkey="VK_6" priority="30" />
      		<skill name="PRIEST_URGENT_HEAL"              hotkey="VK_8" priority="100" hpper="65"  />      		      
      		<skill name="MAGE_ELECTROSTATIC_CHARGE"                hotkey="VK_0" priority="100" inbattle="true" hpper="75" />
      		<skill name="MAGE_PURGATORY_FIRE"                      hotkey="VK_3" priority="100" />
      		<skill name="MAGE_ENERGY_INFLUX"                   hotkey="VK_7" priority="10" inbattle="false" autouse="false" />
		<skill name="MAGE_ELEMENTAL_CATALYST"         hotkey="VK_5" priority="10" inbattle="false" autouse="false" />
		<skill name="MAGE_INTENSIFICATION"         hotkey="VK_4" priority="30" inbattle="false" autouse="false" />
		<skill name="MAGE_FLAME"         hotkey="VK_2" priority="100" inbattle="false" />	
	</skills_mage>
and if you want to set them true you can insert in the waypoints to do so, like:

Code: Select all

changeProfileSkill("MAGE_FLAME","InBattle", true,"Autouse", true)
or let him do the essential buffs manually by using this at the boss waypoints

Code: Select all

player:cast(MAGE_INTENSIFICATION) or an another skillname
hope that helps a bit :idea:

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sat Jan 14, 2012 5:31 am
by rubenr
Actually i tried both ways. When its set to false, he buffs himself as soon as the bot stats (outside DOD), and when its true, it uses the buffs when he sees the first elite inside DOD.


I've been using my waypoint for a few days. Sometimes it runs flawless for 4 or 5 hours, sometimes it doesn't.
I tried the "if you dont see the loading screen, go back", but still, sometimes one player is outside and one player inside and they are unable to continue.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sat Jan 14, 2012 6:12 am
by lisa
If I remember corectly the teleport thingy is just a little to high, you could just do a walk towards it and then jump, shouldn't be that hard to code.

Even just do a teleport directly into the middle of it, that will prob work too, regardless of fly or not.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sat Jan 14, 2012 4:13 pm
by Pmaia
hello
got problem wen i go to dod with 2 chars
all works fine sometimes and sometimes 1 od the chars doesnt loot the mementos couse the other one its with loot open its a thing of miliseconds
sometimes happens sometimes dont
so my quest is if exists some way to forcing the both chars loot all before run to the next waipoint
already tryed the lootalbodys code but seem´s to be =
thanks for any idea

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Jan 15, 2012 8:14 am
by rubenr
Pmaia wrote:hello
got problem wen i go to dod with 2 chars
all works fine sometimes and sometimes 1 od the chars doesnt loot the mementos couse the other one its with loot open its a thing of miliseconds
sometimes happens sometimes dont
so my quest is if exists some way to forcing the both chars loot all before run to the next waipoint
already tryed the lootalbodys code but seem´s to be =
thanks for any idea

Loot-o-matic.
You need to set up to pick everything, so when 1 picks up, it gets up really quickly (because it picked up everything).
Also, you need to set "pass > purple" with 0.5 seconds time.

The bot tries 2 times, so with that you'll have no problem.