
nax
Members-
Posts
113 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by nax
-
5.4.8 Monk Fight Rotation Profile???
nax replied to sakado's topic in WRobot for Wow Mists of Pandaria - Help and support
Hello, You’d have to build your own. I don’t think wrobot has any MOP Developers -
How do we use multi classes with different files using this method?
-
Get an item's stats (strength, int, agi, etc)
nax replied to Trigger's topic in Developers assistance
Although untested due to my current lack of a vanilla World of Warcraft installation, the following code snippet should serve as a helpful starting point for constructing the necessary functions to manage item states. public class ToolTipReader { private static string TooltipName { get; set; } static ToolTipReader() { TooltipName = Others.GetRandomString(12); } public static void CreateTooltip() { Lua.LuaDoString($@" if not {TooltipName} then {TooltipName} = CreateFrame('GameTooltip', '{TooltipName}', nil, 'GameTooltipTemplate'); {TooltipName}:SetOwner(UIParent, 'ANCHOR_NONE'); end "); } public static void DestroyTooltip() { Lua.LuaDoString($"{TooltipName} = nil;"); } public static string[] ItemStates(string itemLink) { return Lua.LuaDoString<string[]>($@" local StatsTable = {{}} {TooltipName}:ClearLines() {TooltipName}:SetHyperlink('{itemLink}') for i = 1, {TooltipName}:NumLines() do local text = _G['ItemPurseTextLeft'..i]:GetText() table.insert(StateTable, text) end return unpack(StatsTable); "); } } -
Get an item's stats (strength, int, agi, etc)
nax replied to Trigger's topic in Developers assistance
You need to build a tooltip reader, cache each line into a table then read the results . -
You are missing the hook that droidz uses….. you need the hook to execute functions on the main thread….. you should read ownedcore. ps : reading the memory address is easy, you just need to open the process and use ReadMemory from kernal32. injecting lua requires a hook to a function that allowed execution on the main thread. Which droids I think hooks the games Endscene then write assembly code with his own detour .
-
You can find a lot of information by googling csharp basics.
-
this is a profile made from easy profile creator. you may want to learn c# for more advance projects.
-
I was thinking the same thing.
-
Yes, it’s pretty simple with a little lua / C#. You should give it a shot and ask for help if you find a bug.
-
I’m confused, the variable is a public static, I don’t think there is a way to make it more public,
-
Also I'd Recommend building you're own framework or using a existing one that @Matenia build for better performance.
-
I recommend creating a Lua script that can extract QuestIDs from your quest log. Once you have the QuestID, you can add it to WRobot Quester and assign a name to the quest. Then, depending on the type of quest, you can configure the quest NPC pick-up and turn-in.
-
could always just run it with CastSpellByName, replace NeedCleanse1 to CastSpellByName("Cleanse", "party1")
-
Hello, Wow lua by default does not have a function called UnitDebuffID, here is code using UnitDebuff (Please note my lua is somewhat Rusty.) local SpellNameTable = { "Unstable Affliction", "Vampiric Touch", "Psychic Scream" --Names of other debuffs. } local needCleanse1 = false for _, spellName in ipairs(SpellNameTable) do for i = 1, 25 do local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitDebuff("party1", i) if name == spellName then needCleanse1 = true end end end
-
Interesting stuff.
-
i found this, Might help. use google next time. https://github.com/Talamin/Wholesome-Dungeon-Crawler/blob/master/States/AvoidAOE.cs, also i do not know if wrobot ObjectManager has this type of info but Aoe ability's and ground effect can be found as Dynamic Game Objects. Here is the code for creating your own function using wrobot Descriptors, https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/300463-wow-3-3-5-12340-info-dump-thread.html
-
to really help, We'd need logs > crash report info. a crash could be so many things from wrobot to a bad part of your harddrive to magic in neverland.
-
@Pudgeto be honest, that code might not work with patch 7.3.5, the code above is for wotlk. May need to use Ida and see what GetText asm is as they might of changed it.
-
So LuaDoString is FrameScriptExecute, and it casts the results of your code to a variable, then GetLocalizedText reads that veriable (@druids) just has LuaDoString return info. instead of two functions, he combinded both together. you need to write the asm for GetText Offset = 0x0819d40, Sample Asm code : https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/407197-getlocalizedtext-problem.html not gonna lie, its kinda funny that GetLocalizedText uses GetText,
-
mailing gold accept button
nax replied to Oustm1ne's topic in WRobot for Wow Legion - Help and support
TimerTracker:Click(); maybe -
You need to use GetText to read if you are not ingame. here is the c++ code : note GetLocalizedText uses active client player object, but GetText doesnt.
-
Connection error: key expired [E] 17:26:15 - Connection error, close bot, you have probably launched too many sessions at the same time with the same license key, please contact bot team if it is not the case.