Jump to content

ScripterQQ

Members
  • Posts

    484
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ScripterQQ reacted to headcrab in [Battleground] It mounts before buffing   
    Even better, no need to interrupt, simply remove ground mount for N milliseconds :)
    private void mountDelay(int delay) { if (delay == 0) return; string mountName = wManager.wManagerSetting.CurrentSetting.GroundMountName; if (mountName == null) return; new Thread(() => { wManager.wManagerSetting.CurrentSetting.GroundMountName = null; try { Thread.Sleep(delay); } catch (Exception arg) { Logging.WriteError("Exception during nomount: "+arg, true); } finally { wManager.wManagerSetting.CurrentSetting.GroundMountName = mountName; } }).Start(); } Will publish in next plugin version
  2. Like
    ScripterQQ reacted to headcrab in [Battleground] It mounts before buffing   
    Found proper event (LUA event PLAYER_UNGHOST), new plugin version uploaded. Now you can tune delay in settings
  3. Like
    ScripterQQ reacted to headcrab in [Battleground] It mounts before buffing   
    My previous solution dont work 100% and i found better (simply dont let to use ground mount for 1st second):
    if (state is ResurrectBG) { String mountName = wManager.wManagerSetting.CurrentSetting.GroundMountName; if (mountName == null) return; wManager.Wow.Class.Spell mount = new wManager.Wow.Class.Spell(mountName); for (int i=0; i<10; i++) { System.Threading.Thread.Sleep(100); if (ObjectManager.Me.CastingSpellId == mount.Id) Lua.LuaDoString("SpellStopCasting()"); } } I added it to my Battleground helper plugin, so you can simply install it and select option ResurrectBG pause
  4. Like
    ScripterQQ reacted to headcrab in [Battleground] It mounts before buffing   
    for me this code helps
    static Main(){ robotManager.Events.FiniteStateMachineEvents.OnAfterRunState += (engine,state) => { if (state == null) return; if (state is ResurrectBG) { Usefuls.WaitIsCasting(); Usefuls.WaitIsCasting(); Usefuls.WaitIsCasting(); } }; } just need some pause to cast 2-3 buffs
  5. Like
    ScripterQQ reacted to Matenia in [ROGUE] Stop Attacking if target Gouge/Blind   
    static Main { wManager.Events.FightEvents.OnFightLoop += GougeHandler; } static void GougeHandler(WoWUnit unit, CancelEventArgs cancelable) { if(unit.HaveBuff("Gouge")) { Lua.LuaDoString("StopAttack();"); Thread.Sleep(500); } } I believe you can add C# code like that (probably public static void - not sure how wRobot works in that regard) to your fightclass.
     
  6. Like
    ScripterQQ reacted to Jasabi in Stealth not working   
    Do you have an example to do this in c#?
  7. Like
    ScripterQQ reacted to eeny in Vampiric Touch cast twice   
    If your using the FC editor, just put a 3 second CD on the spell.
    Sometimes wrobot takes .5 second to refresh debuffs on the target (clients/ server delay).. so if Vampiric Touch has the ability to be chain cast it may be casting it again because it hasnt refreshed the target buffs yet.
    I still use iftargethsbuff- however i put a 2-3 sec CD on the DoT spell to avoid the double cast.
  8. Like
    ScripterQQ got a reaction from Avvi in Vampiric Touch cast twice   
    Sorry for bumping, but I was looking for the solution of this problem so I reply here instead of opening another topic.
    The problem with double cast happens to me too, not everytime but let's say 50% of times. I don't know if this can be avoided with changing the fps of the fight class, or other settings. So as other users said (and on other similar topics too), you can implement some C# code to prevent the double cast. But if you don't know about C# code (like me), you can use this simple lua script
    1) Spell Name:
    SpellStopCasting() 2) Conditions:
    LUA script: Lua Script stop = "no" if UnitCastingInfo("player") == "Vampiric Touch" then stop = "yes" end             Return Value Research: yes
                Return Value Var: stop
    Target Buff Casted By Me: Vampiric Touch (true) 3) Set on top right corner:
    Not Spell, is Lua script: true
    Put the spell with an higher priority than Vampiric Touch and you're done.
    Tested and working. Greetings.
     
  9. Like
    ScripterQQ reacted to Matenia in Assign Talents for 3.3.5 WOTLK   
    That's why I said decompile it (use dotPeek), adjust it and recompile.
    With Lua, you'll also have to define the order, there's no way around that.
    Every talent has to be matched to a level in your data structure.
  10. Like
    ScripterQQ reacted to Matenia in Autoattack breaking stealth (rogue, druid) and slow targeting enemies   
    You will need to make Cheap Shot itself Lua.
    Then in one Lua execution, you put:
     
    StopAttack(); CastSpellByName("Cheap Shot"); of course you need to add condition so it doesn't try to stop your attacks while you're out of stealth etc. Rather check you're stealthed/cheap shot isUsable etc.
  11. Like
    ScripterQQ reacted to Matenia in Autoattack breaking stealth (rogue, druid) and slow targeting enemies   
    Mount Distance 20 means if anything is 20 yards or further away, it will mount up instead of walking.
    There's no real way to prevent "right click" sine that's how Click To Move works.

    Instead, add Lua "StopAttack();" spam so that it won't break stealth with autoattack before cheap shotting.
     
  12. Like
    ScripterQQ got a reaction from maxwell in Create my own BG profiles.   
    Go to Product Settings, then "Create Profile", record your custom path and then save overwriting default routes .xml
    ([A]AB.xml is  [Alliance] Arathi Basin for example)

    And you need to turn free mode OFF
  13. Like
    ScripterQQ reacted to Matenia in Huge banwave of bots 3.3.5   
    This happened on Outland every day since day 1. They ban at least 50 accounts a day. It means nothing, because the bot isn't detected.
    It's just manual reports adding up. If their GMs actually put in any real work, they'd be banning 200 accounts a day. I've been botting on Warmane since day 1, got banned twice after never really logging out and staying in one spot for days.
  14. Like
    ScripterQQ reacted to BetterSister in Huge banwave of bots 3.3.5   
    The bot isn't detected GMs started whispering players and monitoring high demand gathering zones a year ago already. They just collect list of people and ban in waves. It was just about time for them to do something 
  15. Haha
    ScripterQQ got a reaction from phem0r in Auctionbot   
    What you want a perfect world where everyone is happy and there are rainbows all over the place? Some users are not satisfied, and they have the freedom to speak, and if I'm still here it's because I hope this product get some update, because I see the potential, but sadly I don't see the results. I want to contribute to make the product better, I was working on many profiles but couldnt finish it because I felt it was not worthing. People keep posting problems and there is like zero support or explanation from the staff. Even the topic I opened had 10 points (for sure I could make more), and guess what about them?
    1) Ignored
    2) Ignored
    3) Ignored
    4) Ignored
    5) Half-Ignored
    6) Premade reply such as "its your fight class". Its not. Like the thing that prioritizes the mount/follow on battlegrounds rather than Buffing before (there is also a separate topic about this that confirms that is NOT a fight class issue)
    7) Half-Ignored
    8) Ignored
    9) Ignored
    10) Ignored

    Since I paid for this product I think I need some explanations, not getting ignored every aspect I mentioned..not to mention the toxic community like you that ask me to get the fuck out because I'm "whining". Do you really think I like writing tons of lines on forum for the pure feeling of "whining"? I'm trying to be constructive, believe it or not, I may sound cocky or frustrated, but it's the truth, I want some improvements on this product. I pointed out what needs to be fixed to be a decent bot (not perfect because I don't think thats possible) because at the current state, at least the private server edition, it's kinda awkward.
    These are just my words, but take a look at the bug reports and overall topics, maybe you will see that mostly everyone has some kind of problems, well I listed my personal problems I expereienced (even posted few bug reports), so If you (staff) wanna fix that, or at leat try to, it woul be great and for sure I will come back and raccomend this product to other people, but until then, I costantly feel a lack of communication between users and staff
     
    EDIT: Just a RANDOM topic i scrolled down on first page, I experienced the same problem recently, so I clicked it out of curiousity. After 2 years not even a single improvment. https://wrobot.eu/forums/topic/2581-slow-buy-outs/
  16. Like
    ScripterQQ reacted to humbah in Auctionbot   
    Just wasted money on this service now! 
    Thought the bot at least could cancel, undercut others and resale your own stuff with some kind of time limit in between.
    Dissapointed as hell!
     If you want my real money you should fix this.
    At least front better with what your auction house bot can do because its pretty basic in my opinion and the features it has, that can any "allowed" ingame addon more or less do at minimum effort of the player.
    Cheers
  17. Like
    ScripterQQ reacted to Avvi in The WRobot rant (long)   
    You have valid complaints, and criticisms, but let's keep this civil. There is no reason to start name calling and using curse words.
  18. Like
    ScripterQQ reacted to Droidz in The WRobot rant (long)   
    Hello,
    Honestly the BG bot isn't a priority for me, I even regret having released it (because now I can not delete it). The BG bot destroys the game (for legit users), the BGs are sensed to be fun to play. I do WRobot to help in repetitive tasks (gathering, leveling, quests...), but not to bother the other players (otherwise I would also do cheats/hacks...), and this product works with default settings (on live servers) (even if you have to keep an eye on it). And if you use a separate hack and disable trees and object collisions you can understand why you get banned (cheat is easy to detect).
    6: This depend maintly of your fightclass
    7: https://wrobot.eu/files/file/1085-evadehate/
    9: This problem is caused by the option "Randomize path" (in product settings) when you profile contains positions near the ground (or if you use profile with underground positions).
    Yes WRobot is not perfect (it is a software, not a human), WRobot for official server is probably better (less bugs) than WRobot for private servers, I have a big list of bugs/suggestions to do, but with good profile/fightclass (gatherer, grinder, quester) you can run more than 10 hours per day WRobot without problem and no more one stuck by hours (this in all version, private or official servers), but for that you need to adapt your profile at WRobot, and not wait than WRobot adapts to your profile. And WRobot is probably the more advanced bot for private servers, if you found another bot better do not hesitate to use him.
    I repeat that I know that WRobot is not perfect and that I agree with you on some of your remarks , but you exaggerate, look at the ban reports and you will see than the number of bans is very little. You can use WRobot  several hours per day during several years without problem if you use good profiles/fightclasses. Now, why you, you get ban all few days/weeks while anothers use WRobot since several years without ban (like me)? I don't know.
  19. Like
    ScripterQQ reacted to Mykoplazma in The WRobot rant (long)   
    Ahh well becuase you dont understand how the gathering bot works :) Everytime where node is in scan range ( you can set it in global settings ) the bot is breaking the standard route and searching routine is generating shortest way to the node. Sometimes between player and the node are trees rocks or other crap and well the pathfinding routine is 'blind' to that things sometimes? ) (well soooome times) and bot will try to get the node and stuck on that crap. The  solution? Reduce searching range to 20 yards and fly over the ground 20 yards when recording. ( i have a tool to set the point exactly 20 yards above the ground and only when I wish the point is added ) I created a perfect path and the bot can fly around 8 hours without any crazy ideas and the water - yest the water just fly higher to prevent some crazy water digging :P And all above all - the bot is for ground mount not for flying mount and the fly mount's landing procedures and avoiding are well - in beta.
  20. Like
    ScripterQQ got a reaction from Avvi 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.
     
  21. Thanks
    ScripterQQ got a reaction from Avvi 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  
     
  22. Like
    ScripterQQ got a reaction from Avvi in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Will try this ! :)
     
    Ya actually there is :P
  23. Like
    ScripterQQ reacted to Matenia in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Actionbuttons use the function "UseAction" as far as I'm aware.
    Could try hooking that. I'm not entirely sure how buttons cast the spell internally, but I know it goes through that function at some point.
  24. Haha
    ScripterQQ reacted to Avvi in Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)   
    Technically Holy Nova is a Holy spell and PW:S is a discipline spell :) SO THERE'S A DIFFERENCE!!!
  25. Like
    ScripterQQ got a reaction from Photogenic in Rogue Poisons/Item usage   
    Hello, I'm trying your plugin on Battleground but doesn't work. In the settings i put in the fields "Wound Poison" and "Crippling Poison" with quotemarks, but it doesn't apply them. I tried without quotemarks and it says it "maybe no items in bag", so I assume the quotemarks are necessary.
    I read the lua code and if I'm not wrong it doesn't apply if is mounted or is moving or is in combat. So I tried to manually dismount while out of combat, to see if it will apply poison but nothing, it runs by feet a bit without mount then stop, and mount again. I was hoping that the moment he stops he would apply poisons before mounting but doesn't happen. Same for when I start the bot while standing still, out of combat. It takes a while to start, then the first thing it does is mounting..
    Any idea about what could be the reason? I don't see any "print" white message in chat so I assume the settings are ok.
×
×
  • Create New...