Auto refine ORidecon

Moderator: Moderators

Message
Author
hyperman88
Noob
Noob
Posts: 1
Joined: 09 Aug 2015, 21:02
Noob?: Yes

Auto refine ORidecon

#1 Post by hyperman88 »

Hi Team,

Im a newbie in macro., can you help me the steps on how to configure the auto refine oridecon.
Please help the steps.

Thanks much

User avatar
SkylorD
Moderators
Moderators
Posts: 1167
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Auto refine ORidecon

#2 Post by SkylorD »

http://www.openkore.com/index.php/Macro_plugin

Start reading the macro plugin.

Then you could use the search with easily macros example.

http://forums.openkore.com/viewtopic.php?f=10&t=17100

Some players have difficulty to assimilate the "structure" of macro plugin. But if you know the structure :

Code: Select all

automacro Name {
Conditions
call {
Commands
}
}

or

Code: Select all

automacro Name  {
Conditions
call named
}

macro named {
Commands
} 
We could do whatever we want (8). Organize in your mind which steps should you follow. For example :

-I need move to some place
-I need to know the NPC coords
-I need to know how to talk appropriately with the npc
-How to check if i have some items. / How to do for this macro don't activate automatically in some circunstances, such as not enough oridecons, no money, some cases you want.

I'm giving you a tip. You don't need to follow all steps i said, but you can use some and sure you'll use.

And it goes on.

Good luck !
Learn rules

skydrake
Noob
Noob
Posts: 5
Joined: 23 Mar 2015, 11:12
Noob?: Yes

Re: Auto refine ORidecon

#3 Post by skydrake »

i had made 1 here thou, is a newbie macro but it work for me. if anyone can polish my macro better PLEASE DO IT I BEG U :D

if u guys like it and wants to have more location just add in :D

Code: Select all

###make elunium & oridecon start###

#make elunium section#
macro make_elu {
	if ($.map == prontera) call prontera_bs_elu
	if ($.map == prt_in) call prontera_bs_elu
	if ($.map == payon) call payon_bs_elu
	if ($.map == payon_in01) call payon_bs_elu
	if ($.map == morocc) call morocc_bs_elu
	if ($.map == morocc_in) call morocc_bs_elu
	else {
		log :::::::::: TOO FAR FROM TOWN, MACRO STOPPED
		log :::::::::: ONLY SUPPORT BS AT PRONTERA, PAYON & MOROCC
		stop 
	}
}
	
macro prontera_bs_elu {
log :::::::::: MAKE ELUNIUM IN PROGRESS
$roughelu = @invamount (rough elunium)
		if ($roughelu >= 5) goto makeelu
		log :::::::::: @PRONTERA: INSUFFICIENT INGREDIENTS
		stop
		
		:makeelu
		do move prt_in 63 65 
		do talknpc 63 69 r1
		log :::::::::: @PRONTERA: TASK DONE!
		call prontera_bs_elu
}
		
macro payon_bs_elu {
log :::::::::: MAKE ELUNIUM IN PROGRESS
$roughelu = @invamount (rough elunium)
		if ($roughelu >= 5) goto makeelu
		log :::::::::: @PAYON: INSUFFICIENT INGREDIENTS
		stop
		
		:makeelu
		do move payon 141 173
		do talknpc 137 178 r1
		log :::::::::: @PAYON: TASK DONE!
		call payon_bs_elu
}

macro morocc_bs_elu {
log :::::::::: MAKE ELUNIUM IN PROGRESS
$roughelu = @invamount (rough elunium)
		if ($roughelu >= 5) goto makeelu
		log :::::::::: @MOROCC: INSUFFICIENT INGREDIENTS
		stop
		
		:makeelu
		do move morocc_in 69 32
		do talknpc 72 32 r1
		log :::::::::: @MOROCC: TASK DONE!
		call morocc_bs_elu
}

#make oridecon section#
macro make_ori {
	if ($.map == prontera) call prontera_bs_ori
	if ($.map == prt_in) call prontera_bs_ori
	if ($.map == payon) call payon_bs_ori
	if ($.map == payon_in01) call payon_bs_ori
	if ($.map == morocc) call morocc_bs_ori
	if ($.map == morocc_in) call morocc_bs_ori
	else {
		log :::::::::: TOO FAR FROM TOWN, MACRO STOPPED
		log :::::::::: ONLY SUPPORT BS AT PRONTERA, PAYON & MOROCC
		stop 
	}
}
	
macro prontera_bs_ori {
log :::::::::: MAKE ORIDECON IN PROGRESS
$roughori = @invamount (rough oridecon)
		if ($roughori >= 5) goto makeori
		log :::::::::: @PRONTERA: INSUFFICIENT INGREDIENTS
		stop
		
		:makeori
		do move prt_in 63 65 
		do talknpc 63 69 r0
		log :::::::::: @PRONTERA: TASK DONE!
		call prontera_bs_ori
}
		
macro payon_bs_ori {
log :::::::::: MAKE ORIDECON IN PROGRESS
$roughori = @invamount (rough oridecon)
		if ($roughori >= 5) goto makeori
		log :::::::::: @PAYON: INSUFFICIENT INGREDIENTS
		stop
		
		:makeori
		do move payon 141 173
		do talknpc 137 178 r0
		log :::::::::: @PAYON: TASK DONE!
		call payon_bs_ori
}

macro morocc_bs_ori {
log :::::::::: MAKE ORIDECON IN PROGRESS
$roughori = @invamount (rough oridecon)
		if ($roughori >= 5) goto makeori
		log :::::::::: @MOROCC: INSUFFICIENT INGREDIENTS
		stop
		
		:makeori
		do move morocc_in 69 32
		do talknpc 72 32 r0
		log :::::::::: @MOROCC: TASK DONE!
		call morocc_bs_ori
}

###make elunium & oridecon end###

Post Reply