• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] ZapRecorder2 - Profile Recorder for GB2

    Discussion in 'Development' started by BadWolf, Sep 9, 2012.

    1. fpsware

      fpsware Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      5,287
      Likes Received:
      133
      Trophy Points:
      63
      Hey mate, are you still updating this?

      There are a few bugs I'd like to discuss. If I've not heard anything in the next few days I'll release a modified build with some fixes.
       
      Last edited: Nov 22, 2012
    2. BotAlotz

      BotAlotz New Member

      Joined:
      Sep 13, 2012
      Messages:
      146
      Likes Received:
      0
      Trophy Points:
      0
      This
       
    3. p4stt0lumb1

      p4stt0lumb1 New Member

      Joined:
      Mar 25, 2012
      Messages:
      23
      Likes Received:
      0
      Trophy Points:
      0
      does this work for ground profiles like using grindbot but using ground mounts and farms herbs and ores?
       
    4. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      This +2, after it adds one repair NPC it won't add again (developer tools also crashes which is weird).
       
    5. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      ZapRecorder 2 - Fix for 'TestProfile'

      Hi BadWolf. I love the ZapRecorder program, thanks for doing that.

      I see your 'TestProfile' functionality is commented out. I uncommented it, and saw the problems you have with 'Unable to read bytes' when getting various WoW bits.

      I really wanted this functionality, so I started to incorporate it into FightThisWay, the custom class I wrote... and VERY early on, encountered the same bug, and what caused it. I fixed it, and figured you'd like to know what the fix was too, so you can fix ZapRecorder.

      Basically - a form had a timer, that was trying to update the UI. I believe this caused a separate thread of execution, that sometimes successfully got the information from the underlying class, and sometimes didn't. When it didn't, it would throw that 'Unable to read bytes' error. The 'hacky' way I fixed it first, was to check 'StyxWoW.Me.IsValid' - that fixed it, but it is a hack.

      The final solution, was to remove the timer, and raise an event called 'UpdateUI' from the underlying class itself. The form ONLY updates itself with fresh HonorBuddy information when it gets that event - otherwise, it does nothing. This causes the code to execute from the thread of the class, instead of the thread of the UI, and I was able to remove the 'StyxWoW.Me.IsValid' check. Raising this event from the 'Pulse' event of the plugin would work, with your product.

      It's not obvious that the form is not on the same thread of execution as the DLL, but that appears to be the case. I freely admit that multi-threaded programming is something I shy away from - it's too easy to introduce impossible-to-trace bugs. I might be wrong in the particulars in this case, but raising an event from the Pulse event DID fix it for my product, anyway.

      I hope this information helps your product as well.

      --Kamilche
       
      Last edited: Nov 25, 2012
      Makkli likes this.
    6. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Well, I finally broke down and made my own product from scratch, because this one wasn't working. You're welcome to download it and examine it, if you ever decide to fix up this product and get it working again.

      It is available here:

      Hotspot Recorder.
       
    7. 2771124

      2771124 New Member

      Joined:
      Oct 21, 2012
      Messages:
      26
      Likes Received:
      3
      Trophy Points:
      3
      感谢分享!
       
    8. radarlove

      radarlove Member

      Joined:
      Nov 1, 2012
      Messages:
      38
      Likes Received:
      1
      Trophy Points:
      8
      I made a grind profile with zaprecorder. Runs around the correct path, but isnt attacking any mob... What could be the problem?
       
    9. Ducks

      Ducks New Member

      Joined:
      Mar 22, 2012
      Messages:
      377
      Likes Received:
      4
      Trophy Points:
      0
      Hey, you should read the Honorbuddy-wiki. It's something about, you need to add the mobs faction etc so the bot don't start try attacking friendly guards for example.
      Honorbuddy Profile Writing: Faction ID List - Buddy Wiki

      Hope you find some answers, good luck! :)
       
    10. mudplayerx

      mudplayerx New Member

      Joined:
      Jan 29, 2012
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      0
      Thank you so much for this
       
    11. mudplayerx

      mudplayerx New Member

      Joined:
      Jan 29, 2012
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      0
      Zaprecorder 2 works fine for me

       
    12. Mario27

      Mario27 Banned

      Joined:
      Jan 15, 2010
      Messages:
      6,336
      Likes Received:
      4
      Trophy Points:
      0
      so with this i could create my own skinning profile paths to not only mining herbs?
       
    13. jsimmons10

      jsimmons10 Community Developer

      Joined:
      Feb 15, 2012
      Messages:
      744
      Likes Received:
      10
      Trophy Points:
      18
      how can i make it attack mobs ? i made the profile but it wont attack anything
       
    14. crazybuz

      crazybuz Member

      Joined:
      Jun 14, 2012
      Messages:
      171
      Likes Received:
      2
      Trophy Points:
      18
      Your CR is what deals with attacking.
       
    15. Gothic\

      Gothic\ New Member

      Joined:
      Sep 28, 2010
      Messages:
      43
      Likes Received:
      0
      Trophy Points:
      0
      Yes, you can create a path to do whatever you want =)


      Which Bot mode are you in, Grind? Or something else. Are you way points in the air or along the ground. If your grinding along the ground and your bots not attacking then chances are it's just your CC not being configured correctly. Maybe post a log file?
       
    16. jsimmons10

      jsimmons10 Community Developer

      Joined:
      Feb 15, 2012
      Messages:
      744
      Likes Received:
      10
      Trophy Points:
      18
      i was using grind bot but i was flying. i took the path walking insted and it works now, ty. dident think flying would effect it
       
    17. radarlove

      radarlove Member

      Joined:
      Nov 1, 2012
      Messages:
      38
      Likes Received:
      1
      Trophy Points:
      8
      Very good and underlighted question. From what I have read: you have to add a tag to the profile with the faction that the bot has to attack. Download a grind profile and its there. Only question i have is: how do you get a specific faction-id. Havent found that out yet...
       
    18. crowns

      crowns New Member

      Joined:
      Dec 8, 2012
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      0
      so i got it to run the path but its not killing anything how do i make it kill stuff lol
       
    19. crowns

      crowns New Member

      Joined:
      Dec 8, 2012
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      0
      Yes where in the profile will you need to add this in the name or in the xml it's self?
       
    20. crazybuz

      crazybuz Member

      Joined:
      Jun 14, 2012
      Messages:
      171
      Likes Received:
      2
      Trophy Points:
      18

      Target the mob click the developers tab in hb profit
       

    Share This Page