Jump to content

Avvi

Members
  • Posts

    397
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Avvi reacted to MistaPlex in PvP-Plugin to buy in new stuff   
    Hey is there any plugin which automatically buys in pvp stuff if i have enough honor? Maybe anything where i can set a list which items to buy?
  2. Like
    Avvi reacted to SupraN in Using Ghost Wolf as mount.   
    It now uses ghost wolf as mount correct, thx for the tip :3
  3. Sad
    Avvi reacted to Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    I just checked it and switched to off. Still Auto Attack.
  4. Like
    Avvi reacted to Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    It does not look nearly as bad, but it is a bit of an issue in my honest opinion. Thanks again @Avvi
  5. Thanks
    Avvi got a reaction from Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    Sweet. I'm glad we found a workaround for this!
  6. Like
    Avvi reacted to Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    Yeah I have done that for now. hah!
  7. Like
    Avvi got a reaction from Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    My code is working in Legion for me. This is exactly what i have: 
    private void watchForEvents() { EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == wManager.Wow.Enums.LuaEventsId.PLAYER_ENTER_COMBAT) { Logging.Write("AUTO ATTACK ENABLED."); } }; }  
    I can spam the "Auto-Attack" button, and it spams the AUTO ATTACK ENABLED. Or, when the character enables it himself, it also logs the AUTO ATTACK ENABLED
  8. Confused
    Avvi reacted to Apexx in Hunter Class - Auto Shot and Attack Interrupt Issue   
    Yes I did.
  9. Like
    Avvi reacted to miltonbrad in start button not working   
    I think that fixed the issues :D im not saying for sure it did but i turned off night mode and i launched the bot and now it let me press start.
  10. Like
    Avvi got a reaction from miltonbrad in start button not working   
    it sounds like some application is starting on your system after you restart - hence why it works the first time. If you restart again, and then wait 15 minutes does it not work the first time?
  11. Like
    Avvi got a reaction from miltonbrad in start button not working   
    You Might have Nvidia / AMD graphics card overlay turned on. They both have a 'streaming' setting.
  12. Haha
    Avvi got a reaction from miltonbrad in start button not working   
    Do you have flux.io ? Or Windows Night Mode turned on?
  13. Like
    Avvi reacted to KnightRyder in Pathfinder error for Argus teleporter: Hope's Landing   
    Sounds related to https://wrobot.eu/bugtracker/no-vendicar-meshes-in-krokuun-r837/
  14. Like
    Avvi reacted to Droidz in Ignore 'De-spawned' Mining Nodes   
    Try code like:
    var nodesNearMe = ObjectManager.GetObjectWoWGameObject().FindAll(p => p.IsValid && p.GetDistance <= 50 && p.CanOpen).OrderBy(p => p.GetDistance).FirstOrDefault(); if (nodesNearMe != null && nodesNearMe.IsValid && wManager.wManagerSetting.IsBlackListed(nodesNearMe.Guid)) { wManager.wManagerSetting.RemoveBlackList(nodesNearMe.Guid); }  
  15. Thanks
    Avvi got a reaction from Findeh in Trinket Cooldown Time Left   
    I'm not the greatest with lua, so here is my answer but in C#.
     
    int itemID = 123; var itemCooldown = wManager.Wow.Helpers.Bag.GetContainerItemCooldown(itemID); var itemTimer = new robotManager.Helpful.Timer(itemCooldown); itemIsReady.ForceReady(); if (itemTimer.IsReady) { ItemsManager.UseItem((uint)itemID); itemTimer.Reset(); } Also, i'm not really sure about what this does:
    Bag.GetContainerItemCooldown(itemID) This may actually return the remaining time. I haven't tested. If it DOES return the remaining time, then you can pretty much skip the whole timer thing :). Anyway, let me know!
     
    I found an example that does it very similarly to my above snippet:
     
  16. Thanks
    Avvi got a reaction from Suspect in Difference between RunMacroLua and Ingame Chat?   
    One thing you can try:
            wManager.Wow.Helpers.Lua.RunMacroText("/click MultiBarBottomLeftButton1");
     
    The macro needs to be here:

  17. Thanks
    Avvi got a reaction from Apexx in Check If in Group/Party and Party Member Online   
    Hey Apexx, I believe I had a typo in the code snippet. Please try again.  with this 
    var isConnected = Lua.LuaDoString<bool>("return UnitIsConnected('" + "member.Name" + "')");
  18. Like
    Avvi reacted to Droidz in So Bad Bot   
    Hello,
    WRobot works, refund done.
  19. Thanks
    Avvi got a reaction from Apexx in Is Target Player of Opposite Faction   
    Just to clarify, the try / catch will prevent the bot from crashing, and then return the issue to WRobot logs. I use this technique when testing/trying to fix issues in my code all the time :) 
  20. Like
    Avvi got a reaction from sowelu in Is player offline? GetParty() doesent work.   
    I posted same thing in bug tracker: I'm pretty sure that there is an issue with the 
    wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid That the .GetParty() function uses.
     
  21. Like
    Avvi got a reaction from masamyyris in Why isnt my fight class working?   
    There is a bug in WRobot that does not allow spells with parenthesis . 
     
  22. Thanks
    Avvi got a reaction from Apexx in Check If in Group/Party and Party Member Online   
    if (Party.IsInGroup()) { // in group var partyMembers = wManager.Wow.Helpers.Party.GetParty foreach (var member in partyMembers) { // UnitIsConnected("unit") var isConnected = Lua.LuaDoString<bool>("return UnitIsConnected('" + "member.Name" + "')"); if (isConnected) { Logging.Write("Player " + member.Name + " is online."); } } } else{ // not in group } The above will check if you are in a group and then tell you whether each party member is online/not online.
  23. Like
    Avvi reacted to ScripterQQ in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Ok so there is no actual needing of "hooksecurefunc", it also needs a /reload to "unhook" so I don't think it's a good idea to use that command, but I may be wrong..
    By the way, this is the script I wrote, tested, working. Very basic script, it stops you from casting Psychic Horror on a target with Cloak of Shadows buff.
    local spellnametoblock = "Psychic Horror" local spellidtoblock = 64044 -- Psychic Horror local bufftoavoid = "Cloak of Shadows" UseAction = function(slot, tar) -- print("Slot: "..slot) --print("Target: "..tar) local type, id, subtype, spellID = GetActionInfo(slot) if type == "spell" then --print("Attempting to Cast Spell ID: "..spellID) -- Get the ID of the Spell you want to block if spellID == spellidtoblock and UnitBuff("target",bufftoavoid) then print("You can't cast "..spellnametoblock.." if Target has "..bufftoavoid.."!") else CastSpellByID(spellID,tar) end elseif type == "macro" then --print("Macro ID: "..id) local macrospellname, macrospellrank, macrospellID = GetMacroSpell(id) if macrospellname == spellnametoblock and UnitBuff("target",bufftoavoid) then print("You can't cast "..spellnametoblock.." if Target has "..bufftoavoid.."!") else RunMacro(id) end end end You just need to change the first 3 lines, put the exact name of the spell to check, its ID (there is a print option to get the ID once you press the Spell) and the debuff to check.
    The reason because you need both spell name and ID is because this is the onyl way to make it work with both normal spells and macroed spells.

    There is only one problem at the moment: not tested but pretty sure it can't prevent you from casting a macroed spell on a custom unit. For example, if you have macroed Psychic Horror on Focus, and Focus has CoS, and you press that macro, script won't work. I don't think there is a way to see what is the target of your macroed Spell.
    And viceversa, if you want to Psychic Horror your focus who has no CoS, but your target HAS CoS, the script will probably stop the spell, because it "sees" you are trying to cast Psychic Horror on a CoS target.
    So yea the macro part it's kinda tricky, not sure if it's possible to add all these checks and make a perfect script.

    Well my main goal was achieved, not complaining, and this idea was funny to do...but not sure if I will work on it again, because of all these limitations, I don't see the potential in LUA to make a perfect script actually.
     
  24. Thanks
    Avvi reacted to ScripterQQ in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Sure (this is the basic code just for test, there are no conditions added so it blocks every kind of action, even using trinkets.
     
    hooksecurefunc("UseAction", function(...) return true end) UseAction = function(...) print("UseAction Stopped") end  
     
  25. Like
    Avvi reacted to ScripterQQ in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Will try this ! :)
     
    Ya actually there is :P
×
×
  • Create New...