anyone know how to make automacro support pet value?
automacro pettest {
location prontera
call {
$t = @eval($::pet->{hungry})
log $t
}
timeout 10
}
i want to log the pet hungry value for some test, and got the following error message
[macro] pettest.call error: error in 0: @eval($::pet->{hungry}) failed
another success case like char value
$t = @eval($::char->{name})
@eval($::pet->{hungry})
Moderator: Moderators
-
- The Kore Devil
- Posts: 672
- Joined: 22 Feb 2013, 03:40
- Noob?: No
- Location: The Netherlands
Re: @eval($::pet->{hungry})
I don't know, maybe these treads could help you:
http://www.openkore.com/index.php/Timeouts.txt#AI_Pet
http://forums.openkore.com/viewtopic.php?f=34&t=51
http://www.openkore.com/index.php/Timeouts.txt#AI_Pet
http://forums.openkore.com/viewtopic.php?f=34&t=51