Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Drive course button does nothing v6.02.00051 #5975

Closed
touzenesmy opened this issue Aug 25, 2020 · 20 comments · Fixed by #6025
Closed

Drive course button does nothing v6.02.00051 #5975

touzenesmy opened this issue Aug 25, 2020 · 20 comments · Fixed by #6025
Assignees
Labels
MP General General MP Problems

Comments

@touzenesmy
Copy link

touzenesmy commented Aug 25, 2020

Hello everyone,

I'm having a problem with courseplay, it was working previously and it only appeared with the new update (which I thank you for because it solved a lot of issues), I cannot start courses for some reason, here is a video (notice that I am clicking Drive Course but nothing happens

https://www.youtube.com/watch?v=N408pT0WxOg

Logs:
2020-08-25 12:31 Samy joined the game 2020-08-25 12:32 ### CourseplayMultiplayer: writing 23 courses 2020-08-25 12:32 ### CourseplayMultiplayer: writing 5 folders 2020-08-25 12:32 ### CourseplayMultiplayer: writing 1 custom fields 2020-08-25 12:32 ShaderId envmap_blending.cg:1 2020-08-25 12:32 ShaderId envmap_blending.cg:2 2020-08-25 12:32 ShaderId envmap_blending.cg:4 2020-08-25 12:32 ShaderId envmap_blending.cg:8 2020-08-25 12:32 ShaderId envmap_blending.cg:16 2020-08-25 12:32 ShaderId envmap_blending.cg:32 2020-08-25 12:32 data/shared/ai/trafficCollision.i3d (31.43 ms) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/Events/CourseEvent.lua:27: 'for' limit must be a number 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/Events/CourseEvent.lua:27: 'for' limit must be a number 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:33 Error: Running LUA method 'packetReceived'. 2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value) 2020-08-25 12:35 Game saved successfully. 2020-08-25 12:40 Game saved successfully. 2020-08-25 12:45 Samy left the game

When I tried yesterday, there were also the same errors but it was
2020-08-25 12:33 C:/users/fsserver/My Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'vehicle' (a nil value) if I remember correctly

Thank you very much for your dedication & your time, have a very good day

@Tensuko
Copy link
Contributor

Tensuko commented Aug 25, 2020

Console:
gsSetDayTime 12

logentrys always as .txt and always full logfiles from client and server as it looks like you play MP on a server.

@Tensuko
Copy link
Contributor

Tensuko commented Aug 25, 2020

HUD_Mode
@schwiti6190 that looks a bit strange to me, it should have changed to mode on the bottom doe Mode4 as well.
Still see Mode5 in the HUD. Just visual or mode switching went wrong for Server ?

@touzenesmy
Copy link
Author

touzenesmy commented Aug 25, 2020

Yes I play MP, thought it was obvious from the log
Here is the server logfile:
https://pastebin.com/i0pS94pL

Here is the client logfile:
https://pastebin.com/UTaHnBWN

Thank you very much for that fast help & assistance

EDIT: As it looks like we're both connected around this time*, feel free to ask me to test anything if that helps <3

@Johnny-3volta
Copy link

Hello!
I have the same thing.
So - same I have is worth AutoDrive and GPS, there is clean the generated course the animation managed wheels not is happening, I can turn but wheels always look directly, if generated course not clear and manually field process the wheels animated normally. Also, if you clear the generated course and specify where to go via AutoDrive, the wheels do not turn and the tractor goes straight all the time....
p.s. is MP and DediServer.

@Johnny-3volta
Copy link

also sometimes freezes
server.txt
log.txt

@Tensuko
Copy link
Contributor

Tensuko commented Aug 26, 2020

@purel81
you got a LUA Error
2020-08-25 18:28 Error: Running LUA method 'update'.
2020-08-25 18:28 C:/Users/Evgen/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/recording.lua:17: attempt to index local 'prevPoint' (a nil value)

@Obsiana2019
Copy link

I have the same Problem with the Version v6.02.00052.

Serverlogfile.txt

@Dwarfbare
Copy link

When i Play with my friend i see on his Monitor following thing.

I generate a course , and will drive with a temporaty course on the first point.
When i click on the "start" button on my screen it do nothing and i can manual driving. But when i have a look into his Monitor i see the markers for the start of recording a manual course. When i click again on my "start" button the recording on his monitor is ending.

I hope you can follow me. ;)

BR Dwarf

@Tensuko
Copy link
Contributor

Tensuko commented Aug 27, 2020

So he start record, then you start record and his recording stops ?
Well I rly got to get a server for us for internal testing, to much to check...

@touzenesmy
Copy link
Author

So he start record, then you start record and his recording stops ?
Well I rly got to get a server for us for internal testing, to much to check...

I can invite you to our server and give you admin right, do you agree ? (I will mp the logins to you if you're ok with it)

@Tensuko
Copy link
Contributor

Tensuko commented Aug 27, 2020

Thats a nice Idea, the Problem is that we mostly test without several mods or just add specific one to test some functions and a lot off code changes so restarts and stuff.
Not sure how you would handle this...

@touzenesmy
Copy link
Author

touzenesmy commented Aug 27, 2020

I will set everything up tonight, you want a vanilla map without any mods ? or do you want to try with our mod list first ? We only use tested & non error mods so the logs will be clean even with the other mods
our server modlist is http://dzsquad.net:38080/mods.html?lang=en

@Tensuko
Copy link
Contributor

Tensuko commented Aug 27, 2020

That sounds cool.
Do you have discord ? If so can you contact me ? Tensuko # 2300

@Dwarfbare
Copy link

Dwarfbare commented Aug 27, 2020

So he start record, then you start record and his recording stops ?
Well I rly got to get a server for us for internal testing, to much to check...

No, i see on my PC the automatic generated Course, when i will start this @FIRST point and click "start" nothing happens on my pc. But on the Friend pc he see my tractor where iam inside and drive and new recorded course.

when you want you can also edit in the group for testing on the server @touzenesmy @Tensuko
Discord Dwarf#0083

@touzenesmy
Copy link
Author

That sounds cool.
Do you have discord ? If so can you contact me ? Tensuko # 2300

Sorry for the long delay, it says that you have to add me first: deepscanner # 0339

@Tensuko
Copy link
Contributor

Tensuko commented Aug 28, 2020

Surprisingly our MP Tester came back today so we have a server again.
Thanks for your offering, but we can do our normal tests now again :)
Ofc your feedback is welcome too :)

@jspring0811
Copy link

Same problem here with just installed v6.02.00052 on my dedi server.

Drive course throws error:
2020-08-31 12:40 C:/Users/jspri/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/Events/CourseEvent.lua:27: 'for' limit must be a number
2020-08-31 12:41 Error: Running LUA method 'packetReceived'.
2020-08-31 12:41 C:/Users/jspri/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value)

@schwiti6190
Copy link
Contributor

If anyone of you is interested you can check out #6025 and test ist, you would have to download it and pack it in a zip file called "courseplay".

@jspring0811
Copy link

jspring0811 commented Sep 3, 2020

Testing #6025 now... There seems to be a critical issue introduced that is flooding the dedi server logs:

Warning (script): 'streamWriteBool': Argument 1 has wrong type. Expected: Bool. Actual: Nil
......\src\base\scripting\lua\LuaScriptSystem.cpp (882): expectedType == Value::VoidType || expectedType == Value::ClassType
LUA call stack:
=C:/Users/jspri/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/AIDriver.lua (197) : streamWriteBool
=C:/Users/jspri/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/base.lua (1374) : writeUpdateStream
dataS/scripts/vehicles/SpecializationUtil.lua (30)
dataS/scripts/vehicles/Vehicle.lua (1181) : raiseEvent
dataS/scripts/network/Server.lua (178) : writeUpdateStream
dataS/scripts/BaseMission.lua (1500) : update
dataS/scripts/FSBaseMission.lua (1979) : update
dataS/scripts/missions/mission00.lua (469) : update
dataS/scripts/main.lua (1927) : update

@jspring0811
Copy link

jspring0811 commented Sep 3, 2020

Testing beta branch (after successful logging self.status fix), I still get this error each time clicking on Drive course:

Error: Running LUA method 'packetReceived'.
C:/Users/jspri/Documents/My Games/FarmingSimulator2019/mods/FS19_Courseplay/signs.lua:192: attempt to index local 'pp' (a nil value)

The CourseEvent.lua:27 for limit error is gone now but the pp error is still there.

Any additional debug channels you want me to turn on?

pvaiko pushed a commit that referenced this issue Sep 10, 2020
-improved debugging channel 5
-removed waypoint index, cp.text events and
moved them to onWriteUpdate to reduce network load
closes #6026 , closes #5975, closes #6020, closes #6008
pvaiko added a commit that referenced this issue Sep 10, 2020
MP impovements (#6025)

* improved debugging channel 5
* removed waypoint index, cp.text events and
moved them to onWriteUpdate to reduce network load
closes #6026 , closes #5975, closes #6020, closes #6008

Straw Harvest Premos Support (#6031)

* Straw Harvest Premos Support

Mode 10 fixes

* correct working width calculation (#6037)
* fixed starting position calculation

* reset target silo at each start so if we change silos we
won't get stuck at the old one, fixes #4254

May fix #4547, #4130, #5249, #5936 and #6029
pvaiko added a commit that referenced this issue Sep 11, 2020
Fixes #6056 (lua error when StrawHarvest not installed)

* improved debugging channel 5
* removed waypoint index, cp.text events and
moved them to onWriteUpdate to reduce network load
closes #6026 , closes #5975, closes #6020, closes #6008

Straw Harvest Premos Support (#6031)

* Straw Harvest Premos Support

Mode 10 fixes

* correct working width calculation (#6037)
* fixed starting position calculation

* reset target silo at each start so if we change silos we
won't get stuck at the old one, fixes #4254

May fix #4547, #4130, #5249, #5936 and #6029
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
MP General General MP Problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants