DoD (Dungen of Dalanis) 1. boss farming Waypoint

Additional botting resources. Addons may be either for the game itself or for the RoM bot.

Moderator: rock5

Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
Xmen
Posts: 45
Joined: Thu Jan 19, 2012 10:18 am

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#21 Post by Xmen » Thu Jan 26, 2012 8:38 pm

for the next time you can call interface with

Code: Select all

/script madman.MinimapButton_OnClick(this)
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#22 Post by lisa » Thu Jan 26, 2012 9:27 pm

Xmen wrote:for the next time you can call interface with
You should have a UI button that kind of looks like an eye in a text bubble, just click it to open up the addon interface.
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

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#23 Post by Xmen » Thu Jan 26, 2012 9:34 pm

M4gm4 have this icon covered by other addons icons ;)
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#24 Post by lisa » Fri Jan 27, 2012 3:12 am

Ok I finally got a chance to check this WP out, mostly it looks pretty good, just a few points I would like to make.

1.
Aeventparty() you have a jump inside the loop, looks suspicious, move the jump to before the repeat so it only jumps once.


2.

Code: Select all

changeProfileOption("EGGPET_ENABLE_ASSIST", "true")
you assume everyone wants to use their egg pet.


3.
not everyone uses the useGoodie function, you can add a check for the function at the begining.

Code: Select all

if not useGoodie then function useGoodie() end end
so if the function doesn't exist it just does a nothing function so the WP doesn't error because it is trying to call a function that doesn't exist.

I have code in my profile to deal with buffs and such and so I don't need the WP to do it aswell.

4.

Code: Select all

elseif groupecheck() == false then
there is no groupecheck function in the Wp and so it errors.
Is it a userfunction you have?



That's all I have so far.
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

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#25 Post by Xmen » Fri Jan 27, 2012 4:01 am

Thank you Lisa that you find the time to test my WP.
I will change you listed Points on next version

payable only on point, I do not agree
lisa wrote: 4.

Code: Select all

elseif groupecheck() == false then
there is no groupecheck function in the Wp and so it errors.
Is it a userfunction you have?
I have added the userfunction on ver. 0.2. look on first post you can find out
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#26 Post by lisa » Fri Jan 27, 2012 6:29 am

Ahh yep I see it now, it is kind of small, any reason not to just add it to the WP onload?
Looks very familiar too ;)

Ok got another one for you.

Code: Select all

	player:fight()
	</waypoint>
	<!-- #  8 -->
	<waypoint x="2191" z="2520" y="401" type="TRAVEL">
So it does the fight with boss, when boss jumps though the bot thinks the fight is over and goes to the next waypoint which is travel and so then bot ignores boss. Might need to add in a check or just not have it as travel.

Code: Select all

Waypoint type TRAVEL, we won't stop and won't fight back
Moving to waypoint #9, (2465, 2338)
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

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#27 Post by Xmen » Fri Jan 27, 2012 7:03 am

I do not understand :?

Code: Select all

if not useGoodie then function useGoodie() end end
what it is made ​​true or false?

//Edit

after many test i found :D
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#28 Post by lisa » Fri Jan 27, 2012 8:13 am

Code: Select all

if not useGoodie then function useGoodie() end end
For others reading I'll explain it, it's not ideal obviously for this situation but it will do for now.

This part checks if the useGoodie function exists or not

Code: Select all

if not useGoodie
so if the function doesn't exist then it does the next part of code

Code: Select all

function useGoodie() end 
This will create a function which does absolutely nothing but the function will then exist, so that later on when the function is called.

Code: Select all

useGoodie(206874)
it will try to perform the function, which will do nothing but atleast it won't error Mircomacro saying it tried to call function a nil value.

A better solution would be to check if the function exists before attempting to do the code.

Code: Select all

	if useGoodie then
		useGoodie(206874) -- mélange de prairie
		useGoodie(206876) -- Cuissot de loup rôti
		useGoodie(204544) -- Luth magique (3 jours)
		yrest(5000)
	end
