hogsy / jaded

A repository for raising any tickets relating to Jaded, the Community Patched Jade Engine. There is no code here.
https://oldtimes-software.com/jaded/
1 stars 0 forks source link

[BUG] Script compiler crashes if "Generate C files" is checked #53

Open hogsy opened 4 months ago

hogsy commented 4 months ago

Summary

When you attempt to compile the scripts with the mentioned option enabled, the engine will crash.

It appears this is because the file pointer for AI2C_gf_Model is not set for whatever reason before it attempts to output anything.

Steps to Reproduce

  1. Open up the editor
  2. Load Universe, or whatever, under the AI script editor
  3. Enable the "Generate C files" option
  4. Now compile all the scripts
  5. crash

Expected Result

I suppose it's supposed to output to a collection of C files representing the transpiled output of the scripts.

Actual Result

Crash.

Screenshots or Videos

image

Additional Information