Public Encouter (PE) phase

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
kkulesza
Posts: 150
Joined: Fri May 27, 2011 9:00 pm
Location: Poland

Public Encouter (PE) phase

#1 Post by kkulesza »

Code: Select all

namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= PE_GetInfo(1);
SendSystemChat(namePH);
PEs have two phases: passive and active.
Depennding on the phase and zone/PE and client language you get diferent string from namePH variable.
For Ancient Kingdom of Rorazan it is as follows:
passive:"Stable State"
active:"Firmly Entrenched"

So when i want the bot to wait until next active phase i can do something like this:

Code: Select all

repeat 
    yrest(1000);
    namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= sendMacro("PE_GetInfo(1)")
until namePH=="Firmly Entrenched"
Post Reply