Doing this will make the function compatible with more users, since not all users have the same userfunctions.
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

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#29 Post by Xmen » Fri Jan 27, 2012 7:29 pm

I am happy :D to inform you that Version 0.3.0 Beta is finished and is available to download
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#30 Post by M4gm4 » Thu Feb 02, 2012 10:38 am

ok, today I wanted to try this with the party.

first Char with lead -> Load main.xml
second Char without lead -> Load party.xml


- the main go to the door and remains standing in front
- secChar goes in the instance and stops

nothing more happens

Now if I manually go in with the Mainchar, the secChar starts... but without the main

edit: It is striking when one goes to the dealer after each round
I use the google translator, so do not be surprised if my english is funny

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#31 Post by Xmen » Thu Feb 02, 2012 11:28 am

what print you MM window ?
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#32 Post by M4gm4 » Thu Feb 02, 2012 12:07 pm

nothing ...^^

edit// I think the problem is that the main.char not go into it, and stand in front of the entrance.

edit2// "instance" waypoint tag for what ? ( in main.xml )

Code: Select all

	<!-- #  4 -->
				<waypoint x="1793" z="2880" y="433" tag="instance">		</waypoint>
same with party.xml waypoint tag "wboss"

Code: Select all

	<!-- #  7 -->
				<waypoint x="2252" z="2444" y="401" tag="wboss">
I use the google translator, so do not be surprised if my english is funny

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#33 Post by Xmen » Thu Feb 02, 2012 2:10 pm

M4gm4 wrote: nothing ...^^
There should at least print DoD, or monitor started.

you probably have small lags, add a break between the two functions
main.xml on line 288 find follow Countround() add after on new line yrest(1000)

Code: Select all

	<!-- #  2 -->
				<waypoint x="1678" z="-5092" y="772" tag="enter" type="TRAVEL">
					Countround()
					yrest(1000)
					ireset()
				</waypoint>
M4gm4 wrote: I think the problem is that the main.char not go into it, and stand in front of the entrance.
test follow
main.xml on line 162
find yrest(500) and replace with yrest(1000)

Code: Select all

						keyboardHold( settings.hotkeys.MOVE_FORWARD.key )
						yrest(500)
						keyboardRelease( settings.hotkeys.MOVE_FORWARD.key )
M4gm4 wrote: "instance" waypoint tag for what ? ( in main.xml )

Code: Select all

	<!-- #  4 -->
				<waypoint x="1793" z="2880" y="433" tag="instance">		</waypoint>
same with party.xml waypoint tag "wboss"

Code: Select all

	<!-- #  7 -->
				<waypoint x="2252" z="2444" y="401" tag="wboss">
for nothing, these are still remnants of the previous version



instance zone starting one waypoint number 3

Code: Select all

	<!-- #  3 -->
				<waypoint x="1694" z="-5174" y="772" type="TRAVEL">
					findzi()
					local zoneid = RoMScript("GetZoneID()")
						if zoneid == 209 then
							__WPL:setWaypointIndex(__WPL:findWaypointTag("enter"))
						end
				</waypoint>
here it is already in the instance
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#34 Post by M4gm4 » Thu Feb 02, 2012 4:00 pm

there is so many strange, i dont know where i start ^^

ok,
#1
if

Code: Select all

					changeProfileOption("EGGPET_ENABLE_ASSIST", "false")
it calls the eggpet,,, whether true or false (settings in the profile are "false")


#2
if

Code: Select all

					instancebuff = false
I get a LUA error at waypoint 8

I made the suggested changes, but no change
I write something I do. maybe I am doing something wrong.

1. start rombot with main char, load profile, load main.xml
2. start rombot with second char, load profile, load party.xml

