You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server crash while executing FCNPC's adapted missions #1160
Describe the bug
When I executed missions script (adapted FCNPC default sample, will be linked below) and tried to close the omp server window (i.e. tried to shut it down normally), it crashed before the exit.
I'm mainly asking this because your script does not compile properly for me, so many warnings even with SAMP_COMPAT, related to number of args not matching definition for our NPC functions, so I'm not sure whats going on
a simpler script that doesn't rely on so many other things would be better, rather than a fully featured game system
Oh, I'm so sorry I forgot that my omp_npc.inc has been modified + had the changes from this PR applied.
Anyway, seems I found the current exact issue when I re-tested it again: the problem occurs exactly when your NPC script is loaded as a filterscript. When it's changed to be gamemode, everything is now ok when I type gmx
Closing this issue in favor of #1167 and #1189 since this issue with exactly closing the server with connected NPC was fixed, but at the same time crashes when you type gmx and having any NPC connected are still happening even the fixes from #1190, the both #1167 and #1189 still not solved
Activity
NexiusTailer commentedon Dec 20, 2025
Looks like it crashes even after you pass/leave the mission and try to turn down the server, another case is this:
log.txt / omp_minidump.dmp
AmyrAhmady commentedon Jan 7, 2026
I need you guys to test with latest nightly
NexiusTailer commentedon Jan 8, 2026
Still crashing on build from #1182
omp_minidump.dmp
AmyrAhmady commentedon Jan 8, 2026
I need a simple reproducible script instead of this so I can just run it without going in game
AmyrAhmady commentedon Jan 8, 2026
I'm mainly asking this because your script does not compile properly for me, so many warnings even with SAMP_COMPAT, related to number of args not matching definition for our NPC functions, so I'm not sure whats going on
a simpler script that doesn't rely on so many other things would be better, rather than a fully featured game system
NexiusTailer commentedon Jan 8, 2026
Oh, I'm so sorry I forgot that my omp_npc.inc has been modified + had the changes from this PR applied.
Anyway, seems I found the current exact issue when I re-tested it again: the problem occurs exactly when your NPC script is loaded as a filterscript. When it's changed to be gamemode, everything is now ok when I type
gmxNexiusTailer commentedon Jan 18, 2026
Closing this issue in favor of #1167 and #1189 since this issue with exactly closing the server with connected NPC was fixed, but at the same time crashes when you type
gmxand having any NPC connected are still happening even the fixes from #1190, the both #1167 and #1189 still not solved