Manual Refueling System (fix)

  • Manual Refueling System (fix)
Ali3nn
29 subscribers
V1.2.0.0
4 495

What's Fixed -
Fixed an issue where trailers and tanks could not be filled from fill triggers such as water, lime, and other compatible silos.
Restored normal filling behavior while preserving the mod's intended Manual Refueling functionality.

Credits -

All original credit for this mod goes to the original creator.

I did not create this mod. My contribution was solely to identify and fix the filling issue so the mod functions correctly with standard fill triggers.

Please support and credit the original author for their work. This upload is intended only to provide the bug-fixed version for players experiencing the same issue.

Server
Consoles
Changelog
2
  • A major issue was identified and fixed with how the Manual Refuel system handled multiple fill types on the same refuelling trigger.

    🔧 What was fixed

    Previous versions could only resolve one matching fill type per trigger. This wasn’t immediately noticeable with diesel and electric charging, but it caused a potential problem with DEF/AdBlue, because diesel and DEF are commonly available from the same physical pump.

    The resolver has now been completely corrected so the system checks all fill types supported by a trigger, rather than stopping at the first match.

    Improvements in v1.2.0.0

    ✅ Diesel supported correctly
    ✅ DEF supported correctly
    ✅ Electric charging supported correctly
    ✅ Multiple fill types can exist on the same pump
    ✅ Vehicles are checked against their actual fill units
    ✅ DEF works when the diesel tank is already full
    ✅ Vanilla automatic filling is properly blocked where Manual Refuel should take control
    ✅ Triggers are registered against every supported fill type
    ✅ Improved detection of nearby vehicles requiring fuel/DEF/charge
    ✅ Fixed single-match trigger resolution
    ✅ Removed stale single-fill-type references
    ✅ Lua syntax validation passed
    ✅ Full code sweep completed
    🧪 Testing

    The updated system has been tested and the previously reported Manual Refuel issues have been resolved.

    Version: 1.2.0.0

    The system is now structured to correctly handle multi-purpose refuelling stations, including pumps that provide diesel and DEF from the same trigger, while retaining support for electric charging and future fill types.

Credits
Comments
11