Page 1 of 1

Public Encouter (PE) phase

Posted: Wed Jul 04, 2012 7:15 am
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"