0 of 0

File information

Last updated

Original upload

Created by

Neptunehs

Uploaded by

neptunehs

Virus scan

Safe to use

Tags for this mod

About this mod

Just a "simple" fix for "Stack Overflow Crash" cause by Complex Sorter.FO4Edit script OR CS plugin.

Requirements
Permissions and credits
I found recently that the esp complex sorter generated causes the game to crash,and crash logger says that it has "Stack Overflow Crash".

So I binary search the esp,and found the problem.
Some weapons and armors get an empty Combination#0 after complex sorter script run,and its "Parent Combination Index" is 0.
Combination#0 's parent is Combination#0.Infinity loop,and stack overflow.Reasonable,right?

So I write a script to fix this,very simple,just make Combination#0 's Parent Combination Index to -1.

Install and Usage:

  • Download the archive.
  • Extract it to YourFO4EditFolder\Edit Scripts\
  • Start FO4Edit and load the plugin you want to fix,normally "M8r Complex Sorter.esp".
  • Select Apply Script...
  • Select "FixWrongParentCombinations".

This is my first time write xedit script.
Make BACKUP.
Use at your own risk,especially when you try this script to your whole load order.
I don't know how to fix the crash cause by Combination#2 's "Parent Combination Index" is 1,and Combination#1"s Parent Combination Index" is 2.

============================================
update(2025-03-20):Now I found what cause this problem,and make a override CS plugin fix.