Jump to content

nax

Members
  • Posts

    113
  • Joined

  • Last visited

Everything posted by nax

  1. Hello, You’d have to build your own. I don’t think wrobot has any MOP Developers
  2. How do we use multi classes with different files using this method?
  3. 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); "); } }
  4. You need to build a tooltip reader, cache each line into a table then read the results .
  5. nax

    Issue

    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 .
  6. You can find a lot of information by googling csharp basics.
  7. this is a profile made from easy profile creator. you may want to learn c# for more advance projects.
  8. nax

    Smelting

    I was thinking the same thing.
  9. 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.
  10. I’m confused, the variable is a public static, I don’t think there is a way to make it more public,
  11. Also I'd Recommend building you're own framework or using a existing one that @Matenia build for better performance.
  12. 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.
  13. Like @morten2808Said, just depends on the xp ratings and what server? i know of 2 servers that some quests are bugged and you need to grind instead of questing etc. just really depends.
  14. could always just run it with CastSpellByName, replace NeedCleanse1 to CastSpellByName("Cleanse", "party1")
  15. 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
  16. Interesting stuff.
  17. 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
  18. 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.
  19. @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.
  20. 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,
  21. TimerTracker:Click(); maybe
  22. 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.
  23. 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.
×
×
  • Create New...