Modified conversion of Ralf08's "Display For Tool Position" FS19 mod to FS25
Switched specialization registration to ifko's script (modified)
v1.0.3.1 - fix forklift load/save errors
- 0 Likes
- 8 Comments
- 275 Downloads
- 1 Downloads in
-
1 month ago
COMMENTS
Hey it is a great mod! ,work on SP perfect , but on Dedi server no :( can u fix it ?
Hi,
Not sure about that as I don't use MP.
I've not changed networking code (it dates back to FS19, but perhaps it needs some update in later FS?)
Does it log any errors? (in what manner it's not working?)
If it logs any errors, please use "Send message" to send me what errors does it log?
Crate MP game on Priv Server on my PC works good , SP works good, only DEDI SERVER have a problem
2024-11-18 22:00 Warning (script): 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
D:\auto_builder\cache\svn\7741beb42f4ec919989899a3508d8d12\src\base\scripting\lua\LuauScriptSystem.cpp (1051): expectedType == Value::VoidType || expectedType == Value::ObjectType || expectedType == Value::IntArrayType || expectedType == Value::FloatArrayType || expectedType == Value::ArrayType2024-11-18 22:00
Script error: 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
LUA call stack:
=[C]:-1 streamReadUIntN
=dataS/scripts/network/NetworkUtil.lua:43 readNodeObjectId
=dataS/scripts/network/NetworkUtil.lua:35 readNodeObject
=config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36 readStream
=dataS/scripts/network/Server.lua:518 packetReceived
=dataS/scripts/network/ConnectionManager.lua:27 packetReceived
2024-11-18 22:00 Error: Running LUA method 'packetReceived'.
config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36: attempt to index nil with 'vehicle'
2024-11-18 22:00 Warning (script): 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
D:\auto_builder\cache\svn\7741beb42f4ec919989899a3508d8d12\src\base\scripting\lua\LuauScriptSystem.cpp (1051): expectedType == Value::VoidType || expectedType == Value::ObjectType || expectedType == Value::IntArrayType || expectedType == Value::FloatArrayType || expectedType == Value::ArrayType2024-11-18 22:00
Script error: 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
LUA call stack:
=[C]:-1 streamReadUIntN
=dataS/scripts/network/NetworkUtil.lua:43 readNodeObjectId
=dataS/scripts/network/NetworkUtil.lua:35 readNodeObject
=config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36 readStream
=dataS/scripts/network/Server.lua:518 packetReceived
=dataS/scripts/network/ConnectionManager.lua:27 packetReceived
2024-11-18 22:00 Error: Running LUA method 'packetReceived'.
config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36: attempt to index nil with 'vehicle'
2024-11-18 22:07 Warning (script): 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
D:\auto_builder\cache\svn\7741beb42f4ec919989899a3508d8d12\src\base\scripting\lua\LuauScriptSystem.cpp (1051): expectedType == Value::VoidType || expectedType == Value::ObjectType || expectedType == Value::IntArrayType || expectedType == Value::FloatArrayType || expectedType == Value::ArrayType2024-11-18 22:07
Script error: 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
LUA call stack:
=[C]:-1 streamReadUIntN
=dataS/scripts/network/NetworkUtil.lua:43 readNodeObjectId
=dataS/scripts/network/NetworkUtil.lua:35 readNodeObject
=config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36 readStream
=dataS/scripts/network/Server.lua:518 packetReceived
=dataS/scripts/network/ConnectionManager.lua:27 packetReceived
2024-11-18 22:07 Error: Running LUA method 'packetReceived'.
config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36: attempt to index nil with 'vehicle'
2024-11-18 22:07 Warning (script): 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
D:\auto_builder\cache\svn\7741beb42f4ec919989899a3508d8d12\src\base\scripting\lua\LuauScriptSystem.cpp (1051): expectedType == Value::VoidType || expectedType == Value::ObjectType || expectedType == Value::IntArrayType || expectedType == Value::FloatArrayType || expectedType == Value::ArrayType2024-11-18 22:07
Script error: 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
LUA call stack:
=[C]:-1 streamReadUIntN
=dataS/scripts/network/NetworkUtil.lua:43 readNodeObjectId
=dataS/scripts/network/NetworkUtil.lua:35 readNodeObject
=config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36 readStream
=dataS/scripts/network/Server.lua:518 packetReceived
=dataS/scripts/network/ConnectionManager.lua:27 packetReceived
2024-11-18 22:07 Error: Running LUA method 'packetReceived'.
config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36: attempt to index nil with 'vehicle'
2024-11-18 22:07 Warning (script): 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
D:\auto_builder\cache\svn\7741beb42f4ec919989899a3508d8d12\src\base\scripting\lua\LuauScriptSystem.cpp (1051): expectedType == Value::VoidType || expectedType == Value::ObjectType || expectedType == Value::IntArrayType || expectedType == Value::FloatArrayType || expectedType == Value::ArrayType2024-11-18 22:07
Script error: 'streamReadUIntN': Argument 1 has wrong type. Expected: Int. Actual: Table
LUA call stack:
=[C]:-1 streamReadUIntN
=dataS/scripts/network/NetworkUtil.lua:43 readNodeObjectId
=dataS/scripts/network/NetworkUtil.lua:35 readNodeObject
=config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36 readStream
=dataS/scripts/network/Server.lua:518 packetReceived
=dataS/scripts/network/ConnectionManager.lua:27 packetReceived
2024-11-18 22:07 Error: Running LUA method 'packetReceived'.
config/mods/FS25_ToolDisplay/scripts/SetToDiZeroEvent.lua:36: attempt to index nil with 'vehicle'
Hello,
Please try this version (1.0.3.2)
https://sharemods.com/bkn5i2adbwdl/FS25_ToolDisplay.zip.html
I've done some small changes that might fix the issue.
If they don't, there is a plan B - to disable the event that is used to propagate
between players if you reset the tool position or angle reference point (the Tool height reset / Tool angle reset hotkeys)
If the event is disabled, everyone will use their on zero reference (if you change it for a particular
implement, and somebody else uses it, he will not be using your changed reference).
That reference is only used for angle/height display by the mod, doesn't affect the position of the implement.
While not ideal, that would be better than crashing altogether.
i can only tell, it works! SP , MP, MP dedi works perfecto ! , Thank you for you feedback and help!
Nice! I'll upload this version then.
Thank you for your help with the testing!
Write a comment