Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with instrument-after-data #75

Open
Ldmf opened this issue Oct 15, 2023 · 2 comments
Open

Error with instrument-after-data #75

Ldmf opened this issue Oct 15, 2023 · 2 comments

Comments

@Ldmf
Copy link

Ldmf commented Oct 15, 2023

I have a problem with the import form the foremanexport

Error Log Foreman

errorlog.txt
errorExporting.json

Mod-List from factorio

mod-list.json

Curentlog Factorio

factorio-current.log

if more info is needed i will try and provide them

@shadoworld56
Copy link

shadoworld56 commented Oct 24, 2023

not sure anyone actively works on this anymore. I fixed this issue by changing line 24
ExportParameter('icon', (icon == nil) and 'null' or '"'..icon..'"', true, ',', 4)
to
ExportParameter('icon', (icon == nil) and 'null' or '"'..tostring(icon)..'"', true, ',', 4)
as the tostring function seems to clear up the issue.

Edit: forgot to include where to find the files for anyone else having issues.
Foreman 2 Folder\Release\Mods\foremanexport_1.0.0\instrument-after-data.lua

This seems to clear up issues with foreman 2 failing to export factorio data with some mods installed.

@Ldmf
Copy link
Author

Ldmf commented Nov 1, 2023

it works with all the mods exept SE

the error is now

<<>>
3.049 Checksum for core: 2152183905
3.049 Checksum of base: 2056641960
3.049 Checksum of simhelper: 0
3.049 Checksum of aai-containers: 1506515135
3.049 Checksum of aai-signal-transmission: 117271088
3.049 Checksum of alien-biomes: 4075303506
3.049 Checksum of foremanexport: 3412107626
3.049 Checksum of informatron: 3677685015
3.049 Checksum of jetpack: 705397686
3.049 Checksum of robot_attrition: 3717203635
3.049 Checksum of shield-projector: 1559000050
3.049 Checksum of space-exploration-graphics: 0
3.049 Checksum of space-exploration-graphics-2: 0
3.049 Checksum of space-exploration-graphics-3: 0
3.049 Checksum of space-exploration-graphics-4: 0
3.049 Checksum of space-exploration-graphics-5: 0
3.049 Checksum of space-exploration-menu-simulations: 1283024780
3.049 Checksum of aai-industry: 2584868198
3.049 Checksum of space-exploration: 533341966
3.049 Checksum of space-exploration-postprocess: 1055654810
3.533 Error Util.cpp:86: Error while loading entity prototype "se-gate-fragment-14-a" (simple-entity): Sprite height outside valid range (1-2048).

At ROOT.simple-entity.se-gate-fragment-14-a.picture.layers[0].hr_version
Modifications: Space Exploration

------------- Error -------------
Error while loading entity prototype "se-gate-fragment-14-a" (simple-entity): Sprite height outside valid range (1-2048).

At ROOT.simple-entity.se-gate-fragment-14-a.picture.layers[0].hr_version
Modifications: Space Exploration

All done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants