GMNGjoy / FS25_ContractBoost

Farming Simulator 22 mod to have a compact industrial-style bandsaw mill on your farm. Click "Releases" below to download the latest version!
Creative Commons Zero v1.0 Universal
13 stars 2 forks source link

Not working on MP #3

Open MikoModding opened 3 days ago

MikoModding commented 3 days ago

Does not work for multiplayer. Tried to join a new server with the mod and it didn't let anyone in. We deactivated it and it is now letting us all in. We checked LOG files and seen this error.

2024-11-26 15:33 Error: Running LUA method 'update'.
D:/home/sid_7275133/farmingSim_2025/profile/mods/FS25_ContractBoost/scripts/MissionBalance.lua:36: attempt to perform arithmetic (mul) on nil and number
matze0301 commented 3 days ago

Maybe it's a conflict with another Mod? Works on my dedi server like a charm, no errors so far.

Does not work for multiplayer. Tried to join a new server with the mod and it didn't let anyone in. We deactivated it and it is now letting us all in. We checked LOG files and seen this error.

2024-11-26 15:33 Error: Running LUA method 'update'.
D:/home/sid_7275133/farmingSim_2025/profile/mods/FS25_ContractBoost/scripts/MissionBalance.lua:36: attempt to perform arithmetic (mul) on nil and number
MikoModding commented 3 days ago

Oh, we will have a go at playing about to see what works :) thanks

On Tue, 26 Nov 2024, 20:49 matze0301, @.***> wrote:

Maybe it's a conflict with another Mod? Works on my dedi server like a charm, no errors so far.

Does not work for multiplayer. Tried to join a new server with the mod and it didn't let anyone in. We deactivated it and it is now letting us all in. We checked LOG files and seen this error.

2024-11-26 15:33 Error: Running LUA method 'update'. D:/home/sid_7275133/farmingSim_2025/profile/mods/FS25_ContractBoost/scripts/MissionBalance.lua:36: attempt to perform arithmetic (mul) on nil and number

— Reply to this email directly, view it on GitHub https://github.com/GMNGjoy/FS25_ContractBoost/issues/3#issuecomment-2501908426, or unsubscribe https://github.com/notifications/unsubscribe-auth/BNH2V7272BEROT2ANEVPN5L2CTNGNAVCNFSM6AAAAABSQ4SD26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBRHEYDQNBSGY . You are receiving this because you authored the thread.Message ID: @.***>

GMNGjoy commented 3 days ago

Maybe it's a conflict with another Mod? Works on my dedi server like a charm, no errors so far.\

I'm thinking the same thing - this same error was reported in a YT video and the author of the video tested and proved that it was because of the combination of Contract Boost and the new map New Frontier. I've already fixed the issue, and will be submitting a patch tomorrow - it was due to the fact that New Frontier doesn't have deadwood, rock breaking or tree transport missions setup. I've added code to handle that use case.

GMNGjoy commented 2 days ago

https://github.com/GMNGjoy/FS25_ContractBoost/releases/tag/1.0.0.1 Release sent to and pending with Giants.

DaPlum05 commented 1 day ago

Hi guys, how are you getting this to work on MP dedi servers? I have added it with no issues, just had a contract offering 23k, did the mission and was paid out 7k? Is the xml edited client side or does the xml also need to be in the server files?