change map after certain time/item

Discussion about everything RO and OpenKore related. This place is NOT for ANY kind of support questions.

Moderator: Moderators

Message
Author
d3l4croix
Noob
Noob
Posts: 11
Joined: 14 Jun 2012, 04:44
Noob?: Yes

change map after certain time/item

#1 Post by d3l4croix »

i've search around much and cant find it. ive seen it somewhere before


the macro change lockmap after certain time, or after certain item condition is fulfilled. help please

andy12345
Moderators
Moderators
Posts: 174
Joined: 04 Apr 2008, 10:21
Noob?: No
Location: In your dreams...

Re: change map after certain time/item

#2 Post by andy12345 »

Searched you say?
All I did was enter macro in the wiki's search, and I got this http://www.openkore.com/index.php/Macro ... l_Keywords

d3l4croix
Noob
Noob
Posts: 11
Joined: 14 Jun 2012, 04:44
Noob?: Yes

Re: change map after certain time/item

#3 Post by d3l4croix »

andy12345 wrote:Searched you say?
All I did was enter macro in the wiki's search, and I got this http://www.openkore.com/index.php/Macro ... l_Keywords

how to use it? :?

d3l4croix
Noob
Noob
Posts: 11
Joined: 14 Jun 2012, 04:44
Noob?: Yes

Re: change map after certain time/item

#4 Post by d3l4croix »

andy12345 wrote:Searched you say?
All I did was enter macro in the wiki's search, and I got this http://www.openkore.com/index.php/Macro ... l_Keywords
sorry i abit noob here. if i do like this, will my bot change map between um_fild03 to beach_dun02 every 1 hour?

Code: Select all

automacro chgmap {
   priority 2
   exclusive 1
   call mapchk
   timeout 3600
}
macro mapchk {
   if (conf lockmap == um_fild03) goto change1
   if (conf lockmap == beach_dun2) goto change2
   
   
   
   :chnge1
   do conf lockMap beach_dun2
   :chnge2
   do conf lockMap um_fild03
   
   
}

d3l4croix
Noob
Noob
Posts: 11
Joined: 14 Jun 2012, 04:44
Noob?: Yes

Re: change map after certain time/item

#5 Post by d3l4croix »

got solution already. can close thread


#######################################
##############change map###############
#######################################
automacro chgmap {
priority 2
exclusive 1
call mapchk
timeout 25200


}
macro mapchk {
$configu = ve_fild03
if ($configu == @config(lockMap)) goto chng2
if ($configu != @config(lockMap)) goto chng1

:chng1
do conf lockMap ve_fild03
goto fimchmp
:chng2
do conf lockMap ve_fild04
:fimchmp
log ----- lockMap was set to @config (lockMap) -----

} change map acording to what map you wnat your bot go, and change timeout according to your preference

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: change map after certain time/item

#6 Post by EternalHarvest »

What about autoConfChange?

d3l4croix
Noob
Noob
Posts: 11
Joined: 14 Jun 2012, 04:44
Noob?: Yes

Re: change map after certain time/item

#7 Post by d3l4croix »

EternalHarvest wrote:What about autoConfChange?
i missed that. :lol: , forgot about that function that time.

Post Reply