Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

'loadSharedI3DFileFinished' - toolManager.lua:570: attempt to index field 'shovelNodes' (a nil value) #7578

Closed
ghost opened this issue Oct 25, 2021 · 7 comments
Assignees
Labels
bug Mod Conflict creating conflict with CP

Comments

@ghost
Copy link

ghost commented Oct 25, 2021

toolManager.lua:570: attempt to index field 'shovelNodes' (a nil value)
A new error field was rediscovered in version 6.4.10, which did not appear in the previous version. This error will lead to failure to load the archive
log.txt

@Tensuko
Copy link
Contributor

Tensuko commented Oct 25, 2021

2021-10-25 09:38 Error: Running LUA method 'loadSharedI3DFileFinished'.
2021-10-25 09:38 C:/Users/CGPanda/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/toolManager.lua:570: attempt to index field 'shovelNodes' (a nil value)

@Tensuko Tensuko changed the title A new error, 'shovelNodes' (a nil value) 'loadSharedI3DFileFinished' - toolManager.lua:570: attempt to index field 'shovelNodes' (a nil value) Oct 25, 2021
@Gonimy-Vetrom
Copy link
Contributor

Gonimy-Vetrom commented Oct 25, 2021

I also have this mistake. I think the mod is to blame FS19_lsfmFarmEquipmentPack/wheels/wheelBarrowWheel.i3d.
This wheelbarrow has a function "pick up a shovel and ship into a wheelbarrow."
wheelBarrow.txt

@rooymans
Copy link

rooymans commented Oct 25, 2021

I have the same issue and I can confirm it only seems to happen on maps where I have the LSFM Farm Equipment Pack installed. Downgrading to the previous version of Courseplay 'fixes' the issue.

@Tensuko Tensuko added bug Mod Conflict creating conflict with CP labels Oct 25, 2021
@ghost
Copy link
Author

ghost commented Oct 25, 2021

but,
when I disable other mods and enable LSFM Farm Equipment Pack alone, this error does not occur.

@Gonimy-Vetrom
Copy link
Contributor

Unfortunately, the problem remains. In my case, this is the FS19_lsfmFarmEquipmentPack. If I delete it, then there are no errors.

@Gonimy-Vetrom
Copy link
Contributor

Oops. In the last update, for some reason, there is no this string again
569 and object.spec_shovel.shovelNodes and object.spec_shovel.shovelNodes[1]

And with this change works fine! Thanks.

@Tensuko
Copy link
Contributor

Tensuko commented Nov 3, 2021

Will add the fix to release soon.
Thanks for testing and feedback :)

@Tensuko Tensuko closed this as completed in c34c641 Nov 6, 2021
Tensuko added a commit that referenced this issue Nov 6, 2021
- should fix #7578
- might fix Mode7 Fieldselection
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Mod Conflict creating conflict with CP
Projects
None yet
Development

No branches or pull requests

4 participants