Page 1 of 2

Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 3:15 am
by Hulabob
First off i wanted to say that i use/read this forum for over 2 years now and i havent posted on here yet, but read a lot.
So the new zone is out and i was looking for a new Daily + Eoj-Quest and i found this Daily called "Research Expert"

Here are the Waypoints:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload> speed()
	</onload>
<!-- #  1 --><waypoint x="15378" z="35837" y="688"> player:target_NPC("Jenn Shadoli");
AcceptQuestByName("Forschungsexperte");
</waypoint>
<!-- #  2 --><waypoint x="15378" z="35837" y="688">
		 player:target_Object(123369,500);
		 player:target_Object(123368,500);
		 player:target_Object(123508,500);
		 </waypoint>
<!-- #  3 --><waypoint x="15378" z="35837" y="688">		 
player:target_NPC("Jenn Shadoli");
           CompleteQuestByName("Forschungsexperte")		</waypoint> </waypoints>
Hope you all like it or maybe can tweak a little bit and post it here :)

Edit: 1 Quest takes about 13 seconds and gives you 80/6000 points for EoJ so it takes over 16 minutes for the Event, i know its possible to get it done much faster but im a noob.

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 10:05 am
by noobbotter
What area of the new zone is this quest in? Looking forward to trying it out!

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 10:41 am
by Hulabob
The are is called Balu Village, coordinates are about 52/66

PS: Is it possible to switch the channel after i get 1-35 Energies?

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 11:31 am
by noobbotter
Yes it is. Give me a few minutes to look through one of my old eoj scripts and I'll let you know what I find.

Ok, I threw this together so I don't know if it will work or not:

Code: Select all

	local currentChannel = 1
	
	
	function changeChannel()
		if currentChannel == 3 then
			currentChannel = 1
		else
			currentChannel += 1
		end
		RoMScript("ChangeParallelID(currentChannel)")
		repeat
			yrest(1000)
		until RoMScript("GetCurrentParallelID()") == currentChannel
	end
Both of those should go into the onLoad section. Then when you want to change channel just run changechannel(). The trick will be figuring out when to start and when to change the channel.

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 11:45 am
by Hulabob
So i made it faster^^

First of all you need to update your DailyNotes manually.

Step 1: Open the db_quest.Lua in your DailyNotes Folder
Step 2: Find this -> [427017] ......... -- The Brutal Blood Vine // Die Brutale Blutranke
Step 3: Make a new Line
Step 4 Enter these 4 things under each other

Code: Select all

--[[ [ Kashaylan / Kashaylan (30) ]]

Code: Select all

[427048]={typ= 1, lvl=92, rlvl=90, zone=30, items={[243179]=  1}, giver=123561, rew={635168,48146,10}, preq=426988},   -- Research Expert // Forschungsexperte

Code: Select all

[427058]={typ= 1, lvl=92, rlvl=90, zone=30, items={[243179]=  1}, giver=123561, rew={0,0,0,80}, preq=426988},   -- Research Expert // Forschungsexperte

Code: Select all

--[[ ] ]]

And finally here is my new Waypoint or whatever you might call it:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload> speed()
	</onload>
<!-- #  1 --><waypoint x="15378" z="35837" y="688"> player:target_NPC("Jenn Shadoli");
 sendMacro("UseAction(1)");

		 player:target_Object(123369,20);
		 player:target_Object(123368,20);
		 player:target_Object(123508,20);
		 
player:target_NPC("Jenn Shadoli");
            sendMacro("UseAction(1)");		</waypoint> </waypoints>
Hotkey must be "Attack"

Sincerly a noob

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 12:05 pm
by noobbotter
When I was doing the EOJ in Chrysalia, I used to use the following code to know when the eoj event started:

Code: Select all

	function waitevent() <!-- this will wait for event start message. Works every time regardless of display -->
		local gomsg = getTEXT("SC_ZONE_PE_3TH_ST1START")
		print("Wait for event start...\n") -- wait here
		repeat
			yrest(500)
		until getLastWarning("|cffffff80"..gomsg.."|r", 15)
		starttime = os.time()
		print("Event has started...\n")
	end
What I don't know is if the start message ("SC_ZONE_PE_3TH_ST1START") is the same in this zone or if it is different in different zones.

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 12:10 pm
by Hulabob
Im not at the computer at the moment. Can you test this somehow?

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 12:30 pm
by rock5
noobbotter wrote:Ok, I threw this together so I don't know if it will work or not:

Code: Select all

	local currentChannel = 1
	
	
	function changeChannel()
		if currentChannel == 3 then
			currentChannel = 1
		else
			currentChannel += 1
		end
		RoMScript("ChangeParallelID(currentChannel)")
		repeat
			yrest(1000)
		until RoMScript("GetCurrentParallelID()") == currentChannel
	end
I can see 2 errors.

1.

Code: Select all

currentChannel += 1
should be

Code: Select all

currentChannel = currentChannel + 1
2.

Code: Select all

RoMScript("ChangeParallelID(currentChannel)")
should be

Code: Select all

RoMScript("ChangeParallelID("..currentChannel..")")
And I have a suggestion. Instead of starting with

Code: Select all

currentChannel = 1
why not start with the actual current channel

Code: Select all

