Report Download
Better Bots
Version 15
Last Updated: 03-06-2017, 08:28 AM
MD5: a81c5d3cc91b47d3874af9d4c9b146de
Downloads: 46911
Views: 197979
32 3
Schmuddel
Submitter (Submissions)

Shortlink:
Make Bots Great Again

The vanilla teammate AI is basically designed to be a couple of guaranteed Jokered cops with health regen instead of being virtual recreations of actual players. This mod tweaks and changes certain aspects of the bots so they are both more useful and are more similar to human players. No longer will you have to deal with babysitting new players from the most recent Steam sale. Changes are as follows:
  • Bots will automatically mark Tasers when they are tased
  • Bots can dominate cops
  • Bots can melee cops and Shields, knocking them down and dealing 1/4th of their health in damage
  • Bots can dominate, intimidate, and mark NPCs independently, rather than sharing a timer for these actions
  • Additionally, bots will not mark enemies who are already marked, increasing the variety of marked enemies
  • Bots have had their "aim delay" and "focus delay" values set to 0, enabling them to aim and shoot at enemies immediately
  • Bots can now hit targets at any range, including Snipers
  • Bots have had their "run_start" and "run_stop" animations removed, enabling them to better keep up with players
  • Bots no longer have hurt animations heavier than "light hurt," preventing them from being knocked over due to damage and also preventing "stunlocking" from too much damage at once, like from turrets
  • Bots will use human player outlines when playing in offline mode
  • Bots will wear the Lightweight Ballistic Vest and either a doctor bag or ammo bag (chosen at random) to make them appear more human (note that the bags cannot be deployed and the armor does not increase their durability, both are purely cosmetic)
  • Bots will automatically reload their weapons if they are out of combat and their magazines are at least half empty, rather than only reloading when their mags are totally dry
  • Bots' targeting has been overhauled, prioritizing enemies based on distance and focusing on specials
  • The bots' code for intimidating civilians has been improved and optimized for performance; bots will shout at civilians immediately if they are not on the floor, no matter what
  • Bots will mask up immediately when a loud sound is made rather than waiting for the alarm to go off
  • Bots will count for the "crew alive" experience and money bonus at the end of the heist in offline mode
  • The following are completely customizable:
    1. Bot total (max of 3)
    2. Health amount
    3. Movement speed
    4. Enabling dodging
    5. Weapon accuracy and power
    6. Weapon choice
    7. Forcing single fire mode
    8. Enabling the use of invulnerability frames like human players
    9. Forcing instant custody upon being downed
    10. Forcing arrests by Cloakers rather than downs
    11. Disabling of warcries
    12. Announcing low health (ie, asking for a doctor bag)
    13. Enabling independent domination of cops, rather than just assisting with your own dominations
    14. Enabling additional bots with the Big Lobby mod
    15. Including the total number of bots in the game's difficulty balance calculation
As with all BLT mods, simply drag the included "Better Bots" folder into your "mods" folder within your PAYDAY 2 installation.

Credits:
See the included "readme" file for information on credits and contributions.

If you regularly play only or mostly with bots, I would recommend using these mods along with Better Bots:
Keepers
Bot Bullet Collision Fixer
Bot Weapons and Equipment
Block Bots Per Heist
BlockThatBot
Ask Bot to Carry the Bag
Ask Bot to Fix the Drill
Full Speed Swarm
Iter

[-]
Leave a comment
To leave a comment you must log in.

03-22-2017, 10:57 AM
@Schmuddel I get the same error as BloodNDeception, I have also alot of custom weapons and custom weapon mods, perhaps that could help you. And i'm not 100% sure but I think the problem happens when a real player (perhaps the last one) leaves the game, today I had it while kicking someone (the last real player) as soon as I kicked him, it crashed with the log file you know.

@Jacket Foster I use this mod along with many other mods (BLT, Override etc...) and people can join me with no problem, the thing is I had a problem with a mod I forgot to delete (completely ?), and that problem was that ppl joining my game would be stuck at 97% and then couldn't join the game (don't know if they crash, since they were randoms) the mod in question is : "Arm and Leg Hitboxes" it was in Mod_overrides folder, after I deleted it, everything worked fine, and ppl could join me and replace any bot I had, the last problem I have with this mod is the one I mentioned at the beginning of this comment :) (the 490th line of betterbots.lua attempt(ing) to index a nil value)

