Kashaylan fastest Daily (~13secs)

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
Hulabob
Posts: 8
Joined: Wed Feb 25, 2015 10:21 pm

Kashaylan fastest Daily (~13secs)

#1 Post by Hulabob » Tue May 26, 2015 3:15 am

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.

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#2 Post by noobbotter » Tue May 26, 2015 10:05 am

What area of the new zone is this quest in? Looking forward to trying it out!

Hulabob
Posts: 8
Joined: Wed Feb 25, 2015 10:21 pm

Re: Kashaylan fastest Daily (~13secs)

#3 Post by Hulabob » Tue May 26, 2015 10:41 am

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?

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#4 Post by noobbotter » Tue May 26, 2015 11:31 am

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.
Last edited by noobbotter on Tue May 26, 2015 11:59 am, edited 1 time in total.

Hulabob
Posts: 8
Joined: Wed Feb 25, 2015 10:21 pm

Re: Kashaylan fastest Daily (~13secs)

#5 Post by Hulabob » Tue May 26, 2015 11:45 am

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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#6 Post by noobbotter » Tue May 26, 2015 12:05 pm

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.

Hulabob
Posts: 8
Joined: Wed Feb 25, 2015 10:21 pm

Re: Kashaylan fastest Daily (~13secs)

#7 Post by Hulabob » Tue May 26, 2015 12:10 pm

Im not at the computer at the moment. Can you test this somehow?

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

Re: Kashaylan fastest Daily (~13secs)

#8 Post by rock5 » Tue May 26, 2015 12:30 pm

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
  • 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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#9 Post by noobbotter » Tue May 26, 2015 12:48 pm

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?

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#10 Post by noobbotter » Tue May 26, 2015 5:58 pm

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>

Hulabob
Posts: 8
Joined: Wed Feb 25, 2015 10:21 pm

Re: Kashaylan fastest Daily (~13secs)

#11 Post by Hulabob » Tue May 26, 2015 10:51 pm

Alright im gonna try this now.

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

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

Re: Kashaylan fastest Daily (~13secs)

#12 Post by rock5 » Wed May 27, 2015 1:04 am

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.
  • 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

Braziliano
Posts: 82
Joined: Fri Apr 19, 2013 2:36 pm

Re: Kashaylan fastest Daily (~13secs)

#13 Post by Braziliano » Wed May 27, 2015 7:02 am

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?

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

Re: Kashaylan fastest Daily (~13secs)

#14 Post by rock5 » Wed May 27, 2015 8:02 am

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.
  • 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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#15 Post by noobbotter » Wed May 27, 2015 10:23 pm

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.

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

Re: Kashaylan fastest Daily (~13secs)

#16 Post by rock5 » Thu May 28, 2015 12:01 am

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.
  • 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

noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Kashaylan fastest Daily (~13secs)

#17 Post by noobbotter » Thu May 28, 2015 7:05 am

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.

Braziliano
Posts: 82
Joined: Fri Apr 19, 2013 2:36 pm

Research Expert EOJ

#18 Post by Braziliano » Thu May 28, 2015 7:44 pm

stand on the table with the flasks , check the eoj quest with daily notes.
Attachments
new zone eoj.xml
stand on the table with the flasks.
(862 Bytes) Downloaded 495 times

CoIogne01
Posts: 25
Joined: Sun Oct 09, 2011 9:22 am
Location: Germany

Re: Kashaylan fastest Daily (~13secs)

#19 Post by CoIogne01 » Fri May 29, 2015 9:54 am

Hi one question

How do I find a quest ID ?


Thanks for answers

Braziliano
Posts: 82
Joined: Fri Apr 19, 2013 2:36 pm

Re: Kashaylan fastest Daily (~13secs)

#20 Post by Braziliano » Sat May 30, 2015 10:10 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests