Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovered that this mod suddenly crashes Shadow Raid. #24

Closed
Jayckal opened this issue Dec 27, 2020 · 14 comments
Closed

Discovered that this mod suddenly crashes Shadow Raid. #24

Jayckal opened this issue Dec 27, 2020 · 14 comments

Comments

@Jayckal
Copy link

Jayckal commented Dec 27, 2020

Whenever this mod is installed, Shadow Raid crashes on the preplanning screen 100% of the time. Looking at the crash.txt though, I can't find exactly why that is.

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

SCRIPT STACK

enter() @mods/Iter/lua/coplogictravel.lua:22
set_logic() lib/units/enemies/cop/copbrain.lua:390
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
on_new_objective() lib/units/enemies/cop/logics/coplogicidle.lua:483
set_objective() lib/units/enemies/cop/copbrain.lua:268
_administer_objective() lib/managers/mission/elementspecialobjective.lua:682
on_executed() lib/managers/mission/elementspecialobjective.lua:277
_execute_random_SO() lib/managers/mission/elementspecialobjectivegroup.lua:145
on_executed() lib/managers/mission/elementspecialobjectivegroup.lua:55
execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:209
_trigger_execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:147
on_executed() core/lib/managers/mission/coremissionscriptelement.lua:131
on_executed() lib/managers/mission/missionscriptelement.lua:18
callback() lib/managers/mission/elementenemydummytrigger.lua:21
event() lib/managers/mission/elementspawnenemydummy.lua:132
produce() lib/managers/mission/elementspawnenemydummy.lua:111
on_executed() lib/managers/mission/elementspawnenemygroup.lua:90
execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:209
_trigger_execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:147
on_executed() core/lib/managers/mission/coremissionscriptelement.lua:131
on_executed() lib/managers/mission/missionscriptelement.lua:18
execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:209
_trigger_execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:147
on_executed() core/lib/managers/mission/coremissionscriptelement.lua:131
on_executed() lib/managers/mission/missionscriptelement.lua:18
execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:209
_trigger_execute_on_executed() core/lib/managers/mission/coremissionscriptelement.lua:147
on_executed() core/lib/managers/mission/coremissionscriptelement.lua:131
f() lib/managers/mission/missionscriptelement.lua:18
update() core/lib/utils/coreevent.lua:158
update() core/lib/managers/mission/coremissionmanager.lua:531
update() core/lib/managers/mission/coremissionmanager.lua:160
core/lib/setups/coresetup.lua:520


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlDosSearchPath_Ustr                               
                     ntdll  (???)     LdrLoadEnclaveModule                                
                     ntdll  (???)     LdrLoadEnclaveModule  

Any help or am I just boned with this mod on Shadow Raid?

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

This looks more like a problem with Iter (or the combination of Iter and Bot Weapons), I'll give it a try and notify the author of iter in case I can reproduce it.

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

This looks more like a problem with Iter (or the combination of Iter and Bot Weapons), I'll give it a try and notify the author of iter in case I can reproduce it.

I've deleted Iter and kept this mod only for the same crash to happen. After deleting this mod, the heist started up as normal, even with Iter installed. Whatever is causing this to happen is quite an odd thing.

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

And you're sure this is the exact crash when you enter preplanning? Nothing like that code should be executed while you're not ingame.

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

And you're sure this is the exact crash when you enter preplanning? Nothing like that code should be executed while you're not ingame.

Not even preplanning, sorry. It crashes as soon as it loads into the pre-beginning menu. Y'know, where you can select pre-planning and buy assets? Just before that little animation to the left of that menu plays, it crashes.

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

Hmm at that point none of the bot code actually runs, as the bots are only spawned when you enter the game. Do you have a specific setup for your bots? I could load and play Shadow raid just fine.

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

Bots have base game weapons, one has the Raven, another the JP36 and the third one has the R93. Abilities are Sharpeyed, Quick and inspiring where as the boosts are Healer, Invigorator and Accelerator.

I'll give it another shot, maybe I screwed something up.

Edit: Still crashes in much the same way.

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

then there must be some other mod involved that causes this. as it actually crashes on setting a objective on some guard I assume.

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

then there must be some other mod involved that causes this. as it actually crashes on setting a objective on some guard I assume.

Oh, well. Thank you for trying to help and I apologize for wasting your time. I'll try to see if I can't do anything else to fix it or if it's just Shadow Raid putting me in the naughty corner.

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

If you can show me your mod list I can give you some hints on what to check

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

If you can show me your mod list I can give you some hints on what to check

Mod list - 2

Mod list - 1

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

Hm nothing that really catches my eye, especially not that would cause anything like this in combination with bot weapons. can you check your blt logs for any errors or warnings?

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

Hm nothing that really catches my eye, especially not that would cause anything like this in combination with bot weapons. can you check your blt logs for any errors or warnings?

Nothing out of the ordinary other than some missing weapon icons, according to the BLT logs.

@segabl
Copy link
Owner

segabl commented Dec 27, 2020

Not sure what the issue could be then, sorry.

@Jayckal
Copy link
Author

Jayckal commented Dec 27, 2020

Not sure what the issue could be then, sorry.

That's quite alright, thank you for trying.

@Jayckal Jayckal closed this as completed Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants