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!

How do you make the bot not stand in telegraphed attacks?

Neverdyne

Community Developer
Joined
Sep 12, 2014
Messages
649
Hello, I'm new to Reborn buddy and have been doing fates with it. One thing that seems to kill me quite often is the bot standing in telegraphed attacks. Some of them are quite nasty. Is there a way to make him move out?
 
The aoe data isn't in the spelldata but we could make a collection of lists for each type of aoe and add it to a plugin/crs but there's been no community support behind this idea because not one person has reported a single spell id for me to add to the list >_>

so I guess no one really wants it?

edit:
Code:
strip regular frontal: 490, 940, 974, 975

strip long wide frontal:

strip wide frontal: ?

cone narrow behind (flanking safe - 25%): 569 

cone very narrow frontal (as small as strip)

cone narrow frontal (flanking safe - 25%): 351, 352, 444, 498, 506, 517, 528, 720

cone wide frontal  (flanking not safe - 33%+): 331, 446, 506, 518, 580, 604, 606, 618, 356, 937

circle on you or their target, large radius: 562, 738, 978, 1311 

circle on you or their target, large radius persistent: 563

circle on you or their target, small radius persistent: 

circle on you or their target, small radius: 954, 738, 1311

circle on monster, large radius: 417, 1003, 1006, 337, 497

circle on monster, small radius: 336, 561, 596
 
Last edited:
Ah I see, and how do you get the SpellID of a telegraphed attack ingame?
 
Ah I see, and how do you get the SpellID of a telegraphed attack ingame?

Should be able to just run this in console or put it in your cr's pulse:
Code:
 if ((Core.Me.CurrentTarget as BattleCharacter) != null && (Core.Me.CurrentTarget as BattleCharacter).IsCasting && (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo !=null)
                Logging.Write("[Spell Id] "+(Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.Name +" Spell ID " + (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.ActionId);

It puts the name and id from your target's casting spell into your log. I need the number and type of attack for my list.

I was thinking of changing the categories to add cone/strips/stupid long strips but really since it works well enough for me and I've seen no support, I figured it didn't matter.

The lists are maintained in my cr's thread btw.
 
Last edited:
Should be able to just run this in console or put it in your cr's pulse:
Code:
 if ((Core.Me.CurrentTarget as BattleCharacter) != null && (Core.Me.CurrentTarget as BattleCharacter).IsCasting && (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo !=null)
                Logging.Write(Colors.OrangeRed, "[RebornCo] "+(Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.Name +" Spell ID " + (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.ActionId);

It puts the name and id from your target's casting spell into your log. I need the number and type of attack for my list.

I was thinking of changing the categories to add cone/strips/stupid long strips but really since it works well enough for me and I've seen no support, I figured it didn't matter.

The lists are maintained in my cr's thread btw.

What determines the size of the AoEs? I've seen some cone attacks that are pretty short and some that a huge (Odin/Maahes/etc.). Does it go by their model size or is there a "small, medium, big" AoE category for each shape maybe?
 
It's all based on the spellids. I'm not sure how many categories there are for types, widths, lengths and directions.

I think types are just strips, cones, circles. Width/length I think just have the standard and wide/long. Directions forward/behind and mob/target for circles.

From what I've seen, the same spellid from different mobs always has the same dimensions.
 
Last edited:
So what you're doing is, on your combat routine you check to see if the target is casting a spell, get the spell's ID, and use some sort of lookup table to find the spell's area of effect dimensions / shape, then move the character to somewhere safe? If so, are you manually relating the shape / size of the spell to its ID on the lookup table? Or is there a way in the API to know the shape / size?
 
I'm using separate lists for each category of type, width, length and direction. So if spellID is in this list you know it's this area; if spellID is in that list then you know it's in that area.

I haven't done any testing to see if the mob changes targets when they cast an aoe on a player but if not you could at least use it's rotation to treat it like a wide strip and if you're soloing then you know it will be cast on you.

Right now I'm only avoiding frontal strip/cone aoes because it hasn't been a priority. The lists are because there's no api data (no data even for mastahg to grab) for the type/shape or size. Having a set of lists is effectively the same thing as having an enum in the spelldata describing the type/shape/size of the aoe. After that there's numerous ways we could handle calculating the data and deciding where to move.

You can check if a point is in the aoe by using distance/facing calculations for strips/cones and distance checks for circles.
 
Last edited:
i just figured this wouldnt happen. would be nice as a tank to side-step cone attacks and run out of aoe radial attacks and back in.
 
Still have not had anyone give me suggestions on aoe categories or data to add....

This could have been implemented by anyone a long time ago if people actually wanted it.
It's pretty basic stuff, no witchcraft required...

>_>
 
So I'm thinking of just writting a plugin that writes an XML file with every casted ability from creatures seen by the bot, but is there a way to know if it's a telegraphed attack and what its shape is just from the rebornbuddy api? If we have to do this manually it'll take a while :P
 
So I'm thinking of just writting a plugin that writes an XML file with every casted ability from creatures seen by the bot, but is there a way to know if it's a telegraphed attack and what its shape is just from the rebornbuddy api? If we have to do this manually it'll take a while :P

There is no way, no. Nor do I believe any such database exists anywhere, at least not to my knowledge. Sorry.
 
So I'm thinking of just writting a plugin that writes an XML file with every casted ability from creatures seen by the bot, but is there a way to know if it's a telegraphed attack and what its shape is just from the rebornbuddy api? If we have to do this manually it'll take a while :P

I think you're onto something with this plugin idea. The plugin can take a screen shot and it can either be stamped with the spell id or the file name can have the time so you can look up the spell id in the log. It would be awesome for both collecting the spell ids and coming up with new categories, specially if you're in a birds eye view. ^_^
 
I think you're onto something with this plugin idea. The plugin can take a screen shot and it can either be stamped with the spell id or the file name can have the time so you can look up the spell id in the log. It would be awesome for both collecting the spell ids and coming up with new categories, specially if you're in a birds eye view. ^_^

I tried running the script you gave a few posts back in the reborn console and it returned an error. I'd be glad to help out with the database if you'll make it possible for me.
 
I tried running the script you gave a few posts back in the reborn console and it returned an error. I'd be glad to help out with the database if you'll make it possible for me.

sorry i didn't test it, I still can't test it now but I'm pretty sure the error was because of Colors:

Code:
if ((Core.Me.CurrentTarget as BattleCharacter) != null && (Core.Me.CurrentTarget as BattleCharacter).IsCasting && (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo !=null)
Logging.Write("[Spell Cast] "+(Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.Name +" Spell ID " + (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.ActionId);

should work
 
Last edited:
sorry i didn't test it, I still can't test it now but I'm pretty sure the error was because of Colors:

Code:
if ((Core.Me.CurrentTarget as BattleCharacter) != null && (Core.Me.CurrentTarget as BattleCharacter).IsCasting && (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo !=null)
Logging.Write("[Spell Cast] "+(Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.Name +" Spell ID " + (Core.Me.CurrentTarget as BattleCharacter).SpellCastInfo.ActionId);

should work

As soon as the bot starts working again I'll be glad to give you some
 
just started working for me ^_^

I would really like some advice on the categories, if anyone has any suggestions

Code:
strip regular frontal:

strip long frontal:

strip wide frontal:

cone narrow behind (flanking safe - 25%): 

cone very narrow frontal (as small as strip)

cone narrow frontal (flanking safe - 25%):

cone wide frontal  (flanking not safe - 33%+): 

circle on you or their target, large radius:

circle on you or their target, small radius:

circle on you or their target, large radius persistent: 

circle on you or their target, small radius persistent: 

circle on monster, large radius:

circle on monster, small radius:
All i need is the spell id and the category
 
Last edited:
Okay, so the script didn't return an error this time, but I pasted it into Reborn Console and hit F5 to run and it seems to work but isn't putting anything into the log sadly.
 
Okay, so the script didn't return an error this time, but I pasted it into Reborn Console and hit F5 to run and it seems to work but isn't putting anything into the log sadly.

I think the console hotkey system is broken, you'll have to manually click run unless someone enlightens us on how to use the hotkeys (i tried setting a different key but no go)
 
Back
Top