Jump to content

ScripterQQ

Members
  • Posts

    484
  • Joined

  • Last visited

Posts posted by ScripterQQ

  1. Nevermind, I found with RunLuaCode i can just set a variable and recall/check it when necessary, easier than I thought :)

     

    EDIT: I cannot set a "If variable = X, then GoToStep" step with lua, so I'm again at the starting point, need to find a solution..

  2. Hello, I'm working on some quester profile but I struggle with adding a counter, I'm not so exped in C# but I believe it's something easy to do.

    What the quest order should look like:

    1) var counter = 0
    2) Pulse "quest 1"
    3) var counter = counter + 1
    4) If counter = 10
    5) Msgbox "Counter equals to 10"
    6) Go To Step "9"
    7) Endif
    8) Go To Step "2"
    9) Pulse "quest 2"


    Any help?

  3. On 22/4/2018 at 4:12 PM, schizoaffectivecop said:

    but it can be minimised by using something blizzard doesn't know exists ? 

    I believe yes, minimized... but still don't bot like mad or you will get eyes on you pretty fast imho.

  4. Hello, I'm creating a quest profile with gatherer zones, but I have some problems. I added the hotspots and IDs of the herbs, but I notice the bot gathers trash herbs if they are near, and this is a problem, for example when he needs to change zone, he takes the taxi but once arrived start gathering everything he finds in his route, and this is a huge waste of time, I want to force the bot to go only on my hotspot and gather only the herbs I added, is there something I am missing?

    Thanks.

  5. Hello, I'm working on a quester profile, I noticed quite few times when there is a Pulse (Follow Path), the bot ignores my recorded route and decides on his own how to reach the final point, for example I recorded from barrens to tanaris and the bot is running on the edge of the mountains, with the risk of falling down and messing up all the path. Why is this happening?

    I'm testing it on 3.3.5 server.

  6. I'm currently working on a quester profile (which doesn't include quests, it's just grinding, but with extra features). I can't publish it since it's a work in progress but I can give u a hint, use Automaton. Before even creating the profiles I leveled 3-4 chars just with Automaton with 200-250 yard range setting. You place the char in a zone with enemies with appropriate level, and let it go for 4-5 levels. Then change again zone and repeat. You can't afk 100% obviously but it works good.

  7. My main problem was because of Isle of Conquest, I found a way to exit from the base when bg starts and then try to stay in middle forever. Because if you reach the end of the profile somehow, it will try to go to the starting point, the base, which is impossibile because there are gates down, and it will run into walls. So that was my plan, exiting from the base (A to B) then loop forever in a big circle, even with variations, but as already said, it doesnt happen. I copy-pastaed the loop more than 50 times, but happens it ressurrect, does a piece of route and then it goes to the base. Means it reached the end of the profile and tries to go back at the beginning. So basically my copy-pasta of the circle/loop is useless.

  8. Small update: I got the same error while using Stauffenberg 's profile "darnassus to northshire", on a private server (not w.rmane). I was waiting at Teldrassil for the Ship to Auberdine, and exactly like my profile, I got the same error and behaviour (after the error the char was jumping into the water thinking the ship was there). I tested his profile on w.rmane and it was perfect, so I guess it's something wrong on the server rather than on the code, I don't know. I even tried to make a separate Quester profile with just a RunCode with

    while (ObjectManager.GetWoWGameObjectByyId(ID).Count == 0)
    {Thread.Sleep(1000);}

    and the step after, a debug print on the screen, which never triggered, meaning it was still on the while loop because the ID was not found, but the Ship appeared on the game so the while statement should have stopped.

    My guess is the robot on some servers can't recognize ships IDs when they appear/disappear... or it bugs somehow.

    I will make further tests and try to localize the problem..

  9. I think Vargus is the only repair in silithus IIRC, I remember having some problems too, now I don't have a level 50~ char to test it but meanwhile I suggest you to wipe the NPC database, and add manually Vargus as Repair, with your faction (default is neutral, change it to your faction). Then make sure Wrobot doesn't automatically add vendors, remove the check from that feature, and try. I don't remember if Vargus is a Vendor too, but try to use it only for repair.

  10. I tested it a bit, not for so long, just some quest profiles and small grinding. Always watching/babysitting it, just in case.

    No problems so far, accounts are safe, but I wouldn't push it too far, in fact I do 90% of my tests on trash servers, because I still see banwaves on this one (maybe they are old report, maybe new... but still I'm afraid too of the situation and I don't have many account that I can afford to loose on wrmane.)

  11. I took another peak at his code, in fact on the first ship he didn't add a control basically because the ship is always in the zone, but the second ship actually appears/disappears from the zone and goes through "portals", so yea he added a check

    ObjectManager.GetWoWGameObjectByyId(ID).Count == 0

    I guess both options are valid, I just didn't think about the item ID going out of the zone. Now I stick with the null check and I'm fine, the result is the same :)
    Still I prefer his code rather than the classic "Catch Zeppelin/Ship", but that's a matter of preferences

  12. Hello, I used the following code to make the player use the tram on my profile: (thanks to Stauffenberg)

    if (ObjectManager.GetWoWGameObjectByyId(176082).FirstOrDefault().GetDistance <= 25) {
      Logging.Write("[Quester] Tram already here - waiting for the next one to make sure boarding will not fail");
    }
    while (ObjectManager.GetWoWGameObjectByyId(176082).FirstOrDefault().GetDistance <= 25) {Thread.Sleep(500);};
    
    Logging.Write("[Quester] Waiting for the Tram");
    while (ObjectManager.GetWoWGameObjectByyId(176082).FirstOrDefault().GetDistance > 25) {Thread.Sleep(500);};

    I tried to replace the ID of the tram with the ID of the ship on Booty Bay (tried both ships, Maiden and Bravery)  and I can't get it work. I tested randomly this code by swapping the ID and putting the ID of a mailbox and the code was working, obviously (I put a debug print like "im near the mailbox", "im far away from the mailbox").

    This is basically the error I get when I try to put the ID of the Ship

    [E] 18:54:56 - QuesterState > TestCondition(string csharpCode): System.NullReferenceException: A reference to an object not set on an object instance.
       in Main.Pulse2()
       in Quester.Bot.OjuwidaiVejuowe.EriaqeivalJaubalaw(String akainuf, Boolean ekeqeureiNiatiok)

    I thought about the ship entering/exiting from the zone, so basically when checking range conditions the bot doesn't find the object and crashes somehow, but applied to Darnassus Ships it works so I have no idea honestly (also I don't understand the error..is it francais?). I tried even in a custom server where there are custom npcs and objects, and with development tools I took the ID of a custom object and still the same issue, it was not recognizing it. Any idea how to fix this? I would like to add this feature on my quester profile to move from Booty Bay to Ratchet.

×
×
  • Create New...