segabl / pd2-useful-bots

A lightweight bot overhaul
GNU General Public License v3.0
7 stars 5 forks source link

Border Crossing - coplogictravel.lua crash upon travelling to Mexico #18

Closed ghost closed 1 year ago

ghost commented 1 year ago

Crashes every time if the bots are in hold mode while initiating the tunnel's "Somewhere in Mexico" sequence.

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

Thu Jan 19 21:01:30 2023

Application has crashed: C++ exception
[string "lib/units/enemies/cop/logics/coplogictravel.lua"]:1464: attempt to index local 'objective' (a nil value)

SCRIPT STACK

update() lib/units/enemies/cop/logics/coplogictravel.lua:227
lib/units/enemies/cop/copbrain.lua:234

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

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.134.167
    CPU : 12th Gen Intel(R) Core(TM) i7-12700K (10 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
    DirectX : 12.0 
    GPU : NVIDIA GeForce RTX 3070 Ti / nvldumd.dll[31.0.15.2802]
    Language : english
    Memory :     32538MB 116KB
    OS : 6.2.9200 () 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Razer Inc. (Headphones (Razer Nari - Game))
segabl commented 1 year ago

I'll have a look at this as soon as I get around to it