TrainsSignalSender deprecated

by Hermios

Associate signals to a train

Content
4 years ago
0.15.10 - 0.18
11
Transportation

Changelog

Version: 0.4.0
Date: 2020-01-26
  Major Features:
    - version 0.18.0
  Bugfixes:
    - Fix update from train stop when a train leaves
Version: 0.3.10
  Bugfixes:
    - Only the last element is present when merging 2 trains
Version: 0.3.9
  Bugfixes:
    - Crash when changing a train and arriving at a train stop
Version: 0.3.8
  Minor Features:
    - Rewrite changelog to follow standard format
  Optimisations:
    - Rewrite the management of numbers in textfield
  Bugfixes:
    - Fix crash on adding a new signal for a train
Version: 0.3.7
  Bugfixes:
    - Remote call to function "HasSignal" didn't send back an accurate response
    - Fix crash when joining trains with defined signals
    - Fix issue on recovering data after a load of a game
Version: 0.3.6
  Bugfixes:
    - Issue when adding loco to a train with existing signals
Version: 0.3.5
  Bugfixes:
    - Issue with 0.17.35 for remnant corpses
Version: 0.3.4
  Changes:
    - Require HermiosLibs
Version: 0.3.3
  Features:
    - Create changelog file
  Bugfixes: 
    - copy/paste settings
Version: 0.3.2
  Bugfixes:
    - Crash on removing train-stop
Version: 0.3.1
  Bugfixes:
    - some risks of conflicts with other mods
Version: 0.3.0
  Changes:
    - Compatible with 0.17
  Major Features:
    - Migration from previous versions
  Optimisations: 
    - Reduce the frequency of recalculation, to improve the UPS latency. Value configurable in the options
Version: 0.2.3
  Bugfixes:
    - bugs of GUI
  Major features:
    - Reimplement quantity of signals, but with a new GUI. 
    - Set difference between signal (item or fluid) quantity and current content of the train. This option is defined on each train stations.
        When set to true, instead of generating, for an item A, X signals from the content of the train, and Y from the signal sender itself, the train station will generate a specific amount of item A to compensate the default one, and produce the final quantity Y-X. (Sorry if it not clear, basically, instead of having X+Y as a result, you will return Y-X).
        The option works even if the option "read content of the train" of the train station is deactivated
  Modding:
    - Remote call is not changed, expect for the method "hasSignal". If the signal is present, the method returns the quantity of it
Version: 0.2.2
  Bugfixes:
    - Critical fixes (Conflicts with other mods)
Version: 0.2.1
  Changes:
    - compatible with 0.16.51
  Features:
    - Gui changed, no count of signal anymore, only the signal itself
  Modding:    
    - setSignals(train,signalIds)-->No return
    - clearSignals(train)-->No return
    - getSignals(train)-->Array of signals
    - hasSignal(train,signalId)-->Boolean
Version: 0.1.2
  Bugfixes:
    -Various Bugs fixed
Version: 0.1.0
  Changes:
    - compatible with 0.15.10
  Minor Features:
    - Train reading has been removed (As it is provided by the core)
  Modding:
    - Remote functions are available-> To set signals (If not place is available and the signal is not already present, this will be ignored), use remote.call("TrainsSignalSender","setsignals",train,signals) where signals is in the same format as the constantcombinator parameters
    - To clear signals, use remote.call("TrainsSignalsSender","clearsignals",train)