@Schmuddel (again) Now it's a suggestion I have, do you think it would be possible to have specializations for bots ? I mean like some predefined skills, inspire bot, ammo+bulletstorm bot, ECM Jammer bot, and ofc what would be awesome it that bots can deploy items when being shout at, if you could add these features and fix the bug we're having, that would be PERFECT ! (thx btw for all your efforts :) )

03-14-2017, 06:52 AM
Your mod prevents other people from joining my game.  About as many people as I have bots in the server.  So, 3 bots equals 3 player slots that will NEVER FILL.  It's happening right now.  I have it set to 1 bot, and the 4th spot will never be filled because everyone is being crashed out.

03-13-2017, 03:33 PM
@[b]Schmuddel [/b]Hopefully there is something to report on as to why it causes any crashing.

03-12-2017, 03:03 PM
@BloodNDeception I'll look into it. That particular bit of code defines what weapon the bot is using for the purposes of reload speed so I don't know why it would be causing crashes.

03-12-2017, 12:09 PM
Got a crash related to Better Bots again, this time the group was playing One Down Lab Rats with Scarface AI, game crashed.

Application has crashed: C++ exception
mods/Better Bots/betterbots.lua:490: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 


-------------------------------

Current thread: Main

-------------------------------

System information:
    Application version : 1.65.0
    CPU : Intel® Core™ i5-3330 CPU @ 3.00GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
    DirectX : 10.0
    GPU : NVIDIA GeForce GTX 750 Ti / nvd3dum.dll[9.18.13.4709]
    Language : @ID94cca2fdaccfc2cd@
    Memory :     16338MB 980KB
    OS : 6.1.7601 (Service Pack 1) 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Microsoft (Speakers (3- USB Audio Device))

03-11-2017, 11:26 AM
@Schmuddel nope, not at all unless it's a critical bugs :P

03-11-2017, 12:46 AM
@Look That's pretty funny, does it actually damage them?

03-10-2017, 04:08 PM
Bots trying meleeing one of vlad's guy if they look at them in Aftershock heist (fix or not your choice unless they are critical)

03-07-2017, 08:39 AM
Application has crashed: C++ exception
mods/Better Bots/betterbots.lua:490: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) zip_get_name
payday2_win32_release (???) ???
ntdll (???) RtlCaptureStackBackTrace
payday2_win32_release (???) ???
ntdll (???) RtlAllocateHeap
AcLayers (???) GetHookAPIs
ntdll (???) SbSelectProcedure
ntdll (???) ZwQueryVirtualMemory
KERNELBASE (???) VirtualQueryEx
KERNELBASE (???) SetUnhandledExceptionFilter
KERNELBASE (???) SetUnhandledExceptionFilter
payday2_win32_release (???) ???
payday2_win32_release (???) zip_get_name


-------------------------------

Current thread: Main

-------------------------------

System information:
Application version : 1.65.0
CPU : Intel® Core™ i5-2320 CPU @ 3.00GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : AMD Radeon HD 7700 Series / aticfx32.dll[21.19.397.32768]
Language : @ID94cca2fdaccfc2cd@
Memory : 6126MB 656KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Speakers (High Definition Audio Device))


03-06-2017, 06:49 PM
Whats about russian localization? 

03-06-2017, 08:35 AM
If there aren't any more bugs then this is the final version. The mod has gone through 150 updates over the course of about two years and has changed considerably since the first version. I'll upload any localization contributions or bugfixes but other than that, it's been fun.

02-27-2017, 01:59 PM
Mon Feb 27 12:33:20 2017


Application has crashed: C++ exception
mods/Better Bots/betterbots.lua:489: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
                         ntdll  (???)     RtlAllocateHeap                                     


-------------------------------

Current thread: Main

-------------------------------

