Page 212 of 213 FirstFirst ... 112 162 202 210 211 212 213 LastLast
Results 2,111 to 2,120 of 2126

Thread: BatBrain -- a central nervous system for consult scripts

  1. #2111
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,531

    Default

    Yes, "onlyhurtby" wasn't in the Twitch leak but I consolidated some special cases there, and made a framework for possible similar mechanics that may arise later. It presently supports all weapon types (i.e. "club", "knife", "accordion") as well as "pottery" and "healing".

    Until r109, there was no code anywhere in BatBrain for making the "dodge" keyword apply to weapon-based skills. If your hitchances were being calculated correctly, it must have been through magic! I'll take it.
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossnam | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  2. #2112
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,531

    Default

    OMGZ0r it's update 11!1!11!!! Er, r111.

    This update focuses on Batfellow. While I still wouldn't attempt to automate Batfellow at present, anyone playing as Batfellow using Batman RE will have accurate information at hand now (i.e. mousing over the monster's attack will tell you how much damage the monster will deal to you). The damage of punches and kicks is now set correctly.* We've added all the monster attacks, correctly reduced by your appropriate Bat-stat (such as Bat-Bulletproofing for ranged weapons, Bat-Stench Resistance for stench attacks, and so forth). We also account for the weapon being wielded by mooks and criminals. It seems that my feature request was pretty niche and unlikely to ever be on anyone's radar, so although I would still appreciate the attack_element field being set for those monsters, the rest has been handled in-script.

    Also, now that mafia tracks your Bag o' Tricks usage, we have removed BatBrain's now-redundant code for tracking that.

    Cool Enhancement to SimpleSmack

    For anyone using SimpleSmack -- the sample consult script in the first post that I've included as an example of how to code consult scripts using BatBrain, which is also the consult script I use for everything -- I've uploaded an update. It adds an example custom sort called decimate_action(), which will find your best attack option that almost kills the monster. I've also added code to use this action versus slimes in the Convention Hall, followed by the G?-gone, so it should be possible to automate the slimes now no matter which skills you have available without changing your CCS.

    Enjoy, everyone!

    * While the multiplier and modifier are accounted for correctly, the damage for punches and kicks is increased by the amount of times you've used the opposite skill, rather than the amount of times you've switched between them. In practice, however, this leads to BatBrain preferring alternation, which means the incorrectness won't show up unless you manually punch twice in a row, for example, after which BatBrain would incorrectly think your punch still deals 5 (or 10) and your kick now deals 7 (or 14).
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossnam | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  3. #2113
    Senior Member
    Join Date
    Feb 2010
    Posts
    968

    Default

    Tried using SimpleSmack against the amorphous blob and got:

    Code:
    This monster is stun immune! That information should be added to batfactors.
    Also got that for the hostile intelligent alien in the Spacegate.
    Last edited by Magus_Prime; 01-02-2018 at 12:43 PM.

  4. #2114
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,093

    Default

    So my supposed latest version of batfactors is dated 10/16/2017, Is there a problem with updates as they occur on my machine or have people stopped updating and sharing it? Thanks.

  5. #2115
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,531

    Default

    You acquire an effect:

    On Your Honeymoon (24 turns)

    Currently traveling Europe. Will be back home and able to fix stuff (if such stuff there be) in late May. Sorry for any inconvenience!

  6. #2116
    Junior Member
    Join Date
    Jan 2007
    Posts
    28

    Default

    You acquire an effect:

    On Your Honeymoon (24 turns)

    Currently traveling Europe. Will be back home and able to fix stuff (if such stuff there be) in late May. Sorry for any inconvenience!
    Originally Posted by zarqon View Post
    Remember to use your free kills, maybe hit up the hidden temple

  7. #2117
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,093

    Default

    batfactors can be edited and uploaded by anyone. We know that won't be zarqon for a few weeks. Has anyone else worked on it since October? I'm still a bit concerned that updates might not be working.

  8. #2118
    Senior Member Pazleysox's Avatar
    Join Date
    Feb 2009
    Posts
    363

    Default

    batfactors can be edited and uploaded by anyone. We know that won't be zarqon for a few weeks. Has anyone else worked on it since October? I'm still a bit concerned that updates might not be working.
    Originally Posted by fronobulax View Post
    Having little experience with this script, I did not know this. I am however curious how the script will respond to a monster (Plywood_cultists) that will only take damage from passive sources.

    Code:
    dodge (X)  The monster has an X percent chance to dodge melee attacks.  
    noitems (X)  The monster has an X percent chance of blocking items (e.g. Bonerdagon).  
    noskills (X)  The monster has an X percent chance of blocking skills (e.g. Naughty Sorceress).  
    spellres (X)  The monster resists X percent of damage from combat spells.
    I did bring up a feature request however.
    Scripts I have written:
    Unlock Dread A Script to save you a bunch of clicks.
    Standard Rollover Bonus A Script that shows best items to pull/equip for bonus turns.
    Standard PVP Bonus A Script that shows the best items to pull/equip for bonus PVP Fights.
    Rollover Management A Script that does all the daily deeds you might have forgotten, or might have missed.
    Chatbot A Chatbot script. Simple start for those who want/need one for their clan.
    Zap Wand A Dungeon of Doom ZAP WAND getting script.

  9. #2119

    Default

    Is it possible to make BatBrain understand the Sing Along skill? It has different effects depending on what your SongBoomô BoomBox is set to. Each of the Sing Along effects can easily be added to batfactors, but Iím not sure how to tell it that the skill changes wildly depending on the BoomBox setting. The latter is tracked by KoLmafia, so itíll need to check a preference.

    I suspect this isnít actually possible without changing BatBrain itself. Iíd implement it by adding a way to enable/disable an entry based on the boolean output of arbitrary ASH code. You could then have an entry for each possibility, and ignore all but one of them based on the booleans.

    This would also be extremely helpful for the God Lobster, which has properties that change based on the familiar item you have equipped.
    Last edited by Saklad5; 07-21-2018 at 06:17 PM.

  10. #2120
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,531

    Default

    @fronobulax: Have your updates been working now that I've been uploading some updates to batfactors? Recently went through and added a bunch of missing items and skills.

    @Pazleysox: I've been adding information for the FantasyRealm monsters as I'm going through the content now. So BatBrain shouldn't recommend obviously impossible actions against these monsters now, but I'd still recommend fighting most of them manually (perhaps with BatMan RE's assistance) for now, since I've gotten killed by SmartStasis when fighting the spooky ghosts with their spooky aura, for instance.

    @Saklad: Yep, I need to add support for both those things.
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossnam | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

Similar Threads

  1. Feature - Implemented random_attributes not being passed to consult scripts
    By DoctorRotelle in forum Bug Reports
    Replies: 7
    Last Post: 05-25-2015, 04:38 AM
  2. Replies: 25
    Last Post: 04-05-2015, 07:20 PM
  3. Feature - Implemented Duplicate scripts cause "not found" error for consult scripts
    By nightslide in forum Bug Reports
    Replies: 6
    Last Post: 06-10-2013, 07:07 PM
  4. Multiple consult scripts?
    By fxer in forum Scripting Discussion
    Replies: 2
    Last Post: 03-04-2013, 08:43 PM
  5. Passing variables to consult scripts from the ccs
    By Captain Kirk in forum Custom Combat Settings
    Replies: 0
    Last Post: 08-17-2008, 05:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •