Setting Camera Position - Daily Quests Made Easy

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
FactorY
Posts: 7
Joined: Sun Aug 02, 2009 9:00 pm

Setting Camera Position - Daily Quests Made Easy

#1 Post by FactorY » Wed Sep 16, 2009 9:18 am

You ever wished you were able to fully automate your alts to hand in dailies for you?
Well I've got a solution for you

As many of you who have already discovered, rombot tends to change the camera position,angle and zoom as you walk around.
This makes clicking on the daily board a hellish experience as you have to spam the mouseclickR/L like crazy in hope that one will hit.

So I propose you use the following steps to make this job easier:
1. Copy and Paste the following into a Macro

Code: Select all

 /run a,b,c=GetCameraPosition(); DEFAULT_CHAT_FRAME:AddMessage(a); DEFAULT_CHAT_FRAME:AddMessage(b); DEFAULT_CHAT_FRAME:AddMessage(c); 
2. Stand infront of the daily board or w.e you want to click, and move your camera till you get your desired position
3. Execute the macro - (3 numbers will show up in your General Chat tab. Copy these down)
4. Make another macro and paste the following

Code: Select all

/script SetCameraPosition(FIRST NUMBER,SECOND NUMBER,THIRD NUMBER);
5. Chuck that macro onto your skills bar
6. Now goto your daily run waypoints file and get it to execute the macro when at the dialy board


eg. (DONT COPY THIS, IT IS PURELY RANDOM STUFF I MADE UP)

Code: Select all

<waypoints type="TRAVEL" >
	<!-- # 1 --><waypoint x="5529" z="-4428">   	<!--AT DAILY BOARD-->
                for i=0,10 do             
			keyboardPress(key.VK_1);		<!--ASSUMING YOUR MACRO IS AT 1-->
			player:mouseclickR(450, 159, 800, 600);	<!--CLICK ON DAILY BOARD-->
			yrest(1000);				<!--WAIT 1 SECOND-->
			player:mouseclickL(450, 159, 800, 600);	<!--CLICK ON QUEST-->
		end
	</waypoint>

	<!-- # 2 --><waypoint x="5523" z="-4371">	<!--DAILY RECIEVER NPC-->
		player:target_NPC("DAILY NPC");		<!--TALK TO NPC-->
		yrest(1000);				<!--WAIT 1 SECOND-->
		player:mouseclickL(450, 159, 800, 600);	<!--QUEST DIALGUE CLICK IF NECESSARY-->
	</waypoint>
</waypoints>


One question I got is.. If I use the variable i in the for loop as I did, will it affect anything in the other functions?
should I declare another variable? and if so how do it do that


Hope this helps

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Setting Camera Position - Daily Quests Made Easy

#2 Post by Administrator » Wed Sep 16, 2009 10:11 am

Good post. No, using 'i' in your for loop shouldn't cause any problems. However, you could make it local just to make sure:

Code: Select all

local i;
for i = 1,10 do
...

GurdyMan
Posts: 34
Joined: Fri Sep 11, 2009 5:34 pm

Re: Setting Camera Position - Daily Quests Made Easy

#3 Post by GurdyMan » Wed Sep 16, 2009 2:35 pm

I simply use

Code: Select all

player:scan_for_NPC("Bullet");

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Setting Camera Position - Daily Quests Made Easy

#4 Post by d003232 » Wed Sep 16, 2009 4:07 pm

FactorY wrote:

Code: Select all

/script SetCameraPosition(FIRST NUMBER,SECOND NUMBER,THIRD NUMBER);
Instead of define a new skill and use that by a hotkey, it would now be more easy to use the MACRO function directly in your wayointfile:

Code: Select all

sendMacro("SetCameraPosition(FIRST NUMBER,SECOND NUMBER,THIRD NUMBER);");
or

Code: Select all

RoMScript("SetCameraPosition(FIRST NUMBER,SECOND NUMBER,THIRD NUMBER);");
First function is with a line in the MM window. Second without.
The RoM Bot Online Wiki needs your help!

j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: Setting Camera Position - Daily Quests Made Easy