System information:
Application version : 1.64.1
CPU : Intel® Core™ i5-4690 CPU @ 3.50GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0 
GPU : Intel® HD Graphics 4600 / igdumdim32.dll[20.19.15.4531]
Language : @IDb6ce5cf32130deac@
Memory :     24448MB 12KB
OS : 6.2.9200 () 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Lautsprecher (G510s Gaming Keyboard))



---------------------------------------------------------------------

02-27-2017, 01:44 PM
Schmuddel


Mon Feb 27 12:34:16 2017


Application has crashed: C++ exception
mods/Better Bots/betterbots.lua:489: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        


-------------------------------

Current thread: Main

-------------------------------

System information:
Application version : 1.64.1
CPU : Intel® Core™ i5-4210H CPU @ 2.90GHz (1 core); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0 
GPU : NVIDIA GeForce 7900 GS / nv4_disp.dll[6.14.10.8440]
Language : @ID94cca2fdaccfc2cd@
Memory :     8104MB 280KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Speakers (High Definition Audio Device))



This happened after a player left my server in the middle of a heist. Could it be because I had 'Difficulty balance includes bot total' option disabled?

02-26-2017, 01:51 PM
Dang, so it was "Difficultty balance includes bot total" option causes crash with big lobby mods

02-25-2017, 08:50 PM
For some reason when I copy and pasted the log it was black so posting it again.


Application has crashed: C++ exception
[string "lib/units/enemies/cop/copdamage.lua"]:2430: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

        payday2_win32_release  (???)     ???


        payday2_win32_release  (???)     ???
        payday2_win32_release  (???)     ???
        payday2_win32_release  (???)     zip_get_name
                        ntdll  (???)     RtlAllocateHeap


-------------------------------

Current thread: Main

-------------------------------

System information:
   Application version : 1.64.1
   CPU : Intel® Core™ i5-6500 CPU @ 3.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
   DirectX : 12.0
   GPU : NVIDIA GeForce GTX 960 / nvd3dum.dll[21.21.13.7653]
   Language : @ID94cca2fdaccfc2cd@
   Memory :     16300MB 700KB
   OS : 6.2.9200 () 0x100-0x1 (64 bits)
   Physics : threaded
   Renderer : DX9 threaded
   Sound : Logitech (Headset Earphone (Logitech G633 Gaming Headset))


02-25-2017, 08:48 PM
People seam to be getting a crash on big oil that I believe is caused by better bots.

Application has crashed: C++ exception
[string "lib/units/enemies/cop/copdamage.lua"]:2430: attempt to index a nil value



SCRIPT STACK



-------------------------------

Callstack:

        payday2_win32_release  (???)     ???


        payday2_win32_release  (???)     ???
        payday2_win32_release  (???)     ???
        payday2_win32_release  (???)     zip_get_name
                        ntdll  (???)     RtlAllocateHeap


-------------------------------

Current thread: Main

-------------------------------

System information:
   Application version : 1.64.1
   CPU : Intel® Core™ i5-6500 CPU @ 3.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
   DirectX : 12.0
   GPU : NVIDIA GeForce GTX 960 / nvd3dum.dll[21.21.13.7653]
   Language : @ID94cca2fdaccfc2cd@
   Memory :     16300MB 700KB
   OS : 6.2.9200 () 0x100-0x1 (64 bits)
   Physics : threaded
   Renderer : DX9 threaded
   Sound : Logitech (Headset Earphone (Logitech G633 Gaming Headset))


02-25-2017, 06:04 PM
Application has crashed: C++ exception

[string "lib/network/handlers/unitnetworkhandler.lua"]:53: attempt to call method 'synch_equipped_weapon' (a nil value)

Crash condition : Crashed as host.

02-24-2017, 06:27 PM
it appear bots keep yelling at taxman in Undercover heist, i guess i won't have to yell it him anymore, just punching :D

02-23-2017, 06:18 AM
Bots no longer get the NPCs in Santa's Workshop to get back up packing presents.
They do seem to yell at the NPCs, the NPCs just don't react.
This used to work correctly before today.
Please fix.

02-22-2017, 03:04 PM
Thank you for constantly updating the mod.