What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Zekken] Avoid telegraphed attacks.

So I downloaded this yesterday and gave it a try overnight. I watched it for a few hours then decided to let it run while I slept and it worked pretty well. It's a little clunky in regards to the way it stops the CR while it's moving to it's position, but I understand why it needs to work that way without a proper API to recognize telegraphed attacks. This is a good plugin and one I would love to see expanded upon. I do have one request from what I noticed when I woke up this morning. I woke up, dead, at the bottom of Witchdrop Cavern (24, 17 In game) in Coerthas lol. What happened was during the fate "Coming to a Head" the plugin went to move out of the way of a telegraphed attack, and it did move, right off the cliff, down into the cavern, and to my imminent demise lol. This hasn't happened again within the last few hours and I'm sure this was a coincidence, but it is something that would benefit the plugin in the long run so I thought I'd mention it.

Is there a way to add a height check to the coordinates that it designates "safe" to move to so it does not fall off cliffs? lol That would be great.

I apologize for not adding a log. If I can recreate the issue I will try to capture the log when it happens so it's not 7+ hours of data to sift through.

Thanks for the report, it's an issue I've known for a while. The problem is that it moves blindly right now, I'm working on a new version that moves using the mesh like the rest of the bot so those kinds of things will hopefully be avoided.
 
Everytime I compile, it just deletes everything from whats inside the database.
 
Last edited:
here it is.

The XDatabase.xml file seems to be corrupt or doesn't exit. I'd recommend a fresh install of the plugin. If you edit the XDatabase.xml file to add a spell, immediately compile it and see what Zekken shows on the log. If it's the same as this, then the XML got screwed up when editing the file.
 
So I made a made a new install, added the spell, saved it. compiled it and the same thing happened.

Like he said, post a log again please. Also please post the XML file after you've edited it. It appears to be messed up so being able to see what you've edited would be helpful.
 
I did It again to get the log and It compiled, i do not know what i was doing wrong that caused the xDatabase to get deleted. But everything is working fine now
 
I did It again to get the log and It compiled, i do not know what i was doing wrong that caused the xDatabase to get deleted. But everything is working fine now

Good to hear, as Kaga said it sounded like adding the new spell to the file was messing the XML in it so it couldn't be compiled.
 
Code:
            var newSpellCasts = characters
                .Where(c => c.InCombat && c.CanAttack)
                .Where(c => IsNearby(myLocation, c))
                .Where(c => c.IsCasting)
                .Where(c => c.SpellCastInfo != null)
                .Where(c => !previousCasters.Contains(c))
                .Select(c => new SpellCast(c, database))
                .ToList();
As nice as that looks, its really inefficient, combine it into one where clause.

Code:
return VectorTools.GetStraightVector(myLocation, originPoint, Math.Max(8f, distance * 2));
Pretty sure that should be a math.min

Also, change your AvoidanceVector from a struct to a class and do this instead.

Code:
public static readonly AvoidanceVector Zero =  new AvoidanceVector(0f, 0f, true);

Otherwise you keep creating a new struct everytime you call Zero.
 
Hello and thanks for this plugin. I just started botting with FFXV and yesterday created a character and leveled him with the 1-15 official quest pack. I had your plugin running and noticed that many times it didn't dodge telegraphd attacks..sometimes it did but most it didn't. I am at work now and don't have the log, but I can upload log when I am home. Thanks
 
Hello and thanks for this plugin. I just started botting with FFXV and yesterday created a character and leveled him with the 1-15 official quest pack. I had your plugin running and noticed that many times it didn't dodge telegraphd attacks..sometimes it did but most it didn't. I am at work now and don't have the log, but I can upload log when I am home. Thanks
If you can provide the appropriate spell info (as shown in the log when a new attack happens that isn't in the database), it can be added to the database. :)

From the first post:

Shape Database

Quick Explanation Video

If you're grinding a spot and one of the mobs does a nasty telegraphed spell, to make Zekken avoid it in the future you have to add it to the shape database. To do that, do the following:

1. Go to /Rebornbuddy/Plugins/Zekken/Spell Screenshots/ and take a look at the screenshot of the spell you want to add. Notice the number in the screenshot's name, that's the spell's ID.
2. Go to /Rebornbuddy/Plugins/Zekken/Spell Shapes/ and open the XDatabase.xml file.
3. There are a few spell shape entries on the database already, copy paste one of the "XSpellShape" elements and change the ID property to the new spell's ID.
4. Modify the "Flags" properties of your new entry. These flags describe the shape of the telegraph. Be accurate, don't leave "Circle" and "Rectangle" on the same spell.
5. Save the XDatabase.xml file and close it.
6. On the Rebornbuddy application, go to Plugins and select Zekken. Click the "Compile" button, located where plugin settings usually are.
 
If you can provide the appropriate spell info (as shown in the log when a new attack happens that isn't in the database), it can be added to the database. :)

Unfortunately, it was from the main scenario quest (when the man in Black summons a golem to fight you, early in Ul'Dah). But now that I know I will keep an eye and report the spell id if I find anything else.

EDIT:

0M3m45X.png
 
Last edited:
Check the Screenshot folder inside the Zekken folder, if there's a bunch of images there then those spells are not in the database. You'll have to add them to it so they are dodged. For anyone new, Rebornbuddy can't "see" telegraphed spells yet, it's not on the API. So how Zekken works is by detecting the casting bar on the mob, and then using the separately made shape database to look up the spell's overall shape and try dodge it that way. Problem is, there's thousands of spells out there and they have to be added manually, so the idea was for people to add the shapes they care about.
 
Check the Screenshot folder inside the Zekken folder, if there's a bunch of images there then those spells are not in the database. You'll have to add them to it so they are dodged. For anyone new, Rebornbuddy can't "see" telegraphed spells yet, it's not on the API. So how Zekken works is by detecting the casting bar on the mob, and then using the separately made shape database to look up the spell's overall shape and try dodge it that way. Problem is, there's thousands of spells out there and they have to be added manually, so the idea was for people to add the shapes they care about.

Oh I see thank you :) I could add them for myself, since it is from the leveling quests I plan to do again, but the problem is that half of my screenshots are from my desktop (I was lat-tabbed out of game) so I cannot really tell if the spell was cone, circle, etc. But I checked the database and I will add spell I want in future..it seems very easy. Thanks :)
 
Yup, right now it takes a screenshot of your primary monitor. I'll change it sometime in the future when I have time.
 
I know the one he's talking about since I'm leveling 2 characters at the same time with those profiles xD. It's good to know that these things can be added and with such efficiency.

My question was can we change how are characters interact with the spell? What I mean is can I have my character move to the side for a cone instead of running away. Or moving through a mob if needed. Is it possible to change how far a mob moves behind the target as well? Some places are riddled with a lot of hostile mobs and the bot will move way too far away to avoid the cone and end up aggroing a lot more mobs and killing itself.
 
Does anyone have a massive list they would like to share so we all can compile it?
 
Back
Top