Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specialization.lua:1566 #442

Closed
timmi4026 opened this issue Mar 28, 2022 · 8 comments
Closed

Specialization.lua:1566 #442

timmi4026 opened this issue Mar 28, 2022 · 8 comments
Labels
bug Something isn't working Fixed (in next release) This issue is already fixed in our dev branch

Comments

@timmi4026
Copy link

Moin,
Wenn ich auf dem Server einlogge kommen in der log 3x dieser Fehler.
Ich habe nur eingeloggt und stehe noch am Spawnpunkt.
Auf der Server log ist der Fehler nicht, nur in der Client auf meinem Rechner.

Error: Running LUA method 'update'.
C:/Users/Herbe/Documents/My Games/FarmingSimulator2022/mods/FS22_AutoDrive/scripts/Specialization.lua:1566: attempt to index field 'ad' (a nil value)

LG. Timmi

log.txt

@Axel32019
Copy link
Collaborator

Hallo @timmi4026 , Bei den vielen mods würde ich etwas Unterstützung begrüßen!
Würdest Du bitte mal schauen ob in irgendeinem script / mod "getIsAIActive" vorkommt?

@timmi4026
Copy link
Author

timmi4026 commented Apr 7, 2022

Also in der Spezialization lua von AD kommt es mehrfach vor, die Fahrzeuge wo der Fehler ausgelöst wird (denke mal das sind die darüber stehen) haben keine Scripte drin. Die Daten über den Error Meldungen sind wohl von Courseplay.
Also die hier. 2022-03-28 09:13 :12 [dbg18 lp1319] startAt: set to default 2
2022-03-28 09:13 :12 [dbg18 lp1319] laneOffset: set to default 0
Sonst sag mir in welchem Script ich schauen soll.

Aber ich hab eben nochmal in die Server log geschaut, Hab jetzt AD V 2005 und CP 7019 und im Moment sind keine Error Meldungen mehr vorhanden. Ich denke das ist erst mal erledigt.

@Axel32019
Copy link
Collaborator

In AD kommt es vor, leider kann da die Ursache nicht gefunden werden. Ich vermute daher in min. einem Deiner mods ein Script, kann auch Anbaugerät, Fahrzeug, Anhänger etc. sein, welches getIsAIActive aufruft. Welches das ist kann aus dem log nicht gesehen werden, daher bitte mal alle dursuchen.

@timmi4026
Copy link
Author

Hab mal mit einem Programm diesen Eintrag speziell im Mod Ordner gesucht und nur ein Script hat den drin.
Screenshot_55

@Axel32019
Copy link
Collaborator

Das müsste jedoch schon in AD min. in 3 Dateien zu finden sein.

@timmi4026
Copy link
Author

Hab es nochmal neu markiert, stimmt. Das sieht schon anders au
Screenshot_57
s

@Axel32019
Copy link
Collaborator

Danke, Hab die starke Vermutung das automatisches Reparieren eines Anbaugerätes durch CP den Fehler auslöst.
Wird durch Anpassung in Zukunft vermieden.

@Axel32019 Axel32019 added bug Something isn't working and removed Wait for user/feedback labels Apr 9, 2022
Axel32019 added a commit that referenced this issue Apr 9, 2022
@Axel32019 Axel32019 added the Fixed (in next release) This issue is already fixed in our dev branch label Apr 9, 2022
@Iwan1803
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed (in next release) This issue is already fixed in our dev branch
Projects
None yet
Development

No branches or pull requests

3 participants