Help about this Macro

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
niko123
Plain Yogurt
Plain Yogurt
Posts: 88
Joined: 11 Sep 2010, 19:00
Noob?: Yes

Help about this Macro

#1 Post by niko123 »

Code: Select all

automacro re_equip_armour {
        console /You unequip/i
        run-once 1
        overrideAI 1
        exclusive 1
                call {
                        do eval $::messageSender->sendQuitToCharSelect()   ##Change according to your need##
                        pause 17  ##Change according to your need##
                        do eq +7 Tights [Ghostring] [1] ##Change according to your need##
                        release re_equip_armour
                }
}
If my weapon has been stripped would it trigger this macro? because I was wondering about that >>
automacro re_equip_armour {
console /You unequip/i
should I change the "re_equip_armour" into re_equip_weapon???
Image
benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood

Re: Help about this Macro

#2 Post by benj1320 »

why not use the doCommand and equipAuto to re-equip your stripped armors/weapons...
“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template
niko123
Plain Yogurt
Plain Yogurt
Posts: 88
Joined: 11 Sep 2010, 19:00
Noob?: Yes

Re: Help about this Macro

#3 Post by niko123 »

doComman relog {

then what else should i change??

I want my character to recon when he had been stripped

I have 1 more question is it ok to use the poseidon.exe from version R7509 for another kind of openkore (SVN)?

because I have two different folders and I dont wat to erase the another one
Image
kaBOTi
Plain Yogurt
Plain Yogurt
Posts: 78
Joined: 08 Jun 2008, 00:02
Noob?: No

Re: Help about this Macro

#4 Post by kaBOTi »

if you can successfully do relog. why not simply modify your config.txt to re-equip your weapon when attacking :

AttackEquip leftHand [INSERT WEAPON]
AttackEquip rightHand [INSERT WEAPON IF 2 HAND]

if you're using skills then modify the attackSkillSlot and include :

AttackEquip leftHand [INSERT WEAPON]
AttackEquip rightHand [INSERT WEAPON IF 2 HAND]
benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood

Re: Help about this Macro

#5 Post by benj1320 »

when in strip status you can't equip your armors/weapons.. you have to relogin to remove the strip status..

Code: Select all

doCommand relog {
	hp
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive <STRIP STATUS >
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 
	disabled 0
	inInventory
	inCart
	inMap einbech
	manualAI 0
}

then configure the equipAuto or any equiping blocks in your config.txt
“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template
niko123
Plain Yogurt
Plain Yogurt
Posts: 88
Joined: 11 Sep 2010, 19:00
Noob?: Yes

Re: Help about this Macro

#6 Post by niko123 »

Code: Select all

whenStatusInactive <STRIP STATUS >
why did you put the Strip Status in WhenStatusInactive??
Image
benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood

Re: Help about this Macro

#7 Post by benj1320 »

oopps.. sorry.. glad you notice...

it should be on "whenStatusActive"
“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template