Openkore.com

OpenKore Forums
It is currently 17 Nov 2018, 13:25

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Auto refine ORidecon
PostPosted: 09 Aug 2015, 21:47 
Offline
Noob
Noob

Joined: 09 Aug 2015, 21:02
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: Auto refine ORidecon
PostPosted: 17 Aug 2015, 12:13 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1212
Location: Brazil
http://www.openkore.com/index.php/Macro_plugin

Start reading the macro plugin.

Then you could use the search with easily macros example.

viewtopic.php?f=10&t=17100

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

Code:
automacro Name {
Conditions
call {
Commands
}
}


or

Code:
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 !

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

viewtopic.php?f=10&t=16117

Thanks for this Eternal! =D <3<3


Top
 Profile  
 
 Post subject: Re: Auto refine ORidecon
PostPosted: 30 Mar 2016, 23:42 
Offline
Noob
Noob

Joined: 23 Mar 2015, 11:12
Posts: 5
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:
###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###


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group