Everything posted by nax
-
need some help with lua
Im patently wait to see if anyone is gonna tell this guy he is using c# and not lua?
-
Relogger freezes client during login screen
Hello, I don’t know how droidz is hooking wow but would be because it’s opening up the process and hooking it to read the toon name for the log in screen of wrobot.
-
Is it detected on Whitemane.gg?
If it’s client side you can try using a non modified client.
-
is there a plugin to delete items by item lvl?
Hello, This is something you will need to create for your needs, there is several threads that provide a good amount of insight.
-
5.4.8 Monk Fight Rotation Profile???
Hello, You’d have to build your own. I don’t think wrobot has any MOP Developers
-
Quester call function defined plugins
How do we use multi classes with different files using this method?
-
Get an item's stats (strength, int, agi, etc)
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)
You need to build a tooltip reader, cache each line into a table then read the results .
-
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 .
-
How to force to reset waypoint
You can find a lot of information by googling csharp basics.
-
help with interactwithNPC
this is a profile made from easy profile creator. you may want to learn c# for more advance projects.
-
Smelting
I was thinking the same thing.
-
Simelting and Blacksmith
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.
-
Regeneration state
I’m confused, the variable is a public static, I don’t think there is a way to make it more public,
-
C code to detect multiple buffs by ID
Also I'd Recommend building you're own framework or using a existing one that @Matenia build for better performance.
-
how to find the id of custom quests ?
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.
-
How many Days Need to become lvl 70-80 with bot?
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.
-
Cleanse Party without Targeting
could always just run it with CastSpellByName, replace NeedCleanse1 to CastSpellByName("Cleanse", "party1")
-
Cleanse Party without Targeting
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
-
How to avoid boss AOE in fight ?
Interesting stuff.
-
How to avoid boss AOE in fight ?
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
-
MOP Helion server
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.
-
Getting offsets/opcodes
@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.
-
Getting offsets/opcodes
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,
- UseSpellOn