- second char goes to merchand, go to entrance of dod, jumps, go in ,, call his name in partychat and wait for leader come in
- main goes to entrance, reset party and invite , stops ( and the second char was in instance, so he is portet out^^)
doderror.jpg
I use the google translator, so do not be surprised if my english is funny

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#35 Post by lisa » Thu Feb 02, 2012 5:05 pm

try

Code: Select all

changeProfileOption("EGGPET_ENABLE_ASSIST", false)
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

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#36 Post by Germangold » Fri Feb 03, 2012 2:53 am

my constellation...

main: warrior/knight 50k Life. Manually I kill mallander after his first leap. right before he has like 40%-50% life depening on my critical hits.

party: priest/mage. it's basicaly a mage just change 1st/2nd class for party support

My question is could the party.xml implement a healer function when main class is druid or priest?


Also with party.xml when running as mage/priest it does very very little dmg on mad.mallender like is super precautious or sth.

tried it over 2 hours, went out with a big xp depth :D and zero mementos whatsoever....

BUT i have recognized that there where other "party bots" as well a group of 6 chars:

1. Knight/scout
2. mage/priest
3. mage/priest
4. mage/priest
5. warden/druid
6. rouge/scout

they just walked the same path over and over again and never answerde any Whisper request.....

doing this with 6! chars would really push it thats like 500~600 mementos per hour (okay its on 6 different chars.. but would work right)

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#37 Post by M4gm4 » Fri Feb 03, 2012 4:37 am

lisa wrote:try

Code: Select all

changeProfileOption("EGGPET_ENABLE_ASSIST", false)

dont work
M4gm4 wrote:there is so many strange, i dont know where i start ^^

ok,
#1
if

Code: Select all

					changeProfileOption("EGGPET_ENABLE_ASSIST", "[color=#BF0040]false"[/color])
it calls the eggpet,,, whether true or false (settings in the profile are "false")
no matter what I set, he always calls the eggpet, whether true or false
I use the google translator, so do not be surprised if my english is funny

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#38 Post by M4gm4 » Fri Feb 03, 2012 6:29 am

k, i´m testing around ,,, and deactivate ireset() with <!-- ireset() --> in the waypoint 2
main goes in the instance, but runs solo , partychar waits

my problem is in the ireset() function when i play with a party , with solo runs theres no probs
and on waypoint 8 solo/party

ireset()

Code: Select all

					function ireset()
						local EventPartyName = "DoD"
						local readycheck1 = RoMScript("UnitName('party1')")
						local readycheck2 = RoMScript("UnitName('party2')")
						local readycheck3 = RoMScript("UnitName('party3')")
						local readycheck4 = RoMScript("UnitName('party4')")
						local readycheck5 = RoMScript("UnitName('party5')")
						local groupnumber = RoMScript("GetNumPartyMembers()")
						if Instancereset == true then
							SlashCommand("ILG destroy")
							yrest(500)
							SlashCommand("ILG inv")
						elseif gcheck() == true then
							repeat
							until checkparty(400) == true
							yrest(200)
							SlashCommand("ILG destroy")
							yrest(500)
							SlashCommand("ILG inv")
						end
						yrest(200)

						if 1 == srun and 0 == groupnumber then
							srun = srun+1
						elseif gcheck() == false then
							cprintf(cli.red, "You must wait 30min to reset instance or groupe a player\n")
							local _time = os.time()
							repeat
							until gcheck() == true or (os.time() - _time > 1800)
							srun = 1
						end

						if not Instancereset == true then
							eventparty(EventPartyName, "start")	
							yrest(500)
							if readycheck1 == nil then
								pname1 = ("Solo_run")
								cprintf(cli.red, "!!! Warning you not in a group !!!\n")
							else
								pname1 = readycheck1
							end
							if readycheck2 == nil then
								pname2 = ("NoPartyMembers")
							else
								pname2 = readycheck2
							end
							if readycheck3 == nil then
								pname3 = ("NoPartyMembers")
							else
								pname3 = readycheck3
							end
							if readycheck4 == nil then
								pname4 = ("NoPartyMembers")
							else
								pname4 = readycheck4
							end
							if readycheck5 == nil then
								pname5 = ("NoPartyMembers")
							else
								pname5 = readycheck5
							end
							keyboardPress(key.VK_SPACE)
							yrest(1000)
							repeat
							yrest(500)
							local message = checkeventparty(EventPartyName,{pname1,pname2,pname3,pname4,pname5})
							if message and message == pname1 or pname1 == "Solo_run" then char1 = true end
							if message and message == pname2 or pname2 == "NoPartyMembers" then char2 = true end
							if message and message == pname3 or pname3 == "NoPartyMembers" then char3 = true end
							if message and message == pname4 or pname4 == "NoPartyMembers" then char4 = true end
							if message and message == pname5 or pname5 == "NoPartyMembers" then char5 = true end
							until char1 and char2 and char3	and char4 and char5
							char1 = false
							char2 = false
							char3 = false
							char4 = false
							char5 = false
							eventparty(EventPartyName, "stop")
						end
					end
