Jump to content

Ordush

Elite user
  • Posts

    1167
  • Joined

  • Last visited

Posts posted by Ordush

  1. 11 minutes ago, Garub said:

    lol, now I'm feeling dumber than normal. kkkkkkkk, sorry guys, I'm super amateur in codes and programming, not to mention my inability to understand English. Ok, here's another impression of how the FC was that you guided me.

    IMG_20180621_065644990_HDR.jpg

    I just do not understand that part, what should I put there?

    --------------------------------------------------------------------------

    I put my combat routine in case any of you want to do the correction directly ^^.

    Warrior_Prot_forum.xml

    look at what Matenia wrote. ?
    Where it says "Not spell, is lua script" set that to true. ?

  2. 7 hours ago, Garub said:

    in fact I write this code in Heroic Strike because when it was activated Wrobot waited for his execution to initiate the other abilities, so I stayed a few seconds without attacking Heroic Strike and always in the next attack, understood (sorry my English I'm using the google translation) I'm brazilian.

    Even with these new information, do you recommend that I change my Heroic Strike code to the one you wrote?

    If you don't change your code all your conditions will be irrelevant.

  3. 54 minutes ago, Garub said:

    I'm in version 3.3.5

    ------------------------------------------------------------------------------------

    Lua Script:
              Lua Script                           CastSpellByName("Revenge");retV=1;
              Return value research     0
              Return value var               retV

    ------------------------------------------------------------------------------------

    If I put this code to revenge, does it work? I used this code for the Heroic striker
    I do not know how this code works, but after I used Heroic Strike it worked correctly.

    That works? ?
    It just sets retV to 1, so it'll never be true? ?
    Lua Script:                      revengeUsable = IsUsableSpell("Revenge");
    Return value research  false
     Return value var           revengeUsable

    The code you wrote above just casts Heroic Strike. This is why your revenge is not prioritized.
    Every time it gets to Heroic Strike, it will run the code you just wrote, and cast heroic strike, it will overwrite any condition you have made. 

    Edit: Just looked through your code.
    The heroic strike will always overwrite anything, it does not care for any conditions at all.
     

    My guess is that you made that code in or for it to not turn OFF heroic strike
    Instead do it like this:
    Where it says "Heroic Strike" on the left (spell name)
    write: RunMacroText("/cast !Heroic Strike")
    Then under the spell settings (top setings thingy) change to Is Lua Code or whatever it says. ?

    Then remove that silly LuaScript. ?

  4. If you are on vanilla, you need to have the spell on actionbar for IsUsableSpell to work.

    you can also do a lua condition instead

    with 

    revengeUsable = IsUsableSpell("Revenge");

    revengeUsable has to be your check var

    however, this is also requires your spell to be on the actionbar.

    Now, if it make take WRobot a second to register that Revenge is usable, hence it might cast spells anyway.
    Try increasing the fps on the FC. (Top left corner).
     

    Edit:  I just noticed devastate, so you are not on Vanilla. ?

  5. 39 minutes ago, Droidz said:

    Hello,

    
            robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) =>
            {
                if (ObjectManager.Me.IsDeadMe && 
                    state.DisplayName == "Regeneration" && 
                    ObjectManager.Me.PositionCorpse.DistanceTo(ObjectManager.Me.Position) > 40)
                {
                    cancelable.Cancel = true;
                    // You code to follow path here
                }
            };

     

    Can't this code be used to fix the revive bug in dungeons?

  6. 2 hours ago, payyn518 said:

    I was testing this issue on another character on another pc with a different resolution and it works fine. I'm guessing the resolution or something along those lines is the root cause. I just need to figure out what is causing the problem.

     

    PLEASE do tell if you figure out what the issue is. So i can add it to the FAQ. ?

  7. 5 hours ago, payyn518 said:

    around 350. I was able to replicate the issue even after getting around 222 ms

     

    It's really weird, because i am not getting this issue at all.
    Not even on proxy.
    Please try turning on CTM. see if t changes anything, basically i have done everything that can be done to fix the issue.
    I even have MovementManager.Face(ObjectManager.Target);   in the end of the movement code, so it honestly sounds like a wrobot bug, that is happening to you for some odd reason. It's very hard to fix something i can't replicate.

    I take these bug reports very seriously, and until now I've managed to fix 100% of all the bugs reported. (Although 95% of the bugs reported, has not been caused by my fightclass).

  8. 4 minutes ago, zatvorgt said:

    specific vendor   ,
    i interract with him wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc
    and next step need code to selling him all items and save donotselllist items

    You can just go to that vendor and call ToTown, it should use the nearest vendor?

    Edit: I mean go to the vendor, open his trade window.

  9. 1 hour ago, byron said:

    something similar to below sent from c

    Lua.LuaDoString


    for groupindex = 1; MAX_PARTY_MEMBERS do
     debuff = UnitDebuff("party"..groupindex , 1, SHOW_DISPELLABLE_DEBUFFS);
    if ( debuff ) then
            DEFAULT_CHAT_FRAME:AddMessage("how do I return a list of player names here back to c#" );
    else 
    DEFAULT_CHAT_FRAME:AddMessage("return no -one to dispel" );
    end
    end

    you just do a return with Lua.LuaDoString<String>("return functionName");

  10. 7 minutes ago, Garub said:

    I just wanted the change to work when I was not in combat and when I was in combat.

    My limited English is not letting me understand, it would be possible to make this modification, if not Unfortune.

    Warrior_Prot_xxx.xml

    I literally just told you how to make it work like that. ?

    I can not edit your fightclass from here, go to your "Charge" spell, and change CombatOnly to false.
    It might be called something other then CombatOnly, but it's something alike.

    Also by looking at your code with notepad, i can see that you have a condition called "Me in Combat" and you have set it to false.
    With this, your charge will only work when you are NOT in combat
    Also you have set Target Is Player to true (So it will only work if your target is a player) As far as i know, charge is used on mobs?
    Furthermore you have set it, so Charge is Lua code not a spell, however you have not written any Lua Code, so it's trying to send "Charge" as lua. This will not do anything.

    Now, with all this info here, you should be able to change it so it works.

×
×
  • Create New...