bug?? after patch 1.4 and 1.4.1 with some script

User avatar
vortex1988
Posts: 74
Joined: Mon Oct 31, 2016 4:49 pm
Contact:

bug?? after patch 1.4 and 1.4.1 with some script

Post by vortex1988 »

Hi,

after the updated at patch 1.4.1 and the update at 1.4 some script have the error can you see in the attached log.
Why??
I didn't think that is the script because almost all scripts give the exact same error.
Can I resolve it??
The error is this, for ALL script:

Code: Select all

2022-04-28 22:00   Error: Invalid self object given for SpecializationManager.addSpecialization. Usage: 'g_specializationManager:addSpecialization(name, className, filename, customEnvironment)'
2022-04-28 22:00 LUA call stack:
  dataS/scripts/mods.lua (391) : printCallstack
  =E:/Utente-Ottavio/Documents/My Games/FarmingSimulator2022/mods/FS22_airHoseConnectSound/airHoseConnectSoundRegister.lua (12) : addSpecialization
  =[C] (4294967295)
  dataS/scripts/mods.lua (347) : source
  dataS/scripts/mods.lua (839) : source
  dataS/scripts/xml/XMLFile.lua (296) : closure
  dataS/scripts/mods.lua (836) : iterate
  dataS/scripts/gui/MPLoadingScreen.lua (754) : loadMod
  dataS/scripts/misc/AsyncTaskManager.lua (41) : lambda
  dataS/scripts/misc/AsyncTaskManager.lua (120) : runLambda
  dataS/scripts/misc/AsyncTaskManager.lua (146) : runTopTask
  dataS/scripts/main.lua (1152) : update
2022-04-28 22:00   Error: Invalid customEnvironment given for SpecializationManager.addSpecialization. Should be a string or nil.
2022-04-28 22:00 LUA call stack:
  dataS/scripts/mods.lua (396) : printCallstack
  =E:/Utente-Ottavio/Documents/My Games/FarmingSimulator2022/mods/FS22_airHoseConnectSound/airHoseConnectSoundRegister.lua (12) : addSpecialization
  =[C] (4294967295)
  dataS/scripts/mods.lua (347) : source
  dataS/scripts/mods.lua (839) : source
  dataS/scripts/xml/XMLFile.lua (296) : closure
  dataS/scripts/mods.lua (836) : iterate
  dataS/scripts/gui/MPLoadingScreen.lua (754) : loadMod
  dataS/scripts/misc/AsyncTaskManager.lua (41) : lambda
  dataS/scripts/misc/AsyncTaskManager.lua (120) : runLambda
  dataS/scripts/misc/AsyncTaskManager.lua (146) : runTopTask
  dataS/scripts/main.lua (1152) : update
log.txt
log with eror of patch 1.4.1
(142.75 KiB) Downloaded 48 times
User avatar
vortex1988
Posts: 74
Joined: Mon Oct 31, 2016 4:49 pm
Contact:

Re: bug?? after patch 1.4 and 1.4.1 with some script

Post by vortex1988 »

anyone respond to me??? not even the giant's team???
Anyone say because i have this error at ALL SCRIPT IN MY GAME??
User avatar
don_apple
Moderator
Posts: 8061
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Earth

Re: bug?? after patch 1.4 and 1.4.1 with some script

Post by don_apple »

Seems to be the same issue as mentioned at viewtopic.php?f=895&t=190799&p=1500889& ... n#p1500889

You can either try to fix this yourself using the instructions in the other thread or you'll have to wait for the creators of those script-mods to update them.
Gruß/Regards,
don_apple

Apple iMac 27" (2017), Quad-Core i7 4.2 GHz, 48GB, AMD Radeon R580 8GB
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
FS22 Bugtracker
log.txt Image Server Forenregeln Board rules
User avatar
vortex1988
Posts: 74
Joined: Mon Oct 31, 2016 4:49 pm
Contact:

Re: bug?? after patch 1.4 and 1.4.1 with some script

Post by vortex1988 »

don_apple wrote: Wed May 04, 2022 7:22 pm Seems to be the same issue as mentioned at viewtopic.php?f=895&t=190799&p=1500889& ... n#p1500889

You can either try to fix this yourself using the instructions in the other thread or you'll have to wait for the creators of those script-mods to update them.
Ok, thanks. I try it.

But now my question is (sorry i'm very curious), because the giants people changed this parts of the coding of mod in one fuc...ng update ?? They can't change it when they launch the game??
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: bug?? after patch 1.4 and 1.4.1 with some script

Post by Dezza69 »

vortex1988 wrote: Wed May 04, 2022 7:42 pm But now my question is (sorry i'm very curious), because the giants people changed this parts of the coding of mod in one fuc...ng update ?? They can't change it when they launch the game??
Perhaps (uneducated POV here) - the devs found the new way is an improvement from a backend coding perspective than the old way...

(Edit: added this)

Also, not every mod is “well coded” (inc my own self-coded private mods :lol: :lol: )...
Post Reply