i have problem in instance difficulty maybe my xbar addon.. i try to eliminate auto normal to use "autoinstancedifficulty" addon and send command to set in easy mode... but sometimes it failed and i die in GC because accidentally set in normal..
my question is... how to pause and reset to easy mode before i start
instance diffuculty
Re: instance diffuculty
what i mean to say is... how can i make command in given mode..
example:
if difficulty is on normal mode which is
if difficulty is on easy mode
which is
<!-- # 2 --> one step backward from <!-- # 3 -->
example:
if difficulty is on normal mode
Code: Select all
__WPL:setWaypointIndex(1);Code: Select all
<!-- # 1 --><waypoint x="-8472" z="45468" y="758">
sendMacro("LeaveParty();");
SlashCommand("aid easy")
yrest(200)
player:update();
while not RoMScript("UnitExists('party1')") do
SlashCommand("ILG inv")
SlashCommand("aid easy")
yrest(5000)
SlashCommand("aid easy")
end
</waypoint>Code: Select all
__WPL:setWaypointIndex(3);Code: Select all
<!-- # 3 --><waypoint x="-8460" z="45524" y="758">
keyboardPress(key.VK_S);keyboardPress(key.VK_W);keyboardPress(key.VK_S);
if not waitForLoadingScreen(10) then
cprintf(cli.red,"Trouble getting thru the doors - will retry last 3 waypoints.\n");
__WPL:setWaypointIndex(2);
end
</waypoint>Code: Select all
<!-- # 2 --><waypoint x="-8472" z="45468" y="758"> </waypoint>Re: instance diffuculty
Code: Select all
difficulty=sendMacro("GetInstanceLevel()")Re: instance diffuculty
i cant live without xbar 
is this is auto normal of xbar?? how to set...
is this is auto normal of xbar??
Code: Select all
------------------------
-- Instance Auto-Normal
------------------------
local schwierigkeit = "normal";
function AutoNormal_OnEvent(this,event)
SetInstanceLevel(schwierigkeit);
end
function AutoNormal_OnLoad(this)
AutoNormalFrame:RegisterEvent("PARTY_MEMBER_CHANGED");
end
function AutoNormal_normal()
if(schwierigkeit == "normal") then
schwierigkeit = "easy"
DEFAULT_CHAT_FRAME:AddMessage("XBar: Instance EASY");
else
schwierigkeit = "normal"
DEFAULT_CHAT_FRAME:AddMessage("XBar: Instance NORMAL");
end
endRe: instance diffuculty
1. you can change code like this:
2. You can delete the autonormal file from xbar directory, xbar still should work
3. You can upgrade your xbar addon. I have new version from curse.com and there is no autonormal
Code: Select all
function AutoNormal_OnEvent(this,event)
--SetInstanceLevel(schwierigkeit); --comment this line
end
function AutoNormal_OnLoad(this)
--AutoNormalFrame:RegisterEvent("PARTY_MEMBER_CHANGED"); --comment this line
end
3. You can upgrade your xbar addon. I have new version from curse.com and there is no autonormal