TheStarport / ChaosMod

What if Freelancer was just a bit more chaotic? A modification for the 2003 game Freelancer, produced by Digital Anvil.
https://the-starport.com
GNU General Public License v3.0
2 stars 0 forks source link

Bug: NPC Spawning Crashes Inconsistently #72

Open Lazrius opened 8 months ago

Lazrius commented 8 months ago

When any NPC is forcibly spawned, there is a small chance that the game crashes due to various issues in common.dll. The cause is unknown, and while the symtoms can be remedied it tends to only lead to a crash somewhere else. The root cause must be found, or at least have the symptoms patched to the point where there is no crashes anymore.

Lazrius commented 8 months ago

Related spew and crash log

E:\FL\Scratch\Source\Common\Ini.cpp(294) : ERROR: Invalid bool value 80 in .ini file ../DATA/MISSIONS/pilots_population.ini E:\FL\Scratch\Source\Common\Archetype.cpp(60) : ERROR: ArchDB::Get(2151746432) failed Chaos Mod Process with PID 20208 has terminated unexpectedly at 2024-03-03-16:47:13. Fetching crash event from Application logs... Faulting application name: Freelancer.exe, version: 1.0.1223.11, time stamp: 0x3e401b79 Faulting module name: Common.dll, version: 1.0.1254.11, time stamp: 0x3ecbb141 Exception code: 0xc0000005 Fault offset: 0x0008e640 Faulting process ID: 0x4ef0 Faulting application start time: 0x01da6d8a45a2113c Faulting application path: C:\Users\Ruper\AppData\Local\Freelancer Chaos Edition\EXE\Freelancer.exe Faulting module path: C:\Users\Ruper\AppData\Local\Freelancer Chaos Edition\EXE\Common.dll Report ID: d9702179-ae28-4769-b579-6dd489fa3a78 Faulting package full name: Faulting package-relative application ID: For debugging, please reference the Fault offset and Faulting module name against https://wiki.the-starport.net/wiki/fl-binaries/crash-offsets (base) PS K:\GitHub\ChaosMod>