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?
Token of Siegfried on death
Moderator: Moderators
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: Token of Siegfried on death
You should be able to resurrect with the following command:
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.
Code: Select all
eval $messageSender->sendAutoRevive
-
- Human
- Posts: 34
- Joined: 30 Jun 2012, 03:49
- Noob?: Yes
Re: Token of Siegfried on death
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?
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?
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: Token of Siegfried on death
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".
I guess we can build such a feature in and enable it with something like "dcOnDeath -2".