Page 2 of 3

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Fri Feb 28, 2014 9:47 am
by Sasuke
where can i add quest type and how?can you say me an examplenever do it

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Fri Feb 28, 2014 10:13 am
by rock5
I don't understand why you need to check the quest type. If the dailies are finished then the dailies are finished. But if you need to check the daily quest you can use the type in all the quest functions eg.
  • getQuestStatus("quest name", "daily")
    AcceptQuestByName("quest name", "daily")
    CompleteQuestByName("quest name", "daily")

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Fri Feb 28, 2014 10:42 am
by runegod
if you use daily note addon, u dont have to check for the quest state for the quest, can do both the daily and public eoj at the same time

but yea, went and download all the other userfunctions needed, and finally got to cap level now doing a few resets.

good thing about this quest is that you can be in a party and just need to be there for the kill of the elite mob and everyone gets the quest completed,

i play on a slower laptop so it takes me around 80 seconds for one daily,
but saw a guy with his 6 person mount and 6 alts following him around while he kills the boss, good way for tp/xp token farm if you actually have that many alt that high of a level lol.

keep up the nice work :mrgreen:

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Fri Feb 28, 2014 6:43 pm
by noobbotter
One thing I've found is that for the public, if you're in a party you have to be the one to kill him to get completion of the public quest. Either that or be the one to aggro him first... I'm not sure because I didn't test it that in depth. I jsut noticed that if in a party you don't always get the quest (public) completed.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Fri Feb 28, 2014 9:44 pm
by rock5
I noticed that with another daily I use. You can leech the daily quest but not the public one.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Mar 09, 2014 1:05 am
by prosika
um

this i rather strange

it does everything just fine , but when it takes quest it just stays at board and repet in bot Quest already accepted Wanted "Guargo the Mad Bull"

and it keeps on doing that :?:

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Mar 09, 2014 6:32 am
by rock5
The quest functions don't seem to be used properly.

Code: Select all

questlog:haveQuest(426557, questtype)
questlog:getQuest(426557, questtype)
These wont work as intended. If you use an Id then it will only match 1 of the quests. If you use the wrong questtype it wont match. It might work if you use the quest name instead.

Code: Select all

questlog:haveQuest(GetIdName(426557), questtype)
questlog:getQuest(GetIdName(426557), questtype)
I would use getQuestStatus myself.

Code: Select all

AcceptQuestByName(426557)
CompleteQuestByName(426557)
Again, these will only match 1 quest. Again you can use the quest name and type.

Code: Select all

AcceptQuestByName(GetIdName(426557,questtype))
CompleteQuestByName(GetIdName(426557),questtype)
Hope that helps. I didn't check everything. They were just the things that were obvious.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Mon Mar 10, 2014 12:25 am
by prosika
it do not work for me,

now it did not target board to take quest

and then i took quest manual but bot post eror and stops just after mob kill

so im just stupid or this wont work to me for some reason
:?

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sat Mar 29, 2014 12:10 am
by spyfromsiochain
I notest a problem when u do swap classes (and only in this case), does everything right and uses daily ticket, but after reset, its in your secondary, and it doesnt change so, it tries to pick up the quest from the board, but cant due to level being lower then required.

regards

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sat Jun 21, 2014 5:44 am
by sauhard
I get an error while the bot accepts the quest.
When it accepts the quests i keeps on repeating "Quest already accepted" and doesn;t move on. Maybe i miss some userfunction?
i Use micromacro v1.04.154

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sat Jun 21, 2014 8:05 am
by rock5
Did you read my post a few posts up?
http://www.solarstrike.net/phpBB3/viewt ... 606#p56606

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sat Jun 21, 2014 2:11 pm
by i1own0u

Code: Select all

	function getquest()
		quest = questlog:haveQuest(GetIdName(426557), questtype) -- Wanted: "Guargo the Mad Bull"
		if quest == false then 
			repeat
				player:target_Object(122806) -- Port Bulletin Board
				yrest(100)
				AcceptQuestByName(GetIdName(426557),questtype)
				yrest(200)
			until questlog:haveQuest(GetIdName(426557), questtype)
		end
	end
	
	function completequest()
		quest2 = questlog:getQuest(GetIdName(426557), questtype)
		if quest2:isComplete() then
			repeat
				player:target_NPC(122760) -- Chuck Willis
				yrest(200)
				CompleteQuestByName(GetIdName(426557),questtype) -- Wanted: "Guargo the Mad Bull"
			until not questlog:haveQuest(GetIdName(426557), questtype)
		end
Accepts, but afterwards says 'Questname not found: Wanted: "Guargo the Mad Bull"

Didn't read much of the code just on break from work lol

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sat Jun 21, 2014 3:02 pm
by rock5
I think that means that questlog:haveQuest is not returning the right value. Do you have the latest questlog userfunction installed? Which quest are you trying to accept, the daily or the event? When it accepts the quest, is it the right one? Do you have any addons that autoaccept quests such as DailyNotes?

It looks like questlog:haveQuest doesn't use the questgroup option but as far as I can tell it should still work. You could try getQuestStatus anyway instead, eg.

Code: Select all

until getQuestStatus(GetIdName(426557), questtype) ~= "not accepted"

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 2:27 am
by sauhard
well this is how i edited it.. But i get a new error now.. dunno what did i do wrong

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 2:59 am
by rock5
I see a mistake on line 113.

Code: Select all

				AcceptQuestByName(GetIdName(426557,questtype)
It's missing a bracket. Should be.

Code: Select all

				AcceptQuestByName(GetIdName(426557),questtype)
In future, an easy way to find an error in the onload is to move the whole onload (not including the <onload> and </onload> tags) into an lua file, eg. FjordMadBull_onload.lua then calling it in the onload, eg.

Code: Select all

</onload>
include("waypoints/FjordMadBull_onload.lua",true)
</onload>
Then if you get an error it will include a better description and a line number.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 3:44 am
by sauhard
Ok this time it was no compilation error.
But what happens now is , it goes to npc accpets the daily and shows a error rather say stuck.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 8:23 am
by rock5
It looks messed up because it says it accepts it then can't find it. The current AcceptQuestByName checks if you have the quest first before trying to accept the quest so if questlog:haveQuest wasn't working you should be getting "Quest already accepted" messages. So please answer these questions.

1. Did you install the old questByName userfunctions by mistake?
2. Have you got the latest questlog userfunction installed? I believe the latest is 0.06.
3. Do you have an addon that automatically accepts quests such as dailynotes?
4. Are you using an older version of the bot?

What does your getquest function look like at the moment?

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 8:38 am
by sauhard
Well i did not install any questbyname userfunction.
Yes i have the latest QUestlog userfunction
yes i have dailynotes but i have not put in on for auto quest for those 2 quests
Well the bot i use us v 1.04.154

don't have any getquest userfunction

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 8:51 am
by rock5
The bot version (or revision) is the number you see at the bottom of the picture when you start the bot, eg.

Code: Select all

RoM Bot Version 3.29, Revision 777
In my case the version is 777 which is the latest.

getquest is the part of fjordmadbull.xml you have been editing.

Re: Wailing Fjord Daily/Public Mad Bull

Posted: Sun Jun 22, 2014 12:07 pm
by sauhard

Code: Select all

function getquest()
		quest = questlog:haveQuest(GetIdName(426557), questtype) -- Wanted: "Guargo the Mad Bull"
		if quest == false then 
			repeat
				player:target_Object(122806) -- Port Bulletin Board
				yrest(100)
				AcceptQuestByName(GetIdName(426557),questtype)
				yrest(200)
			until questlog:haveQuest(GetIdName(426557), questtype)
		end
	end