AutoDrive V3.0.1.2

FS25 AutoDrive

This mod can be used to create a network of routes for vehicles to drive autonomously. Once setup you can tell a tractor that is standing anywhere close to the network to drive to any point, such as the shop, field 1 or to a sell point.

First release for FS25:
based on the latest FS22 version
it may still contain errors as Giants has changed a lot in the background
if error or problemes occur please report them as issue on github

Discord Server:

For help & support, feel free to join us on Discord: https://discord.gg/9D4B5hX

For a little thank you

If you like our work, feel free to buy us a coffee (of which we drink quite a lot 😀 )
For now, there is no general link for the team, so each contributer can post his/her preferred donation link here 🙂
But remember, this is absolutely not required. We value any issues and feature requests the same!
And to all who do donate: Thank you very much 🙂

Course Editor

The course editor is now maintained by @KillBait and can be found here: https://github.com/KillBait/AutoDrive_Course_Editor

  • IF needed, delete the version numbers from the filename.
Changelog: +

 

Credits:

Stephan (Founder):

https://www.paypal.me/StephanSchlosser

Iwan1803 (Community Manager, Supporter & Tester):

https://iwan1803.de/urls/tip

Axel & Tommo (Modder)

Willi (Supporter & Tester)

In order to work, please delete the version number after FS25_AutoDrive!

4.2/5 - (54 votes)

You may also like...

Subscribe
Notify of
guest
12 Comments
Newest
Oldest Most Voted
Rick

Does anyone else have the issue where when running this mod it disables your ability to lower cruise control speed with a controller?

Buzz

You have to disengage AD to adjust CC.

SidB

Does this work on Mac?

Joel

Maybe I’m missing something here. I see your note but I’m confused. I see 6 autodrive downloads. Naturally you install the newest version only because it has all the bugs fixed up to that point. Again maybe I’m stupid but can someone explain how I delete the version after FS25_Autodrive when I’m only downloading the newest version.

Chen

just delete _V3_0_0_8 like this

Dr Nick

This is a very good mod. I used it extensively in FS22. Tedious jobs can be automated.

There is bug though that I want to highlight. Sometimes, and I have noticed this mostly when using the combine harvester icon to collect from combines in field, it changes the destination silo to a different destination. It may be it only happens when more than one job is running, not sure.

I love this mod 🙂

Márton Attila

no englis

LTfarm3366

I think using the More Realistic V0.25.6.09 mod there is a high chance that the speed in turns will no longer work because when using autodrive they fly into the fields

vasi

问题核心总结

你遇到的错误是由于 AutoDrive 模组未能正确处理已被销毁的实体(如车辆或设备),导致脚本在计算距离或分配卸载车辆时访问了不存在的对象。以下是关键点与解决方案:

​​错误原因详解​​

  1. ​​无效实体访问​​
  • 314822
  • HarvestManager
  1. ​​空值计算错误​​
  • CollisionDetectionUtils.lua:161nilx1 - x2

​​解决方案​​​​玩家临时解决方法​​

  1. ​​重新加载存档​​
  • 退出当前游戏,重新加载存档,重置实体状态。
  • My Games/FarmingSimulator2025/savegames
  1. 避免手动删除 AutoDrive 管理的车辆
  • 若正在使用 AutoDrive 的自动卸载功能,不要直接删除或出售被管理的卸载车(Unloader)。
  1. 禁用/更新 AutoDrive 模组
  • 在模组管理界面暂时禁用 AutoDrive,观察是否仍报错。
  • 检查 AutoDrive 是否有更新版本(可能是已知问题,开发者可能已修复)。

​​开发者修复建议​​

(如果你是模组开发者或熟悉Lua脚本)

  1. ​​检查实体有效性​​
  2. HarvestManager.lua

    getClosestIdleUnloader

lua

复制
for _, unloader in ipairs(unloaders) do
  -- 检查实体是否存在且有效
  if unloader ~= nil and unloader:getIsValid() then
    local distance = getDistanceBetween(harvester, unloader)
    -- 其他逻辑
  else
    -- 从列表中移除无效实体
    table.remove(unloaders, _)
  end
end
  1. ​​错误捕获与日志记录​​
  2. CollisionDetectionUtils.lua
lua

复制
function getDistanceBetween(entity1, entity2)
  if entity1 == nil or entity2 == nil then
    log("错误:尝试计算无效实体的距离")
    return math.huge -- 返回极大值,避免后续逻辑崩溃
  end
  -- 正常计算距离
end
  1. ​​定期清理无效实体引用​​
  2. HarvestManager

    update

lua

复制
function HarvestManager:update(dt)
  for i = #self.unloaders, 1, -1 do
    if not self.unloaders[i]:getIsValid() then
      table.remove(self.unloaders, i)
    end
  end
  -- 其他更新逻辑
end
René

https://prnt.sc/hB0uBPLDCyaB

mod corrupt or mod defect

happy joyjoy

this isnt even for fs25, darn scraping sites and the crap they scrape from creators. throws an error when first starting to load a saved game

Lukas

Delete the version numbers from the mod folder name

12
0
Would love your thoughts, please comment.x
()
x