Openkore.com

OpenKore Forums
It is currently 28 Mar 2020, 07:01

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: [HELP] Automacro Warp when you respawn.
PostPosted: 27 Jun 2011, 06:49 
Offline
Noob
Noob

Joined: 19 Jul 2010, 00:04
Posts: 3
Hi, I just posted a while ago that I need guides for macro about using warper but that's not the problem anymore. I have been figuring out how to trigger macro when you die and respawn back to town. I can use Storage when its >75% and able to use private server commands such as c @go and then use the warper after storage. Respawning is the problem, I play on a PK server and I die alot because of weak character. When I die, I spawn back to where I save at then starts walking back to lockmap. Is there a way to use Warper again if I die? like special condition like automacro deathwarp { status dead etc...}.

Here's my Macros.txt config

automacro storage {
weight > 85%
timeout 30
call storage2
}

macro storage2 {
do c @go 3
do move payon 178 111
do talk @npc(181 104)
do talk resp 1
do storage add Gold
do storage close
call Warp
}

macro Warp {
do move 178 111 payon
do talk @npc(182 110)
do talk resp
do talk resp 1
do talk resp 5
do talk resp 5
}

Can you help me how to write macro for when you die and use warper? Thanks


Top
 Profile  
 
 Post subject: Re: [HELP] Automacro Warp when you respawn.
PostPosted: 30 Jun 2011, 10:13 
Offline
Moderators
Moderators

Joined: 04 Apr 2008, 10:21
Posts: 176
Location: In your dreams...
sinx0 wrote:
Hi, I just posted a while ago that I need guides for macro about using warper but that's not the problem anymore. I have been figuring out how to trigger macro when you die and respawn back to town. I can use Storage when its >75% and able to use private server commands such as c @go and then use the warper after storage. Respawning is the problem, I play on a PK server and I die alot because of weak character. When I die, I spawn back to where I save at then starts walking back to lockmap. Is there a way to use Warper again if I die? like special condition like automacro deathwarp { status dead etc...}.

Here's my Macros.txt config

automacro storage {
weight > 85%
timeout 30
call storage2
}

macro storage2 {
do c @go 3
do move payon 178 111
do talk @npc(181 104)
do talk resp 1
do storage add Gold
do storage close
call Warp
}

macro Warp {
do move 178 111 payon
do talk @npc(182 110)
do talk resp
do talk resp 1
do talk resp 5
do talk resp 5
}

Can you help me how to write macro for when you die and use warper? Thanks

If this is your macro , good work, you might want to add pauses between some commands. Also you can use the "console" in your macro for the respawn thing. like
Code:
##in automacro triggering condition
console /You've died/i
##in macro
pause 3
##continue with your NPC stuff.

or to be more efficient you can use (taken from the manual)
Manual wrote:
status [not] <status> [, ...]
- Triggers when you are [not] <status>.
- The statuses "dead" and "muted" are supported additionally.
- Comma-separated arguments are treated as OR conditions.
- Multiple lines are treated as AND conditions.


Top
 Profile  
 
 Post subject: Re: [HELP] Automacro Warp when you respawn.
PostPosted: 02 Jul 2011, 03:43 
Offline
Noob
Noob

Joined: 19 Jul 2010, 00:04
Posts: 3
Thanks. But I was already using the status thing for it. So far its not working. Maybe mines just not right because when I die, even though its listed on the macros.txt that "dead" status will trigger the automacro.

Like this
automacro Dwarp {
Status Dead
call Dwarp 2
}

macro Dwarp2 {
do move X,Y
do talk npc @(X,Y)
do talk resp 1
}
etc..

Am I doing something wrong? maybe its the status. Im trying to figure out if Dead is the key word or Die or killed or something. So far status "Dead" is not working.
Thanks in advance.


Top
 Profile  
 
 Post subject: Re: [HELP] Automacro Warp when you respawn.
PostPosted: 11 Jul 2011, 13:21 
Offline
Perl Monk
Perl Monk
User avatar

Joined: 04 Apr 2008, 14:04
Posts: 428
Location: Brazil
I think automacro conditions are case-sensitive, if that's the case, try using 'status'.

_________________
Quit.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group