LTN-GasStation deprecated

by zhuying

Automatically go to gas station - refuel

Content
a month ago
2.0
565
Transportation Trains Logistic network

Changelog

Version: 0.0.10
Date: 2025.2.22
  Changes:
    - 列车在手动模式下仍被强制调度的罕见问题
      (Fixed edge case of manual trains being scheduled)
  Bugfixes:
    - 修复多玩家游戏中全局变量同步延迟
      (Fixed global variable sync delay in multiplayer)
    - 修正主燃料槽未满时误判为低燃料的逻辑错误
      (Fixed false low-fuel detection for partial slots)
    - 修复游戏存档加载后列车列表初始化失败
      (Fixed train list initialization after save load)
Version: 0.0.9
Date: 2025.2.20
  Changes:
    - 改进位置显示,使用可点击的GPS坐标
      (Improved location display with clickable GPS coordinates)
    - 简化列车位置输出格式
      (Simplified train location output format)
    - 添加详细的燃料信息显示
      (Added detailed fuel information display)
    - 分别显示每个槽位的燃料状态
      (Show fuel status for each slot separately)
    - 改进列车燃料检查逻辑,同时检查前后机车
      (Improved train fuel check logic to check both front and back locomotives)
    - 优化加油站时刻表插入逻辑
      (Enhanced refueling station schedule insertion logic)
    - 完善列车创建事件处理
      (Improved train creation event handling)
    - 优化燃料检查逻辑,确保只在能量低于阈值时才加油
      (Optimized fuel check logic to ensure refueling only when energy is below threshold)
  Bugfixes:
    - 修复燃料能量累加计算问题
      (Fixed fuel energy accumulation calculation)
    - 修复手动模式列车被错误添加的问题
      (Fixed manual mode trains being incorrectly added)
    - 修复时刻表当前位置可能错误的问题
      (Fixed potential schedule current position issues)
    - 修复游戏加载时全局变量可能未初始化的问题
      (Fixed global variable initialization issues during game load)
    - 增强事件处理程序的稳定性
      (Enhanced event handler stability)
Version: 0.0.8
Date: 2025.2.16
  Changes:
    - 统一所有能量计算的倍率
      (Unified all energy calculation multipliers)
  Bugfixes:
    - 修复正在燃烧的燃料能量计算不准确的问题
      (Fixed burning fuel energy calculation inaccuracy)
Version: 0.0.7
Date: 2025.2.16
  Changes:
    - 修正能量计算逻辑,移除重复的10倍计算
      (Fixed energy calculation logic, removed duplicate 10x multiplication)
  Bugfixes:
    - 修复总能量计算错误的问题
      (Fixed total energy calculation error)
Version: 0.0.6
Date: 2025.2.16
  Features:
    - 添加定期能量扫描功能(每2分钟)
      (Added periodic energy scanning every 2 minutes)
    - 添加定期列车扫描功能(每6分钟)
      (Added periodic train scanning every 6 minutes)
  Changes:
    - 优化列车状态保存和恢复机制
      (Improved train state saving and restoration mechanism)
    - 改进能量计算精确度
      (Improved energy calculation accuracy)
  Bugfixes:
    - 修复能量计算不准确问题
      (Fixed energy calculation inaccuracy issues)
    - 修复列车状态丢失问题
      (Fixed train state loss issues)
Version: 0.0.5
Date: 2025.2.15
  Changes:
    - 优化性能和内存使用
      (Optimized performance and memory usage)
    - 改进加油站放置逻辑
      (Improved refuel station placement logic)
  Bugfixes:
    - 修复全局变量初始化问题
      (Fixed global variable initialization issues)
    - 修复列车忽略列表功能
      (Fixed train ignore list functionality)
Version: 0.0.4
Date: 2025.2.15
  Features:
    - 添加燃料槽满载检测
      (Added fuel slot full detection)
    - 新增10秒等待时间选项
      (Added 10-second wait time option)
  Changes:
    - 优化代码结构
      (Optimized code structure)
    - 改进错误处理机制
      (Improved error handling)
  Bugfixes:
    - 修复列车状态检测问题
      (Fixed train state detection issues)
    - 修复时刻表更新错误
      (Fixed schedule update errors)
Version: 0.0.3
Date: 2025.2.15
  Changes:
    - 添加燃料站自定义名称设置
      (Added custom refuel station name setting)
    - 优化列车调度逻辑
      (Improved train scheduling logic)
  Bugfixes:
    - 修复多人游戏同步问题
      (Fixed multiplayer synchronization issues)
    - 修复加油站重命名后的更新问题
      (Fixed station renaming update issues)
Version: 0.0.2
Date: 2025.2.15
  Changes:
    - 优化燃料检测逻辑
      (Improved fuel detection logic)
    - 改进加油站等待条件
      (Enhanced refueling station wait conditions)
  Bugfixes:
    - 修复列车重复前往加油站的问题
      (Fixed trains repeatedly going to refuel station)
    - 修复燃料计算错误
      (Fixed fuel calculation errors)
Version: 0.0.1
Date: 2025.2.15
  Features:
    - 首次发布
      (Initial release)
    - 添加自动加油站功能
      (Added automatic refueling station functionality)
    - 支持自动检测低燃料列车
      (Added low fuel train detection)
    - 可配置燃料阈值
      (Added configurable fuel threshold)