and waypoint 8

Code: Select all

	<!-- #  8 -->
				<waypoint x="2191" z="2520" y="401">
					if instancebuff == true then
						player:update() 
						if player:hasBuff(506432) then
							__WPL:setWaypointIndex(__WPL:findWaypointTag("buffok"))
						else
							__WPL:setWaypointIndex(__WPL:findWaypointTag("getbuff"))
						end
					else
						__WPL:setWaypointIndex(__WPL:findWaypointTag("buffok"))
					end
				</waypoint>
I use the google translator, so do not be surprised if my english is funny

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

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#39 Post by Xmen » Fri Feb 03, 2012 3:39 pm

Germangold wrote:my constellation...
My question is could the party.xml implement a healer function when main class is druid or priest?
...
yes I will add this for the next update

M4gm4 wrote: k, i´m testing around ,,, and deactivate ireset() with <!-- ireset() --> in the waypoint 2
...
Please should be noted the following


I've looked at the files again and run many test (over 12H) everything perfectly.
If you have problems with the Waypoint then please follow the following steps

1. remove all old waypoint files
2. check if you have all user function
3. download the waypoint files again
4. launch game with main char.
5. launch MM and load main.xml
6. launch game with sec. char.
7. if you want to have more then 2 players repeat step 6
8. invite all players
9. launch MM and load party.xml for each party members, except the main char
10. have fun and many mementos (i am 2880mementos / 6char. per Hour) :lol:
--[[Hi @ll my english is very bad so I have translated the following text with google]]--

M4gm4
Posts: 137
Joined: Sun Jan 30, 2011 2:30 pm

Re: DoD (Dungen of Dalanis) 1. boss farming Waypoint

#40 Post by M4gm4 » Fri Feb 03, 2012 6:40 pm

-i removed all waypoints
downloaded new
-removed userfunction_partymonitoring
downloaded new

install invite last group new
install madma.addon new
install invitebyfriend new

i start the main
i start the party member and invite in the group (main has lead)
set instance level to easy (german "einfach" )
start MM for main and load main.xml
main runs to the entrance , stops bevor, jumps, destroy group, load new group, message in MM is
- Round Nbr. 1
- Party member 1 has the name <PartymemberOneName>
- DoD Monitor Startet

start a new MM for Partymember and load party.xml
partymember runs to entrance of instance, jumps, go in instance, sayid his name in the partychannel and stops

thats all ^^ main stands outside and do nothing

EDIT// ohhhhh myyyyy god ^^
fixed the start with
If you don't currently have an addon to give the os.time() function in game then you will need an addon like d303fix
http://rom.curse.com/downloads/rom-addo ... 03fix.aspx


found in http://www.solarstrike.net/phpBB3/viewt ... 257#p21257 GM detection and banning chance reduction
I use the google translator, so do not be surprised if my english is funny

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests