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

Many LUA errors when entering an empty field without a crop #6

Open
FirenzeIT opened this issue Dec 19, 2024 · 11 comments · May be fixed by #3
Open

Many LUA errors when entering an empty field without a crop #6

FirenzeIT opened this issue Dec 19, 2024 · 11 comments · May be fixed by #3
Labels
bug Something isn't working staged
Milestone

Comments

@FirenzeIT
Copy link

Hi @Peppie84, i have too many errors with this mod, it's possible to fix them please?? Map: Riverbend Springs

2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-20 00:16 Error: Running LUA method 'update'.
C:/Users/GianLuBart/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'

@Peppie84
Copy link
Owner

Peppie84 commented Dec 20, 2024

Hi @FirenzeIT , sure.

Do you use the FS25 version for FS22 ? This repository here is for the FS22 version. Your error message shows the error on the FS25 version.

@Peppie84 Peppie84 added the question Further information is requested label Dec 20, 2024
@FirenzeIT
Copy link
Author

No, i play only 25

@Peppie84 Peppie84 transferred this issue from Peppie84/FS22_BeesRevamp Dec 20, 2024
@Peppie84
Copy link
Owner

Peppie84 commented Dec 20, 2024

@FirenzeIT i've transfered the issue. What version do you use. From the development branch or from the pre-release branch?

I can't find the accessing of beeYieldBonusPercentage on the beehivesystemextended.lua:324.
Please try with the current Release-Candidate:
FS25_BeesRevamp.zip

@FirenzeIT
Copy link
Author

@FirenzeIT i've transfered the issue. What version do you use. From the development branch or from the pre-release branch?

I can't find the accessing of beeYieldBonusPercentage on the beehivesystemextended.lua:324. Please try with the current Release-Candidate: FS25_BeesRevamp.zip

Hi, i have always this errors when i placed Beehives on the field:

2024-12-21 04:01 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:01 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:01 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:01 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:01 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:02 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:02 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:02 Error: Running LUA method 'update'.
C:/Users/User/Documents/My Games/FarmingSimulator2025/mods/FS25_BeesRevamp/src/beehivesystemextended.lua:324: attempt to index nil with 'beeYieldBonusPercentage'
2024-12-21 04:02 Error: Running LUA method 'update'.

First photo run in loop:
Screenshot (339)

Screenshot (340)

@Peppie84
Copy link
Owner

Peppie84 commented Dec 21, 2024

@FirenzeIT what map do you use? And what hive do you want to place?

And what crop has this field ?
Can you please upload your save game?

@Peppie84
Copy link
Owner

Peppie84 commented Dec 21, 2024

I found the error. The problem comes when you enter a field without a crop and by calculating the field information

@Peppie84 Peppie84 changed the title Errors LUA method.... Many LUA errors when entering an empty field without a crop Dec 21, 2024
@Peppie84 Peppie84 linked a pull request Dec 21, 2024 that will close this issue
@Peppie84 Peppie84 added staged and removed question Further information is requested labels Dec 21, 2024
@Peppie84
Copy link
Owner

Fix is staged on the pre-release Version, thanks
New RC: FS25_BeesRevamp.zip

@Peppie84 Peppie84 added this to the v1.0.0.0 milestone Dec 21, 2024
@FirenzeIT
Copy link
Author

FirenzeIT commented Dec 21, 2024

@FirenzeIT what map do you use? And what hive do you want to place?

And what crop has this field ? Can you please upload your save game?

Map base Riverbend Springs; base hive of 33 arnies.. No Crop on field, only plowed..

Another question: i tried contact Hans for update/convert DefPack, but never replies, can you doing this for private use please? Or tell me how can i do ??

@Peppie84
Copy link
Owner

Hi @FirenzeIT, thanks for this information but please keep the topics clean. You can add your comment to: #4 or if your topic doesn't match with another one, create a new issue.

@FirenzeIT
Copy link
Author

Hi, ok today i modify comment, sorry

@FirenzeIT
Copy link
Author

Hi, for now not have any issues/erros also on the log, it's all clean, nice work Peppie.

@Peppie84 Peppie84 added the bug Something isn't working label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working staged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants