Courseplay / Courseplay_FS22

Courseplay for Farming Simulator 2022
GNU General Public License v3.0
830 stars 174 forks source link

[BUG_MP] Serverside LUA Error after client try to join the Server #2115

Closed s4t4n closed 1 year ago

s4t4n commented 1 year ago

Hi there,

I can't explain it exactly, the server starts normal without errors... when I try to join and the sync begins it write down two lua erros in the server.log and it don't let me in.. display freezed at the loading sync screen 99% / 29% sync

Courseplay version Version used: 7.1.2.0

Client Log no negative entry

Server Log 2022-11-16 21:14 SbSh joined the game 2022-11-16 21:14 dataS/character/player01/beards/facialHair01.i3d (3.34 ms) 2022-11-16 21:14 dataS/character/player01/brands/brand07/eltenMaddoxLowGrey.i3d (32.92 ms) 2022-11-16 21:14 dataS/character/player01/attachments/glassesReading.i3d (0.94 ms) 2022-11-16 21:14 dataS/character/player01/hairStyles/hairStyleBald.i3d (0.38 ms) 2022-11-16 21:14 dataS/character/player01/brands/brand18/farmSimHoodie.i3d (125.42 ms) 2022-11-16 21:14 Info: [AutoDriveSync] Writing 3858 waypoints 2022-11-16 21:14 Info: [AutoDriveSync] Writing 79 markers 2022-11-16 21:14 Info: [AutoDriveSync] Writing 14 groups 2022-11-16 21:14 Info: [AutoDriveSync] Written 416667 bits (52083 bytes) in 8 ms 2022-11-16 21:14 Info: [AD] ADUserDataManager: send user settings ID IArHh/jbR6Gi6zpfB9IkPXndQkdLl17LaewBz1v/fuI= to client 2022-11-16 21:15 Warning (script): 'streamWriteString': Argument 1 has wrong type. Expected: String. Actual: Nil 2022-11-16 21:15 2022-11-16 21:15 D:\auto_builder\cache\svn\640050437397821b319c267ef24e9fdd\src\base\scripting\lua\LuaScriptSystem.cpp (903)2022-11-16 21:15 : 2022-11-16 21:15 expectedType == Value::VoidType || expectedType == Value::ClassType 2022-11-16 21:15 LUA call stack: =C://gameservers//s1427066//ls2022//gameProfile/mods/FS22_Courseplay/scripts/gui/CpStatus.lua (82) : streamWriteString =C://gameservers//s1427066//ls2022//gameProfile/mods/FS22_Courseplay/scripts/specializations/CpHud.lua (178) : onWriteUpdateStream dataS/scripts/specialization/SpecializationUtil.lua (23) dataS/scripts/vehicles/Vehicle.lua (1748) : raiseEvent dataS/scripts/network/Server.lua (209) : writeUpdateStream dataS/scripts/BaseMission.lua (1134) : update dataS/scripts/FSBaseMission.lua (1983) : update dataS/scripts/missions/mission00.lua (577) : update dataS/scripts/main.lua (1244) : update 2022-11-16 21:15 Warning (script): 'streamWriteString': Argument 1 has wrong type. Expected: String. Actual: Nil 2022-11-16 21:15 2022-11-16 21:15 D:\auto_builder\cache\svn\640050437397821b319c267ef24e9fdd\src\base\scripting\lua\LuaScriptSystem.cpp (903)2022-11-16 21:15 : 2022-11-16 21:15 expectedType == Value::VoidType || expectedType == Value::ClassType 2022-11-16 21:15 LUA call stack: =C://gameservers//s1427066//ls2022//gameProfile/mods/FS22_Courseplay/scripts/gui/CpStatus.lua (82) : streamWriteString =C://gameservers//s1427066//ls2022//gameProfile/mods/FS22_Courseplay/scripts/specializations/CpHud.lua (178) : onWriteUpdateStream dataS/scripts/specialization/SpecializationUtil.lua (23) dataS/scripts/vehicles/Vehicle.lua (1748) : raiseEvent dataS/scripts/network/Server.lua (209) : writeUpdateStream dataS/scripts/BaseMission.lua (1134) : update dataS/scripts/FSBaseMission.lua (1983) : update dataS/scripts/missions/mission00.lua (577) : update dataS/scripts/main.lua (1244) : update

Player on the server 1

Dedicated server or local hosted server Dedicated server yes/no ? YES

Map Osada

Relevant script mods AD, CP, EV, REA's

Tensuko commented 1 year ago

Can you pls attach the server and client log as a .txt file

s4t4n commented 1 year ago

sure, but I readded the complete mod set now :/ AND/BUT I can join the server now, but more often shows the error. I don't know why. It was the same without the complete modlist. logS.txt logC.txt

Tensuko commented 1 year ago

When I am back home this evening I do some testing for the last pushes and then we push a Hotfix, not sure if this will help with your Issue, but I hope so.....

Tensuko commented 1 year ago

Pls try 7.1.2.1 If Issue persists, pls reopen with new logfiles.