Banner
Little Intelligence EnhancementS
Thumbnail
Downloads20,615
Views114,728
Publish Date3 years ago
Last Updated10 days ago by
Version8.46
Tags
Members
Avatar

plz fix

Application has crashed: C++ exception
mods/LIES MWS/lua/copextensions/copsound.lua:257: attempt to concatenate local 'sound_name' (a boolean value)

SCRIPT STACK

_chk_say_clear() @mods/LIES MWS/lua/coplogics/coplogictravel.lua:828
enter() @mods/LIES MWS/lua/coplogics/boss/bosslogicattack.lua:101
set_logic() lib/units/enemies/cop/copbrain.lua:426
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
_upd_enemy_detection() @mods/LIES MWS/lua/coplogics/coplogicidle.lua:306
clbk() @mods/LIES MWS/lua/coplogics/coplogicidle.lua:145
_execute_queued_task() @mods/LIES MWS/lua/managers/enemymanager.lua:452
_update_queued_tasks() @mods/LIES MWS/lua/managers/enemymanager.lua:404
update() lib/managers/enemymanager.lua:52
original() lib/setups/gamesetup.lua:809
update() @mods/base/req/core/Hooks.lua:262
_update() lib/setups/networkgamesetup.lua:21
update() @mods\PocoHud3\poco\common.lua:314
original() core/lib/setups/coresetup.lua:559
@mods/base/req/core/Hooks.lua:262

Avatar
(Owner)2 years ago(Edited)

You are using other mods that affect enemy tweakdata I believe, that might be why, I'll push a fix for this in a future patch.

Avatar

@fugsystem thx whats weird is the older version of your lies works fine this new version crashes

Avatar
(Owner)2 years ago(Edited)

Some of the new code added a few updates ago modifies chatter tweakdata slightly to add entrance voicelines for specials like Bulldozers and Tasers, that's why.

Avatar

@fugsystem hmm weird all i have is Responsive Responders and Actually Audible Cops mod that i know of that touches voicelines

Avatar
(Owner)2 years ago(Edited)

Responsive Responders is not compatible with LIES.

Avatar

@fugsystem oh didnt know that? that might be why the new versions are crashing ill try that thx

Avatar

@fugsystem i got rid of Responsive Responders and Actually Audible Cops mod still crashed? with the newest version

Application has crashed: C++ exception
mods/LIES MWS/lua/copextensions/copsound.lua:257: attempt to concatenate local 'sound_name' (a boolean value)

SCRIPT STACK

_chk_say_clear() @mods/LIES MWS/lua/coplogics/coplogictravel.lua:830
enter() @mods/LIES MWS/lua/coplogics/boss/bosslogicattack.lua:101
set_logic() lib/units/enemies/cop/copbrain.lua:426
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
_upd_enemy_detection() @mods/LIES MWS/lua/coplogics/coplogicidle.lua:306
clbk() @mods/LIES MWS/lua/coplogics/coplogicidle.lua:145
_execute_queued_task() @mods/LIES MWS/lua/managers/enemymanager.lua:452
_update_queued_tasks() @mods/LIES MWS/lua/managers/enemymanager.lua:404
update() lib/managers/enemymanager.lua:52
original() lib/setups/gamesetup.lua:809
update() @mods/base/req/core/Hooks.lua:262
_update() lib/setups/networkgamesetup.lua:21
update() @mods\PocoHud3\poco\common.lua:314
original() core/lib/setups/coresetup.lua:559
@mods/base/req/core/Hooks.lua:262

Avatar
(Owner)2 years ago(Edited)

You still have a mod that modifies chatter tweakdata somehow.

Avatar