#5 Post by j_schlott » Thu Sep 17, 2009 12:55 pm

all these options still require the rom window to be on top for mouseclicks though, right?

is there no way to target the board with commands, and why doesnt the ChoiceOption() function work inside the board quest list, it seems to only work on Merchant NPCs

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Setting Camera Position - Daily Quests Made Easy

#6 Post by Administrator » Thu Sep 17, 2009 1:18 pm

j_schlott wrote:all these options still require the rom window to be on top for mouseclicks though, right?

is there no way to target the board with commands, and why doesnt the ChoiceOption() function work inside the board quest list, it seems to only work on Merchant NPCs
Nobody really knows. That's something the game developers didn't think of. Good luck trying to ever get them to fix something, though.

j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: Setting Camera Position - Daily Quests Made Easy

#7 Post by j_schlott » Thu Sep 17, 2009 2:15 pm

ok hehe, so it isnt just me

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Setting Camera Position - Daily Quests Made Easy

#8 Post by d003232 » Sat Sep 19, 2009 6:23 am

j_schlott wrote:all these options still require the rom window to be on top for mouseclicks though, right?

is there no way to target the board with commands, and why doesnt the ChoiceOption() function work inside the board quest list, it seems to only work on Merchant NPCs
I don't know how to do it at the blackboard at the moment. But I found some more commands to accept and complete quests at 'Speaking' NPC's like NPC Lehman in the classhall:

Code: Select all

/script SpeakFrame_LoadQuestDetail(1);	-- Show quest detail to accept quest
/script SpeakFrame_LoadQuestDetail(2);	-- Show quest detail to complete quest
/script SpeakFrame_AcceptQuest();	-- accept quest while in details
/script AcceptQuest();		-- accept quest while in details
/script CompleteQuest();	-- complete quest while in details
I'm not sure about the right argument. So just try and error. Would need more time and NPCs to test.
The RoM Bot Online Wiki needs your help!

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Setting Camera Position - Daily Quests Made Easy

#9 Post by d003232 » Sat Sep 19, 2009 6:42 am

The bulletin board/black board seems also to work with the speakframe.xml/speakframe.lua:

Code: Select all

/script  SpeakFrame:Show();
/script  
SpeakFrame_Show();
/script  SpeakFrame_LoadQuest();
/script SpeakFrame_Clear();
I could it get to acceppt one quest. But there seems to be trouble to acceppt a second quest. It seems something to clear the questdetails from the first quest is missing.
The RoM Bot Online Wiki needs your help!

fredgsanford
Posts: 8
Joined: Thu Sep 24, 2009 7:45 am

Re: Setting Camera Position - Daily Quests Made Easy

#10 Post by fredgsanford » Thu Sep 24, 2009 9:09 am

Hmm if your doing dailies just get dailynotes addon and set it to auto quest and then pick what ones you want it to do and in settings also set to only accept if you have items needed. then all you need to do is get the npc click which i think i read you can scan for npc now so that shold take care of finding and clicking or whatever on him?
New to the bot and have not even used it really but looking around boards etc and looks good and just trying to help.

Dailynotes rocks for doing dailies since you don't have to do anything if you have certain ones set to auto accept and finish with the auto quest feature. just have to get to bulletin board and npc and interact with them.

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Setting Camera Position - Daily Quests Made Easy

#11 Post by d003232 » Thu Sep 24, 2009 9:32 am

fredgsanford wrote:Hmm if your doing dailies just get dailynotes addon and set it to auto quest and then pick what ones you want it to do and in settings also set to only accept if you have items needed. then all you need to do is get the npc click which i think i read you can scan for npc now so that shold take care of finding and clicking or whatever on him?
New to the bot and have not even used it really but looking around boards etc and looks good and just trying to help.

Dailynotes rocks for doing dailies since you don't have to do anything if you have certain ones set to auto accept and finish with the auto quest feature. just have to get to bulletin board and npc and interact with them.
thx for the info. Could be a good source to look for the right RoM API functions to interact with the board.
The RoM Bot Online Wiki needs your help!

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests