Jump to content

Zer0

Elite user
  • Posts

    134
  • Joined

  • Last visited

3 Followers

Recent Profile Visitors

1282 profile views
  1. Some FCs have specific movements, lilke a rogue moving behind a target, or a hunter backing up to be in shoot range. This is something you can't prevent, unless you modify the code of the FC. If it's a simpler XML routine, then as long as you're under the FC set range, you're free to move.
  2. You're probably using the demo version. If you want to use it without restriction, you can buy a key here: https://wrobot.eu/store/category/2-wrobot/
  3. For your information, I used to subscribe to OnEventsLuaStringWithArgs in 2 places. First in Hunter.Initialize() and then in the constructor of another class called Cast.Cast() in both places I could only get COMBAT_LOG_EVENT and COMBAT_LOG_EVENT_UNFILTERED. now that I've moved the hunter autoshot event catcher to the Main.Initialize() method, I can get all events from there. For the sake of testing I've logged the Cast.Cast() event catcher and I still only catch COMBAT_LOG_EVENT and COMBAT_LOG_EVENT_UNFILTERED (Which in this case doesn't matter because I don't need anything else) I hope it helps.
  4. I have found what the issue is. So my AIO first selects a rotation class in Main.Initialize(), and then launches the Initialize() method of the selected class (which also derives from the IClassRotation interface), for example Hunter.Initialize(). For some reason, subscribing to OnEventsLuaStringWithArgs inside Hunter.Initialize() only gets me COMBAT_LOG EVENT and COMBAT_LOG_EVENT_UNFILTERED. I've moved the code to Main.Initialize() and it works perfectly now. I have no idea why it happens like that, but I'm glad it's fixed. Thanks everyone for your help ?
  5. I don't doubt your words. If it works for you, then it works, but I feel like I've tried everything, and I'm still having this issue. So, to recap what I've tried: Catching the event with no args works: EventsLua.AttachEventLua("UNIT_SPELLCAST_SUCCEEDED ", c => HandleAutoAttackEvent(c)); ... private void HandleAutoAttackEvent(object context) { Logger.Log("AUTO"); } Catching the event directly in the client works: Lua.LuaDoString([email protected]" AIOAutoHunt = CreateFrame('Frame') AIOAutoHunt:RegisterEvent(""UNIT_SPELLCAST_SUCCEEDED"") AIOAutoHunt:SetScript('OnEvent', function(self, event, unit, spell) if unit == 'player' and spell == 'Auto Shot' then DEFAULT_CHAT_FRAME:AddMessage(spell); end end )"); Catching events with args only returns COMBAT_LOG_EVENT and COMBAT_LOG_EVENT_UNFILTERED EventsLuaWithArgs.OnEventsLuaStringWithArgs += (eventid, args) => { if (eventid == "UNIT_SPELLCAST_SUCCEEDED") Logging.WriteDebug("[EVENT] " + args[0] + " > " + args[1]); }; ------ OR ------ EventsLuaWithArgs.OnEventsLuaStringWithArgs += AutoShotEventHandler; ... private void AutoShotEventHandler(string id, List<string> args) { Logger.Log($"******************** {id} ********************"); for (int i = 0; i < args.Count; i++) { Logger.Log($"{i} -> {args[i]}"); } Logger.Log($"******************** END ********************"); } I'm using a freshly installed WRobot (no plugin) and I've ran those tests on 2 different WoW clients (no addon). I've made sure I compiled my FightClass with the fresh WRobot dlls as references. Do you have any idea what could possibly be different between your setup and mine? Could it be caused by the client? Something in my code?
  6. It doesn't work for me. I've ran more tests. I thought it was an issue with my WRobot so I've downloaded a fresh install. No plugin, no addons. Same problem. I have also tried with 2 different TBC clients (Excalibur/Netherwing), same result on both clients. I only get COMBAT_LOG_EVENT_UNFILTERED and COMBAT_LOG_EVENT out of EventsLuaWithArgs.OnEventsLuaStringWithArgs. On both clients I'm still able to catch the event directly with LUA.
  7. Also fore reference, I've tried logging all the events private void AutoShotEventHandler(string id, List<string> args) { Logger.Log($"******************** {id} ********************"); for (int i = 0; i < args.Count; i++) { Logger.Log($"{i} -> {args[i]}"); } Logger.Log($"******************** END ********************"); } You can have a look at the log joined to this post and see what happens (the character is only auto attacking). 23 mai 2021 11H40.log.html
  8. Thanks for the answer. I do get the event in the client. I have tried this: Lua.LuaDoString([email protected]" AIOAutoHunt = CreateFrame('Frame') AIOAutoHunt:RegisterEvent(""UNIT_SPELLCAST_SUCCEEDED"") AIOAutoHunt:SetScript('OnEvent', function(self, event, unit, spell) if unit == 'player' and spell == 'Auto Shot' then DEFAULT_CHAT_FRAME:AddMessage(spell); end end )"); and it catches my auto attacks successfully (I get the message in the chat every time an auto shot is fired). I'm not using your framework, I'm using WRobot's EventsLuaWithArgs.OnEventsLuaStringWithArgs (wManager.Wow.Helpers). So I guess something else is wrong, but I'm not sure what.
  9. I'm trying to catch the UNIT_SPELLCAST_SUCCEEDED event for Auto Shots. I've tried EventsLua.AttachEventLua("UNIT_SPELLCAST_SUCCEEDED", c => HandleAutoAttackEvent(c)); It does work, but for all spells, and I'm only interested in my own auto attacks (so at least, I know this event is the correct one). EventsLuaWithArgs.OnEventsLuaStringWithArgs += AutoShotEventHandler; This one is the one I would need, but it doesn't catch any UNIT_SPELLCAST_SUCCEEDED. It only catches COMBAT_LOG_EVENT_UNFILTERED and COMBAT_LOG_EVENT events. I'm on TBC, I've been told that in WotLK, EventsLuaWithArgs.OnEventsLuaStringWithArgs does catch UNIT_SPELLCAST_SUCCEEDED. Does anyone know how I can do that?
  10. Version 1.0.0

    51 downloads

    Overview Hi guys, The Wholesome team is proud to present the Wholesome Inventory Manager plugin. This plugin has been created to facilitate items and inventory management. It comes with easy-to-use presets and advanced options for the user to fine-tune its usage. How to install Copy the .dll file into WRobot's Plugin folder and enable it in the Plugins tab of WRobot. Autoupdater This plugin comes with an autoupdater. Every time you press play, it checks if a new version is available. If it finds one, it automatically installs it and restarts the product. Features Auto Equip Gear: The plugin will regularly scan your inventory and check for better gear to equip. Each piece of equipment will be attributed a gear score according to the user defined stat weights. Auto Equip Bags: It can also equip larger bags. You can also choose to equip ammo containers such as quivers and ammo pouches. Stat Weights: Gear selection will rely on each gear item's weight score. The weight score of items is calculated according to the weight stats set by the user. If you choose to let the plugin autodetect your weight stats, it will choose a preset according to your detected class and specialization. It will also update its preset each time you assign a talent point, in case of spec change. All presets were copied from Pawn with a few adjustments, which means it's mostly suited for late-game content. You can also choose to input your own stat weights. Quest Reward Selection: The plugin can select quest rewards for you. It will either choose an item you want to equip (higher weight score than currently equipped) or the first one. Group rolls: If you are in a group and an item roll comes up, the plugin will choose NEED if the item is an upgrade to your currently equipped piece of gear (except for bags), otherwise, by default, the plugin will roll GREED. You can also choose to always GREED, or always PASS. Loot Filter: You can choose to auto-delete items that match your settings. The loot filter is disabled by default. Be very careful with its configuration. The plugin will delete items in your bags without asking for confirmation and with no chance to recover them. By Quality: Each quality has 3 settings: KEEP, ANY, and DELETE. KEEP means that no matter the other options, items of this quality will never be deleted. ANY means that items of this quality will be deleted if it matches other criterias. DELETE means that items of this quality will always be deleted. By Value: This option is disabled for WoW expansions under WotLK because it is impossible in TBC and Vanilla to obtain item sell prices from the client. The loot filter will never delete an item that is in your WRobot Do Not Sell list. Other filter criterias might be added on demand. Project Wholesome – A quick word The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project is transparent, open-source, and then released in the store for free. Nothing released under Project Wholesome is sold for profit, although individual donations are welcome. We are always looking for more testers and developers. If you want to participate, please join our Discord channel. Project Wholesome Discord: https://discord.gg/NEq4VA6 if you have questions about our products, you can also post a message in our club: https://wrobot.eu/clubs/9-wholesome-team/ Special thanks Special thanks to the entire Wholesome team, as usual, for their support and help. Enjoy!
  11. CustomClass.ResetCustomClass() reloads the current FightClass. Most products call it when the PLAYER_LEVEL_UP Lua event is fired.
  12. Tauri WoW – Evermoon is a MoP server. AIO.dll is a WotLK fightclass.
  13. No, it only works with private servers.
  14. You're probably using the free demo version. You need to buy a key. https://wrobot.eu/store/category/2-wrobot/
  15. Make sure you use the English version of the game.
×
×
  • Create New...