Page MenuHomeFeedback Tracker

DayZ Exp 1.16 Error "Too many instructions per function"
Need More Info, NormalPublic

Description

https://skr.sh/sCK3G2JYSTU

Too many instructions per function

In update 1.15 everything works fine, but in the experimental update almost all scripts connected via init give the error "Too many instructions per function" and the server does not start.

Details

Severity
Block
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
PRO
Category
Server
Steps To Reproduce
  1. Connect any bulk script
  2. Run the server
  3. The server does not start and gives an error
Additional Information

Version 1.15 - works, no errors
Version 1.16 - does not work, errors

Event Timeline

Bormoglan created this task.Feb 3 2022, 3:36 PM
Liven added a subscriber: Liven.Feb 3 2022, 4:53 PM
Geez changed the task status from New to Need More Info.Feb 7 2022, 11:10 AM
Geez added a subscriber: Geez.

Hello Bormoglan.
This is very likely an issue in the scripts on your end.
Can you please provide us with the mod files you are using or at least Admin/Mod_Class.c file?

Regards,
Geez

so far the elections that have begun to block scripts where Case is greater than 45

But that changed after update 1.16

Liven added a comment.Feb 7 2022, 4:26 PM

I faced the same problem in one of my mods that have a file which stored a lot (I mean +400) of "ref autoptr TFloatArray" (these arrays contained values) in 5_Mission (not link to init.c file).

I had to refactor my code to use lot less arrays.

If the limit is confirmed it could lead to problem for those having heavy mapping.

Geez added a comment.Feb 7 2022, 5:05 PM

so far the elections that have begun to block scripts where Case is greater than 45

Hello Bormoglan.
We need the mod files or the script in order to help you as we cannot guess content of a file randomly.
Regards,
Geez