Token of Siegfried on death

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

class1c
Human
Human
Posts: 34
Joined: 30 Jun 2012, 03:49
Noob?: Yes

Token of Siegfried on death

#1 Post by class1c »

Brief description of the problem: I am wondering if its possible to set dcOnDeath to -1, and use Token of Siegfried(self resurrection) when my bot dies.

What you have done so far: I have searched these forums and looked through the manual but I can't find anything related.

In order to use Token of Siegfried, you need to have the item first of all which I have. In game, there's an option where you would click Resurrect if you die, same window as you would click respawn. For openkore, I'm not sure if there's a feature for this. Anyone know?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Token of Siegfried on death

#2 Post by EternalHarvest »

You should be able to resurrect with the following command:

Code: Select all

eval $messageSender->sendAutoRevive
There doesn't seem to be any options to use it automatically, so you'll need to do a doCommand / macro / plugin with that. It would be good to extend dcOnDeath to support this, too.
class1c
Human
Human
Posts: 34
Joined: 30 Jun 2012, 03:49
Noob?: Yes

Re: Token of Siegfried on death

#3 Post by class1c »

Thanks, that command does in fact work but,

I did this:

automacro die {
console /You have died/
timeout 1
call {
do eval $messageSender->sendAutoRevive
}
}

and when I die, I get an error "syntax error at (eval 306) line 2, near "->sendAutoRevive"

Any idea what's wrong?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Token of Siegfried on death

#4 Post by EternalHarvest »

Macro plugin has eaten something, try $::messageSender to fool it.

I guess we can build such a feature in and enable it with something like "dcOnDeath -2".