Matenia
-
Posts
2226 -
Joined
-
Last visited
Reputation Activity
-
-
Matenia got a reaction from Marsbar in Can you make it, so wrobot does not count quiver/ammobag slots als normal bag slots?
@Marsbar you can do this completely automatically:
Lua.LuaDoString(@" if GetItemInfoFromItemLink ~= nil then return end function GetItemInfoFromItemLink(link) local itemId = nil; if ( type(link) == 'string' ) then _,_, itemId = string.find(link, 'item:(%d+):'); if (itemId) then local version, build, date = GetBuildInfo(); if (tonumber(build) > 5875) then local itemName, itemLink, itemQuality, itemLevel, itemMinLevel, itemType, itemSubType, itemCount, itemEquipLoc, itemTexture = GetItemInfo(itemId); return itemName, itemLink, itemQuality, itemLevel, itemType, itemSubType, itemCount, itemTexture; else return GetItemInfo(itemId); end end end end "); uint quiverSlotCount = Lua.LuaDoString<uint>(@" for slot = 20,23 do local link = GetInventoryItemLink('player', slot); if link then then local itemName, itemLink, itemQuality, itemLevel, itemType, itemSubType, itemCount, itemTexture = GetItemInfoFromItemLink(link); if itemType == 'Quiver' then return GetContainerNumSlots(slot - 19); -- gets back slot end end end "); Works at least vanilla => WotLK. So you can turn that into a free plugina nd post it here :)
-
Matenia got a reaction from Findeh in Creature type of WoWUnit
You can do the focus part in vanilla by using mouseover as the unit and writing the mouseover guid into memory. Use my vanilla fightclass framework as an example
-
Matenia reacted to Droidz in Check For Hostiles Unit(s) Behind Player
Hello, you need to use IsBehind like that:
u.IsBehind(ObjectManager.Me.Position, ObjectManager.Me.Rotation); ObjectManager.Me.IsBehind(u.Position, u.Rotation); you can also use:
MovementManager.IsFacing(Me.Position, Me.Rotation, u.Position, 2.20f)
-
-
Matenia got a reaction from t00z in Does it work on Northdale?
Because nobody uses Automaton. And there's already an official wRobot discord.
Plus you don't actually own a wRobot key...
-
Matenia got a reaction from Findeh in Does it work on Northdale?
Because nobody uses Automaton. And there's already an official wRobot discord.
Plus you don't actually own a wRobot key...
-
Matenia got a reaction from Miragex01 in Configure repair
wRobot goes to repair of ObjectManager.Me.DurabilityPercentage <= 30
This can't be configured. It's an average of all items you have equipped and probably accounts for empty slots
-
Matenia got a reaction from t00z in Downloaded update now wont run
It says right there why that error was produced. Contact the seller.
-
Matenia got a reaction from Findeh in Change target during combat
wManager.Wow.ObjectManager.ObjectManager.GetUnitAttackPlayer() is all enemies targeting you, I think you could use this for what you want:
ObjectManager.GetObjectWoWUnit().Count(u => u.IsTargetingMeOrMyPetOrPartyMember && u.Type != WoWObjectType.Player)
-
Matenia got a reaction from Findeh in Stop force targeting
There is no healer mode. You need to write a fightclass that only and doesn't engage in combat. That won't work if you're running a quester and you need to do it in C#.
All code is free here:
-
Matenia got a reaction from Findeh in Stop force targeting
Try the plugin, you'll see for yourself if it what you need.
Quester will automatically engage your fightclass in combat, that's kind of the point. It makes it target mobs and calls Fight.StartFight()
-
-
Matenia got a reaction from 79135 in How to active plugin from plugin?
new System.Threading.Thread(() => { wManager.Plugin.PluginsManager.DisposeAllPlugins(); wManager.Plugin.PluginsManager.LoadAllPlugins(); }).Start();
-
Matenia reacted to Mykoplazma in Force bot to attack tagged mobs?
Because you must do several states of the bots ( follow state , attack state etc ) when the bot recognize a state it will only do the part which is proper for current moment. Imagine you wanna sit, stand, and run in the same time in real life. The bot is doing exactly that ?
-
Matenia got a reaction from Marsbar in buy item from ah-quester
https://marsbars.gitlab.io/unoffical-wrobot-api-docs/api/wManager.Wow.Helpers.AuctionHelpers.html
-
Matenia got a reaction from Tommy Cox in Slow at changing target
Creating a healer in the fightclass editor is very ineffective. Most people can't get it to work at all.
I suggest you look at some example projects I uploaded (they are for vanilla but should work until Wrath).
-
Matenia got a reaction from BetterSister in Slow at changing target
Creating a healer in the fightclass editor is very ineffective. Most people can't get it to work at all.
I suggest you look at some example projects I uploaded (they are for vanilla but should work until Wrath).
-
Matenia got a reaction from Requ in WRobot no longer works with TellMeWhen
It's not a bug. wRobot executes Lua code in a secure environment, which no "addon" should be able to do. All addons can only execute codes through the macro API.
A more simple version of this used to be known as a Lua unlocker.
Now that servers found a way to execute code in your WoW client (like any abitrary Lua code they want), wRobot needs to intercept this to taint the environment again to prevent detection by the server (tainted = insecure). You can just execute Lua code from within wRobot, you don't need an addon to provide additional functionality (and if you need a helper function it provides, you can move that to the Lua code you execute within wRobot).
If you aren't interested in executing secure Lua code (just stuff an addon could do to begin with), you can use these options:
Lua.SecureLuaCall = false; Lua.LuaDoString(string command, bool notInGameMode, bool ignoreSecureLuaCallOption);
-
Matenia got a reaction from zzzar in Using Mangle\Faerie Fire(Feral) in TBC
You can enter "Faerie Fire(Feral)()" as the name and it should work. I personally always substitute SpellManager.KnowSpell with an extension function in C#.
public static bool IsKnown(this Spell spell) { return Lua.LuaDoString<bool>($"return GetSpellInfo('{spell.Name')"); }
-
Matenia reacted to Paultimate in Party bot Follow distance
You may want to read the question more closely.
We aren't asking about the consistent follow distance. We are asking about partybot distance it can detect where the leader is before becoming abandoned.
-
Matenia got a reaction from Paultimate in Party bot Follow distance
So many existing threads, no willingness to read any of them or use the search function
-
Matenia got a reaction from Andoido in Northdale Bans - Detection?
You could do something like:
- mob becomes friendly
- bot instantly stops fight and stands still for 2-6 seconds (random)
- says random chat out of "wtf???", "fuck off, man", "r u srs" or no chat
- turns around and walks away 5-10 yards (random)
- returns to normal behavior, with the mob now blacklisted
I could write something like that in half an hour, the problem is it's not entirely clear how you can detect them turning it friendly, because your client probably doesn't really account for that. So I'm not sure if UnitAttackable Lua API would be enough or you can just check values in memory.
If a human watches you already, you're fucked anyway
-
Matenia got a reaction from artur.k in Northdale Bans - Detection?
You could do something like:
- mob becomes friendly
- bot instantly stops fight and stands still for 2-6 seconds (random)
- says random chat out of "wtf???", "fuck off, man", "r u srs" or no chat
- turns around and walks away 5-10 yards (random)
- returns to normal behavior, with the mob now blacklisted
I could write something like that in half an hour, the problem is it's not entirely clear how you can detect them turning it friendly, because your client probably doesn't really account for that. So I'm not sure if UnitAttackable Lua API would be enough or you can just check values in memory.
If a human watches you already, you're fucked anyway
-
Matenia got a reaction from Findeh in Northdale Bans - Detection?
You could do something like:
- mob becomes friendly
- bot instantly stops fight and stands still for 2-6 seconds (random)
- says random chat out of "wtf???", "fuck off, man", "r u srs" or no chat
- turns around and walks away 5-10 yards (random)
- returns to normal behavior, with the mob now blacklisted
I could write something like that in half an hour, the problem is it's not entirely clear how you can detect them turning it friendly, because your client probably doesn't really account for that. So I'm not sure if UnitAttackable Lua API would be enough or you can just check values in memory.
If a human watches you already, you're fucked anyway