• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Zekken] Avoid telegraphed attacks.

    Discussion in 'Plugins' started by Neverdyne, Dec 6, 2014.

    1. Valpsjuk

      Valpsjuk Member

      Joined:
      Nov 10, 2014
      Messages:
      397
      Likes Received:
      4
      Trophy Points:
      18
      Actually, Zekken works for me. And I dont think I have done anything. Maybe it started working again when navigation was reactivated
       
    2. Sincerely

      Sincerely Member

      Joined:
      Mar 30, 2014
      Messages:
      473
      Likes Received:
      0
      Trophy Points:
      16
      does anyone know if this works just using combat assist?

      i wanna set this up so it basically dodges all crap in dungeons and i think the only way to currently do that is, using combat assist and getting zekken to work with it? or is there another easier way that im missing.
       
    3. Neverdyne

      Neverdyne Community Developer

      Joined:
      Sep 12, 2014
      Messages:
      649
      Likes Received:
      18
      Trophy Points:
      18
      It wont' work with Combat Assist since those kinds of bot bases don't initiate the navigator, and without it Zekken can't move.
       
    4. Tho-kun

      Tho-kun New Member

      Joined:
      Dec 20, 2012
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      1
      Hey!
      Yesterday Zekken was still working for me, but now its not moving anymore, using Fate Bot and Order Bot.
      And it started doing some strange things like:
      [10:37:40.917 N] [Zekken] Taking screenshot.
      [10:37:40.945 N] [Zekken] Screenshot size: {Width=1920, Height=1080}.
      [10:37:41.177 N] [Zekken] Saved screenshot of unknown spell Thunder (968).

      Anyone got any news on it?
      Are you still updating your plugins Neverdyne?
       
    5. Neverdyne

      Neverdyne Community Developer

      Joined:
      Sep 12, 2014
      Messages:
      649
      Likes Received:
      18
      Trophy Points:
      18
      That means it doesn't have that spell on the database, you gotta add it.
       
    6. himym23

      himym23 New Member

      Joined:
      May 30, 2015
      Messages:
      22
      Likes Received:
      1
      Trophy Points:
      3
      Can i post a puush link in this forum? i get an error everytime i try to use zekken >_< well get an error trying to go into the settings with Microsoft .NET im using windows 8.1 and i have it updated even used the Noobie tutorial checker any help? using 4.5.2 .net

      "Unhandled exception has occurred in your application"
       
      Last edited: Jul 5, 2015
    7. goldenlion

      goldenlion New Member

      Joined:
      Oct 20, 2013
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      Would you happen to know if that applies to MUD Assist, since that has at least follow movement logic (using Gaia) ?
       
    8. Valpsjuk

      Valpsjuk Member

      Joined:
      Nov 10, 2014
      Messages:
      397
      Likes Received:
      4
      Trophy Points:
      18
      Zekken works with MUD
       
    9. kh3kmyz

      kh3kmyz New Member

      Joined:
      Jul 3, 2010
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      1
      Spell Screenshots is capturing wrong monitor for me, any way to change that?
       
    10. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      If I remember correctly, it will capture whatever your main display is set to, regardless of where RB or FFXIV is.

      [​IMG]
       
    11. ZeeZee

      ZeeZee Member

      Joined:
      Nov 6, 2014
      Messages:
      61
      Likes Received:
      3
      Trophy Points:
      8
      You can quickly change the display that is captured.

      Assuming you have windows the following *should* work (I'm not sure if the device name will be the same on every machine, don't have any more on hand to test with.
      In windows find out the display number of the monitor that you run FF on (http://www.eightforums.com/tutorials/30571-main-display-change-windows-8-a.html) the big number.

      Replace 'x' in the following line "int displayNo = x;" with the number of the screen you want, and run the code in reborn console.

      Code:
      // This should be the screen number that windows shows
      int displayNo = x;
      
      for (int i = 0; i < Screen.AllScreens.Count(); i++)
      {
      	if (Screen.AllScreens[i].DeviceName == @"\\.\DISPLAY"+displayNo)
      	{
      		Log("Screen.AllScreens[{0}]", i);
      		break;
      	}		
      }

      Then edit the following file \Plugins\Zekken\Source\Database\SpellCapture.cs:
      Replace the Capture() method with the one below, and then replace the text "{replace_me}" with the text that was output from the console command above.

      I've attached a modified version of the file, so you can just use that and search for "Screen.AllScreens[1];" then replace the number theren. (Neverdyne if that's ok mate, if not I'll remove the attachment)

      View attachment SpellCapture.cs

      Code:
              private static Bitmap Capture()
              {
                  var screen = {replace_me};
                  var bounds = screen.Bounds;
                  var bitmap = new Bitmap(bounds.Width, bounds.Height, PixelFormat.Format16bppRgb555);
      
                  using (var g = Graphics.FromImage(bitmap))
                  {
                      g.CopyFromScreen(screen.Bounds.X,
                                       screen.Bounds.Y,
                                       0, 0,
                                       bitmap.Size,
                                       CopyPixelOperation.SourceCopy);
                  }
      
                  Logger.WriteMessage("Screenshot size: {0}.", bitmap.Size);
                  return bitmap;
              }
      
       
    12. kei220

      kei220 Member

      Joined:
      May 22, 2015
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      6
      what if i got 3 client running there is no main screen for this.
       
    13. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Started using this, I'll dig through the code and see what I can do, while Pushedx is busy getting exilebuddy into perfection.
       
    14. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      Then you will need to ensure the screen(s) you want to capture are on the monitor you set as your main. If they are on another monitor, they will not be captured.

      I've been far too busy to add spells to the database that I'd like to, but if someone could knock out 90%+ of the telegraphed spells in the game, that would be incredibly helpful!
       
    15. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Yea, I'm not too sure how your structuring works atm, but from what I've played in game, there are 3 types.
      The circular one, the dodging would be simply, Move forward as turning and dodging would take longer.
      The triangular one, again fastest way to dodge it to move forward instead of turning and dodging.
      The Random spot ones, which bosses do. Those I hope the API has detection for.
      Basically, anything is doable as long as we have API support for it.
      From that I can assume, we can datamine the bosses/monsters to see what type of attacks they have, generalize it into some format and work from there.
      Unless there is a better way to detect which type of attack it is, we would have to get the attack's name, current direction the mob is facing(which I think we can do as the circle for the mob has an arrow pointing to where the mob is looking.
      But this is all speculation and I've not checked into the API.
      From what I've seen so far, this would be easier to dev on then Path of Exile, due to the simplicity of things. You can do actions that the GUI does not permit, which helps with automation a ton.
      Anyhow, I'll let you know as soon as I have something.
       
    16. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      This isn't my plugin, if that was a point of confusion. I just wish I had the time to add all the spells I've encountered that weren't in the database. ;)

      There are also rectangular types of attacks, but I believe those would be the 4 variations I can think of right now.

      For the spells not currently in the database, if you tell it to take a screenshot, it will do so on the monitor you have set as your "main" monitor in Windows and you can then set proper (or best-guess) properties in the database file for that spell you just encountered. It's really just an exercise in data collection. This may help?

      http://ffxiv.gamerescape.com/wiki/Category:Mob_Action
       
    17. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Yes That certainly does help, I've also thought of a default action to perform in case spell is not in database.
      Ie Dragoon class has a jump 15 units backwards skill, I don't know about the other classes yet.
      But the api is well, different lol.
       
    18. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      Be cautious with default actions; many of the screenshots it has taken were of a mob casting an ability with no ground targeting display. As such, constantly running around to dodge phantom target zones may attract a few bot reports.
       
    19. ZeeZee

      ZeeZee Member

      Joined:
      Nov 6, 2014
      Messages:
      61
      Likes Received:
      3
      Trophy Points:
      8
      You *could* add the screen as a setting in the plugin interface, and then in each instance of Reborn Buddy change the setting during runtime.
       
    20. kei220

      kei220 Member

      Joined:
      May 22, 2015
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      6
      it works normally now at it take picture of all monitors
      i got in the folder and cut excess part but the boring part is who did what... i dont know....
      :)))
       

    Share This Page