Openkore.com

OpenKore Forums
It is currently 20 Jun 2018, 07:05

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: equipAuto not working after weapon divest.
PostPosted: 14 Dec 2017, 11:02 
Offline
Human
Human

Joined: 14 Jan 2017, 13:16
Posts: 47
i have a rune knight that uses crimson two hand sword, each time i get weapon divested by a mob i set my openkore to relog for 10 sec. to remove the divest status then equip the sword after. However my bot relogs but does not equips the weapon. here is my codes.
Relog command
Code:
doCommand relog 10 {
   hp
   sp
   homunculus_hp
   homunculus_sp
   homunculus_dead
   onAction
   whenStatusActive EFST_NOEQUIPWEAPON
   whenStatusInactive
   whenFollowing
   spirit
   amuletType
   aggressives
   monsters
   notMonsters
   monstersCount
   stopWhenHit 0
   inLockOnly 0
   notWhileSitting 0
   notInTown 0
   timeout
   disabled 0
   inInventory
   inCart
   inMap
   manualAI 0
}

I have set EFST_AURABLADE as a trigger to use the equipauto string.
Code:
equipAuto {
   topHead
   midHead
   lowHead
   leftHand
   rightHand +7 Crimson Twohand Sword [Ice] [2]
   leftAccessory
   rightAccessory
   robe
   armor
   shoes
   arrow
   monsters
   notMonsters
   monstersCount
   weight 0
   whileSitting
   hp
   sp
   homunculus_hp
   homunculus_sp
   homunculus_dead
   onAction sitAuto
   whenStatusActive
   whenStatusInactive EFST_AURABLADE
   whenFollowing
   spirit
   amuletType
   aggressives
   stopWhenHit 0
   inLockOnly 0
   notWhileSitting 0
   notInTown 0
   timeout 0
   disabled 0
   inInventory
   manualAI 0
}


Top
 Profile  
 
 Post subject: Re: equipAuto not working after weapon divest.
PostPosted: 14 Dec 2017, 12:54 
Offline
Cybernatic Entity
Cybernatic Entity
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 288
Location: Malaysia
Try this, without the entire block

Code:
equipAuto {
rightHand +7 Crimson Twohand Sword [Ice] [2]
leftHand +7 Crimson Twohand Sword [Ice] [2]
}


As a backup, use with autoSwitch_default_rightHand & leftHand
Try with this also.

Code:
autoSwitch_default_rightHand +7 Crimson Twohand Sword [Ice] [2]
autoSwitch_default_leftHand +7 Crimson Twohand Sword [Ice] [2]


If else fail, try use eventMacro with something like this;

Code:
automacro ReEquip {
<Any condition>
call {
do eq &inventory (+7 Crimson Twohand Sword [Ice] [2])
}
timeout 10
}

_________________

Wiki & Google are your best allies.
iRO server supporter.
Image


Last edited by fadreus on 16 Dec 2017, 00:06, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: equipAuto not working after weapon divest.
PostPosted: 15 Dec 2017, 16:55 
Offline
Human
Human

Joined: 14 Jan 2017, 13:16
Posts: 47
the first two strings works perfectly fine. thanks so much!


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 4 guests


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group