@fugsystem i got 110 mods and none of them seem touch the chatter just by the mod names ill have to take a lot of time to check each one by one :(
seems to be caused by this in your mods new version

if not full_sound then
if skip_prefix then
full_sound = sound_name
else
full_sound = self._prefix .. sound_name
end
end

ill try removing this line from the code and see if it crashes

Avatar

@fugsystem seems im not crashing anymore? will update if anything happens

just got this dont know if its cause i removed that code or not?
Application has crashed: access violation


Callstack:

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

Current thread: Main
Script stack:
_upd_enemy_detection() @mods/LIES
MWS/lua/coplogics/specials/shieldlogicattack.lua:271
clbk()
@mods/LIES MWS/lua/coplogics/specials/shieldlogicattack.lua:380
_execute_queued_task() @mods/LIES
MWS/lua/managers/enemymanager.lua:452
_update_queued_tasks()
@mods/LIES MWS/lua/managers/enemymanager.lua:404
update() lib/managers/enemymanager.lua:52
original() lib/setups/gamesetup.lua:809
update() @mods/base/req/core/Hooks.lua:262
_update() lib/setups/networkgamesetup.lua:21
update() @mods\PocoHud3\poco\common.lua:314
original() core/lib/setups/coresetup.lua:559
@mods/base/req/core/Hooks.lua:262

Avatar

@fugsystem wait it could be crashing cause of Mayhem: Aegis aka Snap's Spawngroups mod heres thier code they used in groupaitweakdata.lua sorry for the long list
also this is what the website says
dr snaps is the mod author
website https://drsnap.wixsite.com/drsnapcauldron/post/mayhemaegis
THIS MOD REQUIRES "LIES"!!! (Little Intelligence EnhancementS)
In LIES' mod options, set the "spawngroup tweaks" to vanilla. This will allow the spawngroups in Snap's Mod to work properly. All the other options are your choice.
You will have to reload Snap's Mod each time LIES is updated as well!
"LIES" is currently the best PD2 AI mod out there, adding and fixing a lot of AI behaviors without needing to be its own thing. An excellent companion for Snap's Mod, so much so that it's pretty much obligatory.

-- LIES speech stuff

Hooks:PostHook(GroupAITweakData, "_init_chatter_data", "lies_chatter", function(self)
self.enemy_chatter.retreat = {
radius = 800,
max_nr = 2,
queue = "m01",
group_min = 2,
duration = {
4,
8
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.go_go = {
radius = 1000,
max_nr = 1,
queue = "mov",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.criminalhasgun = {
radius = 3000,
max_nr = 1,
queue = "a01",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.contact = {
radius = 1500,
max_nr = 1,
queue = "c01",
group_min = 2,
duration = {
16,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.open_fire = {
radius = 1000,
max_nr = 1,
queue = "att",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.ready = {
radius = 1000,
max_nr = 1,
queue = "rdy",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.controlidle = {
radius = 1000,
max_nr = 1,
queue = "g90",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.5
}
}
self.enemy_chatter.clear = {
radius = 1000,
max_nr = 1,
queue = "clr",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.5
}
}
self.enemy_chatter.in_pos = {
radius = 700,
max_nr = 1,
queue = "pos",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.push = {
radius = 700,
max_nr = 1,
queue = "pus",
group_min = 0,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.block_escort = {
radius = 700,
max_nr = 1,
queue = "i02",
group_min = 0,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.flank = {
radius = 700,
max_nr = 1,
queue = "t01",
group_min = 0,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.follow_me = {
radius = 700,
max_nr = 1,
queue = "prm",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.calloutreload = {
radius = 700,
max_nr = 1,
queue = "rrl",
group_min = 0,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.getcivs = {
radius = 700,
max_nr = 1,
queue = "civ",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.gatherloot = {
radius = 700,
max_nr = 1,
queue = "l01",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}
self.enemy_chatter.movedin_civs = {
radius = 700,
max_nr = 1,
queue = "cr1",
group_min = 2,
duration = {
8,
16
},
interval = {
0.75,
1.2
}
}

self.enemy_chatter.drillsabotage = {
	radius = 700,
	max_nr = 1,
	queue = "e01",
	group_min = 0,
	duration = {
		0,
		0
	},
	interval = {
		0.75,
		1.2
	}
}
self.enemy_chatter.gearsabotage = {
	radius = 700,
	max_nr = 1,
	queue = "e02",
	group_min = 0,
	duration = {
		0,
		0
	},
	interval = {
		0.75,
		1.2
	}
}

end)

19 361