currentChannel = RoMScript("GetCurrentParallelID()")
You could even add it in the function like so

Code: Select all

	function changeChannel()
		local currentChannel = RoMScript("GetCurrentParallelID()") + 1
		if currentChannel == 3 then
			currentChannel = 1
		end
		RoMScript("ChangeParallelID("..currentChannel..")")
		repeat
			yrest(1000)
		until RoMScript("GetCurrentParallelID()") == currentChannel
	end

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 12:48 pm
by noobbotter
Thanks Rock5. I'm not currently at a computer I can test with.

So do you know if that event start message (SC_ZONE_PE_3TH_ST1START) is the same in all zones/channels?

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 5:58 pm
by noobbotter
I got a chance to try it out. Just some quick notes:

The latest DailyNotes already has that quest in it (both daily and public).

If using Dailynotes and the quest is set for autoaccept, then you don't need to attack() the NPC to accept and turn in. This is what I'm currently using and it's working great:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload> 
	
	--============= Set profile options for this quest ===============--
	
	settings.profile.options.EGGPET_ENABLE_ASSIST = false
		
	__WPL:setWaypointIndex(__WPL:findWaypointTag("getQuest"))

</onload>

<!-- #  1 --><waypoint x="15378" z="35837" y="688" tag="getQuest"> 
			player:target_NPC(123561) -- Jenn Shadoli
			
	</waypoint>
<!-- #  2 --><waypoint x="15378" z="35837" y="688">
			player:target_Object(123369,40);
			player:target_Object(123368,40);
			player:target_Object(123508,40);
	</waypoint>
<!-- #  3 --><waypoint x="15378" z="35837" y="688">       
			player:target_NPC(123561) -- Jenn Shadoli
			__WPL:setWaypointIndex(__WPL:findWaypointTag("getQuest"))
	</waypoint> 
</waypoints>

Re: Kashaylan fastest Daily (~13secs)

Posted: Tue May 26, 2015 10:51 pm
by Hulabob
Alright im gonna try this now.

Btw DailyNotes just had an update, when i checked last yesterday there still wasnt an update.

Re: Kashaylan fastest Daily (~13secs)

Posted: Wed May 27, 2015 1:04 am
by rock5
If you like, I just added a userfunction to set up quests in daily notes.
http://solarstrike.net/phpBB3/viewtopic ... 225#p61225

For instance in the onload you would add

Code: Select all

DN_AutoQuest(123456)
Where 123456 is the quest id.

That way if you want to use this daily with lots of characters you don't have to change the DailyNotes setting for each one, the script will do it.

Re: Kashaylan fastest Daily (~13secs)

Posted: Wed May 27, 2015 7:02 am
by Braziliano
hey rock i noticed when u click on items or talk to an npc , it uses left click correct? .. is it possible to switch it to right click?

Re: Kashaylan fastest Daily (~13secs)

Posted: Wed May 27, 2015 8:02 am
by rock5
I don't think so. We use the attack command to simulate left click. I don't think there is any function that simulates the right click functionality.

Re: Kashaylan fastest Daily (~13secs)

Posted: Wed May 27, 2015 10:23 pm
by noobbotter
Ok, I figured out an even faster method...

I was looking at the CPlayer:target_Object function in player.lua and found that there is a minimum wait time of 1000 (1 second).

So I looked at how the function works and built my own specifically for this waypoint:

Code: Select all

	function fastTarget(_objid, waittime)
		obj = player:findNearestNameOrId(_objid)
		player:target(obj.Address)
		yrest(100)
		Attack()
		yrest(waittime)
	end
then in the part where you accept quest (using daily notes), click the objects, then turn in quest, you use this:

Code: Select all

player:target_NPC(123561) -- Jenn Shadoli
			yrest(200)
			fastTarget(123369,200);
			fastTarget(123368,200);
			fastTarget(123508,200);
			yrest(200)
			player:target_NPC(123561) -- Jenn Shadoli


Each quest takes about 2 seconds.

Re: Kashaylan fastest Daily (~13secs)

Posted: Thu May 28, 2015 12:01 am
by rock5
Good one. Although I wouldn't be surprised if depends on ping times.So some people might need to slow it down if it doesn't work.

Re: Kashaylan fastest Daily (~13secs)

Posted: Thu May 28, 2015 7:05 am
by noobbotter
Yeah, mine misses every once in a while but when it does, it simply picks up the next time through the cycle so it doesn't error out. Main thing with this is you have to be sure you're positioned where you need to be because the bot doesn't have time to move into position doing it this way. I managed to do all 3 channels in one event round with this.

Research Expert EOJ

Posted: Thu May 28, 2015 7:44 pm
by Braziliano
stand on the table with the flasks , check the eoj quest with daily notes.

Re: Kashaylan fastest Daily (~13secs)

Posted: Fri May 29, 2015 9:54 am
by CoIogne01
Hi one question

How do I find a quest ID ?


Thanks for answers

Re: Kashaylan fastest Daily (~13secs)

Posted: Sat May 30, 2015 10:10 am
by Braziliano
CoIogne01 wrote:Hi one question

How do I find a quest ID ?


Thanks for answers

http://www.solarstrike.net/phpBB3/viewt ... =27&t=4977

rock5 addon