Spiceseeker 0 Posted April 15, 2019 Share Posted April 15, 2019 Hello, I've got some problem with Darnassus - Rutheran portal. When bot goes to learn skills in Darnassus, he ignores the portal, and when going back - too. So, bot can't enter/leave city. How can this be fixed? Link to comment https://wrobot.eu/forums/topic/11067-darnassus-portal-issue/ Share on other sites More sharing options...
Droidz 2738 Posted April 16, 2019 Share Posted April 16, 2019 Hello, by default WRobot don't support that Link to comment https://wrobot.eu/forums/topic/11067-darnassus-portal-issue/#findComment-52824 Share on other sites More sharing options...
Andoido 75 Posted April 16, 2019 Share Posted April 16, 2019 (edited) if you wanna go through that dumbass portal your going to have to set your bot up to do a few things. First is run to the portal, then run through it - turning off close on teleport, wait, turn on close on teleport, and then run to the FP or Boat. Clear example: <QuestsSorted Action="RunLuaCode" NameClass="MyFrame.text:SetText("LvL 11? Go Through Darn Tree")" /> <QuestsSorted Action="Pulse" NameClass="PATHTeldrassilTeldrassilPortal" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey,5500);" /> <QuestsSorted Action="Wait" NameClass="5000" /> <QuestsSorted Action="RunCode" NameClass=" wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = true;" /> <QuestsSorted Action="EndIf" NameClass="" /> <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 11 && ObjectManager.Me.Level < 60 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Teldrassil" || wManager.Wow.Helpers.Usefuls.MapZoneName == "Darnassus")" /> <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(8640.58f, 841.118f, 23.26363f);
int npcEntryId = 3838;

if (!ObjectManager.Me.IsOnTaxi)
{
 if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId))
 {
 int node;
 Usefuls.SelectGossipOption(GossipOptionsType.taxi);

 node = wManager.Wow.Helpers.Lua.LuaDoString<int>("for i=0,30 do if string.find(TaxiNodeName(i),'Auberdine, Darkshore') then return i end end");
 
 wManager.Wow.Helpers.Lua.LuaDoString("TakeTaxiNode(" + node + ")");
 }
}" /> <QuestsSorted Action="Wait" NameClass="130000" /> Basically, This will "Run to portal", wait 1 second. Move forward for 5.5 seconds. Wait 5 seconds, turn CloseifTeleported back on (be sure to turn off beofre you Run Forward.), and then it will run to the Flight Master - and Fly to darkshore. Copy this code into your profile (use Notepad++ ) Save it, load it via wrobot and you will see what im doing ? Edited April 16, 2019 by Andoido Spiceseeker 1 Link to comment https://wrobot.eu/forums/topic/11067-darnassus-portal-issue/#findComment-52829 Share on other sites More sharing options...
maukor 34 Posted April 16, 2019 Share Posted April 16, 2019 and dont forget to make your followpath with that name then ; ) PATHTeldrassilTeldrassilPortal Spiceseeker 1 Link to comment https://wrobot.eu/forums/topic/11067-darnassus-portal-issue/#findComment-52830 Share on other sites More sharing options...
Spiceseeker 0 Posted April 16, 2019 Author Share Posted April 16, 2019 13 hours ago, Andoido said: if you wanna go through that dumbass portal your going to have to set your bot up to do a few things. First is run to the portal, then run through it - turning off close on teleport, wait, turn on close on teleport, and then run to the FP or Boat. Clear example: <QuestsSorted Action="RunLuaCode" NameClass="MyFrame.text:SetText("LvL 11? Go Through Darn Tree")" /> <QuestsSorted Action="Pulse" NameClass="PATHTeldrassilTeldrassilPortal" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey,5500);" /> <QuestsSorted Action="Wait" NameClass="5000" /> <QuestsSorted Action="RunCode" NameClass=" wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = true;" /> <QuestsSorted Action="EndIf" NameClass="" /> <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 11 && ObjectManager.Me.Level < 60 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Teldrassil" || wManager.Wow.Helpers.Usefuls.MapZoneName == "Darnassus")" /> <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(8640.58f, 841.118f, 23.26363f);
int npcEntryId = 3838;

if (!ObjectManager.Me.IsOnTaxi)
{
 if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId))
 {
 int node;
 Usefuls.SelectGossipOption(GossipOptionsType.taxi);

 node = wManager.Wow.Helpers.Lua.LuaDoString<int>("for i=0,30 do if string.find(TaxiNodeName(i),'Auberdine, Darkshore') then return i end end");
 
 wManager.Wow.Helpers.Lua.LuaDoString("TakeTaxiNode(" + node + ")");
 }
}" /> <QuestsSorted Action="Wait" NameClass="130000" /> Basically, This will "Run to portal", wait 1 second. Move forward for 5.5 seconds. Wait 5 seconds, turn CloseifTeleported back on (be sure to turn off beofre you Run Forward.), and then it will run to the Flight Master - and Fly to darkshore. Copy this code into your profile (use Notepad++ ) Save it, load it via wrobot and you will see what im doing ? Thanks a lot, I will give this a try! Link to comment https://wrobot.eu/forums/topic/11067-darnassus-portal-issue/#findComment-52837 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now