Jump to content

Recommended Posts

Hi. Why don't I click on the button I use the command :

 <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(2781.16, -432.997, 116.5811), 6738, 2, false)" />
  <QuestsSorted Action="RunMacroLua" NameClass="/click StaticPopup1Button1" />

The game window appears, but the button does not press. Help me PLS.

Link to comment
https://wrobot.eu/forums/topic/8785-dont-click-button/
Share on other sites

var position = new Vector3(-8867.79f, 673.673f, 97.90382f);
int npcEntryId = 6740;

wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);

 if(wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId))
 {
     Usefuls.SelectGossipOption(1);
     System.Threading.Thread.Sleep(2000);
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
 }

It's vanilla code, but it should function with current WoW as well. Just alter the values.

Edited by FNV316
Link to comment
https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40488
Share on other sites

I did what you said with the changed values, but it still doesn't work for me.

i work in EasyQuestsEditor

choose the function RunCode in the field for writing:

 

var position = new Vector3(2781.16, -432.997, 116.5811);
int npcEntryId = 6738,

wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);

 if(wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId))
 {
     Usefuls.SelectGossipOption(1);
     System.Threading.Thread.Sleep(2000);
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
     wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()");
 }

 

I creat vanila wow q profile. what is my mistake? I just want to do what would innKeeper to change the address of your hearthstone.

sorry for my English

Link to comment
https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40511
Share on other sites

1 hour ago, Hekp said:

I creat vanila wow q profile. what is my mistake? I just want to do what would innKeeper to change the address of your hearthstone.

var position = new Vector3(2781.16f, -432.997f, 116.5811f);

int npcEntryId = 6738;

Link to comment
https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40517
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...