Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crash when driver exits if passenger in the same vehicle #62

Closed
yumi-modding opened this issue May 29, 2019 · 0 comments
Closed

Game crash when driver exits if passenger in the same vehicle #62

yumi-modding opened this issue May 29, 2019 · 0 comments
Assignees

Comments

@yumi-modding
Copy link
Owner

yumi-modding commented May 29, 2019

Scenario

  1. Enter vehicle with Alex as driver
  2. Enter same vehicle with Barbara as passenger
  3. Switch to Alex
  4. Exit vehicle
  5. Enter same vehicle again
  6. Switch to Barbara and exit vehicle
  7. Try to enter vehicle as passenger

Result
5. Alex seen as driver but Barbara (passenger) disappeared
7. Crash

Expected result
5. Alex seen as driver and Barbara as passenger
7. No crash

2019-05-29 20:39 ContractorMod.passengerEntering true
2019-05-29 20:39 ContractorMod:ReplaceSetVehicleCharacter
2019-05-29 20:39 ContractorMod: passengerEntering return
2019-05-29 20:39 Warning (script): Unknown entity id 163979 in method 'getParent'.
2019-05-29 20:39 LUA call stack:
2019-05-29 20:39   dataS/scripts/vehicles/Vehicle.lua (1703) : getParent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Suspensions.lua (259) : getParentComponent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Suspensions.lua (276) : setSuspensionNodeCharacter
2019-05-29 20:39   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Enterable.lua (621) : raiseEvent
2019-05-29 20:39   =C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_ContractorMod_update/scripts/ContractorMod.lua (825) : superFunc
2019-05-29 20:39   dataS/scripts/BaseMission.lua (1881) : enterVehicle
2019-05-29 20:39   dataS/scripts/utils/Utils.lua (393) : oldFunc
2019-05-29 20:39   dataS/scripts/FSBaseMission.lua (3221) : onEnterVehicle
2019-05-29 20:39   dataS/scripts/vehicles/VehicleEnterResponseEvent.lua (66) : onEnterVehicle
2019-05-29 20:39   dataS/scripts/network/Connection.lua (77) : run
2019-05-29 20:39   dataS/scripts/vehicles/VehicleEnterRequestEvent.lua (68) : sendEvent
2019-05-29 20:39   dataS/scripts/network/Connection.lua (77) : run
2019-05-29 20:39   dataS/scripts/BaseMission.lua (1852) : sendEvent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Enterable.lua (997) : requestToEnterVehicle
2019-05-29 20:39   dataS/scripts/player/Player.lua (3117) : interact
2019-05-29 20:39   dataS/scripts/input/InputEvent.lua (100) : callback
2019-05-29 20:39   dataS/scripts/input/InputBinding.lua (3156) : notifyInput
2019-05-29 20:39   dataS/scripts/input/InputBinding.lua (2891) : updateInput
2019-05-29 20:39   dataS/scripts/main.lua (1835) : update
2019-05-29 20:39 Warning (script): 'getParent': Argument 1 has wrong type. Expected: Int. Actual: Nil 
2019-05-29 20:39   ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (791): expectedType == Value::VoidType || expectedType == Value::ClassType
2019-05-29 20:39 LUA call stack:
2019-05-29 20:39   dataS/scripts/vehicles/Vehicle.lua (1703) : getParent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Suspensions.lua (259) : getParentComponent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Suspensions.lua (276) : setSuspensionNodeCharacter
2019-05-29 20:39   dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Enterable.lua (621) : raiseEvent
2019-05-29 20:39   =C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_ContractorMod_update/scripts/ContractorMod.lua (825) : superFunc
2019-05-29 20:39   dataS/scripts/BaseMission.lua (1881) : enterVehicle
2019-05-29 20:39   dataS/scripts/utils/Utils.lua (393) : oldFunc
2019-05-29 20:39   dataS/scripts/FSBaseMission.lua (3221) : onEnterVehicle
2019-05-29 20:39   dataS/scripts/vehicles/VehicleEnterResponseEvent.lua (66) : onEnterVehicle
2019-05-29 20:39   dataS/scripts/network/Connection.lua (77) : run
2019-05-29 20:39   dataS/scripts/vehicles/VehicleEnterRequestEvent.lua (68) : sendEvent
2019-05-29 20:39   dataS/scripts/network/Connection.lua (77) : run
2019-05-29 20:39   dataS/scripts/BaseMission.lua (1852) : sendEvent
2019-05-29 20:39   dataS/scripts/vehicles/specializations/Enterable.lua (997) : requestToEnterVehicle
2019-05-29 20:39   dataS/scripts/player/Player.lua (3117) : interact
2019-05-29 20:39   dataS/scripts/input/InputEvent.lua (100) : callback
2019-05-29 20:39   dataS/scripts/input/InputBinding.lua (3156) : notifyInput
2019-05-29 20:39   dataS/scripts/input/InputBinding.lua (2891) : updateInput
2019-05-29 20:39   dataS/scripts/main.lua (1835) : update
@yumi-modding yumi-modding self-assigned this May 29, 2019
@yumi-modding yumi-modding changed the title Game crash when driver exit if passenger in the same vehicle Game crash when driver exits if passenger in the same vehicle May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant