Lost crops during sale

Please report new found bugs in this forum and confirm that you were able to reproduce a bug.
You can find all information in "How to report a bug"
FarmDemAcres
Posts: 74
Joined: Wed Nov 21, 2018 6:39 am

Lost crops during sale

Post by FarmDemAcres »

- PC/Mac/PS4/XB1: XB1
- Vehicle/Tool/Model/Object: Vehicle
- Issue: Crops may be lost while selling from train
- Single- or Multiplayer: Single
- Steps to reproduce:
Load a train with grain. Go to sell point such as Port elevator on Ravenport. Begin selling (watch $$ changing). Quickly transport to another vehicle ($$ stops). Wait a minute. Transport back to train. Crops are gone from train. Please use caution if you attempt to duplicate as initially had a CTD immediately after this happened the first time (on map PNW) So far during verification on Ravenport it (CTD) did not happen again!

- Does it happen on a standard map without mods yes/no Yes
- Which vehicles & machines are involved:
Train
FarmDemAcres
Posts: 74
Joined: Wed Nov 21, 2018 6:39 am

Re: Lost crops during sale

Post by FarmDemAcres »

Update: Issue still present in 1.4.1
User avatar
Decker_MMIV
Posts: 287
Joined: Wed Aug 22, 2012 1:02 am

Re: Lost crops during sale

Post by Decker_MMIV »

Same issue, on PC, with proof from game-log file.

- PC/Mac/PS4/XB1: PC - patch 1.4.1.0
- Vehicle/Tool/Model/Object: Train / Locomotive
- Issue: While selling crops from train, and then leaving/exiting train, you won't get money and errors occur in game-log.
- Single- or Multiplayer: Singleplayer
- Steps to reproduce: Sell crops from a train, then leave/exit locomotive before train-wagon becomes empty, while still selling.
- Does it happen on a standard map without mods yes/no: Yes
- Which vehicles & machines are involved: Train/locomotive and selling (unloading) crops at stations.

When selling from train, and leaving/exiting the train before wagon is empty, lots and lots of these errors appear in the game-log/game-console:

Code: Select all

2019-08-03 20:26 Error: Can't change money of spectator farm
2019-08-03 20:26 LUA call stack:
2019-08-03 20:26   dataS/scripts/FSBaseMission.lua (2662) : printCallstack
2019-08-03 20:26   dataS/scripts/objects/SellingStation.lua (321) : addMoney
2019-08-03 20:26   dataS/scripts/objects/SellingStation.lua (290) : sellFillType
2019-08-03 20:26   dataS/scripts/triggers/UnloadTrigger.lua (274) : addFillLevelFromTool
2019-08-03 20:26   dataS/scripts/vehicles/specializations/Dischargeable.lua (654) : addFillUnitFillLevel
2019-08-03 20:26   dataS/scripts/vehicles/specializations/Dischargeable.lua (590) : dischargeToObject
2019-08-03 20:26   dataS/scripts/vehicles/specializations/Dischargeable.lua (392) : discharge
2019-08-03 20:26   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-08-03 20:26   dataS/scripts/vehicles/Vehicle.lua (1397) : raiseEvent
2019-08-03 20:26   dataS/scripts/network/NetworkNode.lua (105) : updateTick
2019-08-03 20:26   dataS/scripts/network/Server.lua (71) : updateActiveObjectsTick
2019-08-03 20:26   dataS/scripts/BaseMission.lua (1500) : update
2019-08-03 20:26   dataS/scripts/FSBaseMission.lua (1971) : update
2019-08-03 20:26   dataS/scripts/missions/mission00.lua (469) : update
2019-08-03 20:26   dataS/scripts/main.lua (1879) : update
Perhaps the 'unload/sell from train' should be re-scripted, so it immediately stops when player leaves/exists the locomotive? - Same as what happens when 'loading onto train' and then leaving/exiting the locomotive.
Locked