-
Posts
12579 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
If you can also tell me what this script return: http://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=17783
-
Dump all quests in "Quests log" with lua ret = ''; local numEntries, numQuests = GetNumQuestLogEntries(); for questLog = 1, numEntries do local questTitle, _, _, _, _, _, _, id = GetQuestLogTitle(questLog); if id > 0 and questTitle then local q = '\n================='; q = q .. '\n' .. tostring(questTitle) .. ' (' .. id .. ')'; local numObjectives = GetNumQuestLeaderBoards(questLog); for i=1,numObjectives do local description, objectiveType, isCompleted = GetQuestLogLeaderBoard(i,questLog); if description then q = q .. '\nObjective count: ' .. i .. ', Description: ' .. tostring(description) .. ', ObjectiveType: ' .. tostring(objectiveType) .. ', IsCompleted: ' .. tostring(isCompleted); end end q = q .. '\n================='; print(q); ret = ret .. q; end end Go to WRobot tab "Tools" > "Development Tools" > paste this lua code in textbox and click on button "Lua (return value in 'ret')"
-
It is not good objects. Do you have try to put 0 at all "Objective count X" and put true at all "Auto detect objective count X"
-
And in WRobot tab "Tools" > "Development Tools" > "Dump all informations" the items appear?
-
Focus<->Target swap will confuse wrobot.
Droidz commented on Bugreporter's bug report in Bug Tracker
Seem not stop fight: 2016-09-09_14-15-52.mp4 -
A way to list all the world quests and the rewards?
Droidz commented on AudreyH's bug report in Bug Tracker
I have found this profile: https://www.thebuddyforum.com/honorbuddy-forum/honorbuddy-profiles/267654-world-quests-wip.html Converted for WRobot: TestWorldQuest.xml (not tested) Class code: using System; using System.Collections.Generic; using System.Linq; using robotManager.Helpful; using wManager.Wow.Class; using wManager.Wow.Enums; using wManager.Wow.Helpers; public class WorldQuestData { public int ID; public string Name; public System.DateTime ExpireTime; } public class WorldQuestInfo : QuestClass { public WorldQuestInfo() { Name = "WorldQuestInfo"; } static List<WorldQuestData> _cache = new List<WorldQuestData>(); static internal bool _dirty = true; static internal bool _setup = false; static WorldQuestInfo() { Setup(); } public static void Setup() { if (_setup) return; EventsLua.AttachEventLua(LuaEventsId.WORLD_MAP_UPDATE, m => WorldQuestMarkDirty()); EventsLua.AttachEventLua(LuaEventsId.SUPER_TRACKED_QUEST_CHANGED, m => WorldQuestMarkDirty()); EventsLua.AttachEventLua(LuaEventsId.WORLD_QUEST_COMPLETED_BY_SPELL, m => WorldQuestMarkDirty()); UpdateWorldQuests(); _setup = true; } public static void WorldQuestMarkDirty() { _dirty = true; } public static bool HasWorldQuest(int questid) { UpdateWorldQuests(); var quest = _cache.FirstOrDefault(q => q.ID == questid); if (quest == null || quest.ExpireTime <= System.DateTime.UtcNow) return false; return true; } public static void UpdateWorldQuests() { if (!_dirty) return; _cache = new List<WorldQuestData>(); int BrokenIslesMapArea = 1007; var numZones = Lua.LuaDoString<int>(string.Format("return C_MapCanvas.GetNumZones({0});", BrokenIslesMapArea)); for (int i = 1; i < numZones; ++i) { var zoneID = Lua.LuaDoString<int>(string.Format("local zoneMapID, zoneName, zoneDepth, left, right, top, bottom = C_MapCanvas.GetZoneInfo({0}, {1}); return zoneMapID;", BrokenIslesMapArea, i)); var zoneName = Lua.LuaDoString<string>(string.Format("local zoneMapID, zoneName, zoneDepth, left, right, top, bottom = C_MapCanvas.GetZoneInfo({0}, {1}); return zoneName;", BrokenIslesMapArea, i)); var zoneDepth = Lua.LuaDoString<int>(string.Format("local zoneMapID, zoneName, zoneDepth, left, right, top, bottom = C_MapCanvas.GetZoneInfo({0}, {1}); return zoneDepth;", BrokenIslesMapArea, i)); if (zoneDepth > 1) //Do not look at subzones { Logging.WriteDebug(string.Format("[WorldQuestInfo] Ignoring {0} ({1}) as ZoneDepth > 1 ({2})", zoneID, zoneName, zoneDepth)); continue; } string toRun = string.Format(@" local questids = ''; local taskInfo = C_TaskQuest.GetQuestsForPlayerByMapID({0}, {1}); if taskInfo then for i, info in ipairs(taskInfo) do if HaveQuestData(info.questId) then if QuestMapFrame_IsQuestWorldQuest(info.questId) then questids = questids .. info.questId .. '#LUASEPARATOR#'; end end end end return questids; ".Replace("#LUASEPARATOR#", Lua.ListSeparator), zoneID, BrokenIslesMapArea); var questids = Lua.LuaDoString<List<int>>(toRun); foreach (var questid in questids) { if (questid <= 0) continue; //TimeLeft is in minutes var TimeLeft = Lua.LuaDoString<int>(string.Format("return C_TaskQuest.GetQuestTimeLeftMinutes({0});", questid)); var QuestInfo = Lua.LuaDoString<string>(string.Format("return C_TaskQuest.GetQuestInfoByQuestID({0});", questid)); Logging.WriteDebug(string.Format("[WorldQuestInfo] WorldQuest {0} ({2}) active ({1}m left)", QuestInfo, TimeLeft, questid)); var data = new WorldQuestData(); data.ID = questid; data.Name = QuestInfo; data.ExpireTime = DateTime.UtcNow.AddMinutes(TimeLeft); _cache.Add(data); } } _dirty = false; } public static bool IsWorldQuest(int questid) { string lua = string.Format("local tagID, tagName, worldQuestType, rarity, isElite, tradeskillLineIndex = GetQuestTagInfo({0}); return worldQuestType;", questid); var ret = Lua.LuaDoString<string>(lua); if (string.IsNullOrWhiteSpace(ret) || ret == "nil") return false; return true; } } Usage: bool hasWorldQuest = WorldQuestInfo.HasWorldQuest(int QuestId); bool isWorldQuest = WorldQuestInfo.IsWorldQuest(int questid); -
When you click in WRobot tab "Tools" > "Development Tools" > "Bag items list" the items don't appear in the list?
-
Hello, your quest is complete ? In you bag do you have http://www.wowhead.com/item=128493/yotnars-left-arm and http://www.wowhead.com/item=128495/yotnars-right-arm and http://www.wowhead.com/item=128497/yotnars-left-foot and http://www.wowhead.com/item=128496/yotnars-right-foot ?
-
Hello, use quest type "OverridePulseCSharpCode" with code: Vector3 fishPosition = new Vector3(-9387.61, -120.2896, 58.53797, "Flying"); float fishRotation = 4; if (!FishingTask.IsLaunched) { if (GoToTask.ToPosition(fishPosition, 1.5f)) { ObjectManager.Me.Rotation = fishRotation; FishingTask.LoopFish(); } } return true; (replace "-9387.61, -120.2896, 58.53797" by fishing position and 4 by fishing rotation (you can get position and rotation in WRobot tab "Tools" > "Dev... tools" > "Me/Target Position")) Don't forget to stop fishing, for it, after pulse fishing quest, in quests order add step type "RunCode" with code: wManager.Wow.Bot.Tasks.FishingTask.StopLoopFish(); Sample profile: FishingTest.xml
-
Hello, you can add it in your fightclass: http://wrobot.eu/forums/topic/3560-fight-class-tutorial-video/
-
Hello, if you can, use normal version and ignore this messagebox.
-
Hello, if you can wait next update
-
http://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966
-
Changed Status to Not a Bug Changed Version to All
-
Bonjour, http://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966 étape 10, 14
-
If you can wait next update and tell me if problem is resolved.
-
If you can wait next update (in next Wrobot check before buy the item and check if current money - item price is bigger at min money, before wrobot checked only one time by buy step).
-
Focus<->Target swap will confuse wrobot.
Droidz commented on Bugreporter's bug report in Bug Tracker
Hello, When you use lua global variable ("result" in you scripts) don't forget to assign it at the code start (to avoid to get last result or result of others script), put at the start: result=false; I cannot reproduct your problem. What WRobot product do you use? -
It is not 10min, it is 4 hours (and wow don't seem crash on this session). Do you run softwares when WRobot is running? If yes can you give me names. Do you have disable "Bliz Streaming" feature? Do you have try to reinstall WRobot and SlimDX ?
-
Hello, in tab "Map" you see blacklisteds zones when your profile running? You get this problem only in "UseItemOn", can you send me screenshot of you quest.
-
How to detect stagger? Like Energy or Chi
Droidz replied to thejm's topic in Fight Classes assistance
hello, https://www.google.com/search?q=stagger+site:wrobot.eu ( http://wrobot.eu/files/file/305-brewmaster-monk-54/ ) -
Hello, in quests order, you can add step type "MessageBox".
-
Don't forget to share your log file if your problem is not resovled.
-
Hello, http://wrobot.eu/forums/topic/1381-repairinstall-wrobot/#comment-966 step 1, 6, 10, 14, 15
-
Hello, http://wrobot.eu/forums/topic/1381-repairinstall-wrobot/ step 6 (share you log files if your problem is not resolved)