guidanceSteering
guidanceSteering copied to clipboard
[BUG] GPS module appears in a different vehicle after restart.
Describe the bug After starting the game again I noticed that some vehicles I had GPS on, didnt have it, while others that I had not bought GPS had. For example; I had bought GPS for a couple of fendts, and when I started the game again I had GPS on a raptor 300 (forest mulcher) and a Rottne H21D (forest machine).
To Reproduce Not really sure how to reproduce as it just happened, but sometimes when I restart the game, the GPS switches vehicles. I have quite a lot of vehicles on my savegame if that may cause the issue.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10
- FS patch version 1.1.1.0
Are you running the dev version from github?
Are you running the dev version from github?
No, just the one from the in-game modhub.
same problem
Me too, GPS moved from my combine to my truck, but seems to now be deterministic in that it no longer "moves" in subsequent game restarts. I checked the globalPositioningSystem
keys in my vehicles.xml
and they are on the correct vehicles there, so the issue must be when loading, not when persisting.
Well I need a clear reproduction steps else it's a guessing game..
getting this error not sure what it about when seeding the fps goes the crap ounce i unticked it seeding worked fine =D:/mods_for_fs22/mods/FS22_guidanceSteering/src/vehicles/GlobalPositioningSystem.lua (573) : printCallstack dataS/scripts/specialization/SpecializationUtil.lua (19) dataS/scripts/vehicles/Vehicle.lua (1873) : raiseEvent dataS/scripts/network/NetworkNode.lua (112) : update dataS/scripts/network/Server.lua (59) : updateActiveObjects dataS/scripts/BaseMission.lua (1180) : update dataS/scripts/FSBaseMission.lua (2006) : update dataS/scripts/missions/mission00.lua (582) : update dataS/scripts/main.lua (1323) : update
On my end GPS was removed from a tractor entirely. It worked before patch 1.2.0.0.
- Save the game
- Stop the server
- Start the server
- GPS is gone from owned vehicle
Additional context: With the new stone bug (cluttered in the northern part of Haut-Beyleron) I copied the 'densityMap_stones.gdm' from a local savegame to our multiplayer savegame. Should be unrelated though as I made a backup before this and even with the backup the GPS is gone.
EDIT:
When checking the vehicles.xml every vehicle has <configuration name="globalPositioningSystem" id="1">
and <boughtConfiguration name="globalPositioningSystem id="1">
in it
Additional context for EDIT:
- I disabled the mod for testing and checked the vehicles.xml and everything from the GPS mod was gone.
- I re-enabled the mod and the vehicles.xml still had the same entries as before.
- I bought GPS for one tractor again
- I checked the vehicles.xml and now every vehicle has a globalPositioningSystem with id=1 and boughtConfiguration. Only the tractor I newly bought the GPS for has two entries (one with id=1, the other with id=2). Only the newly bought GPS has an additional
FS22_guidanceSteering
entry in it, thus making the GPS usable - When a vehicle has at least id=2 it seems to be saved across server restarts / shutdown.
EDIT 2: I found the GPS in my Lizard S-710 and Meridian TL 12-39 conveyor belts (although I only bought 1 GPS system in total). Even after manually deleting the entries for the conveyor belts and loading the savegame afterwards they got GPS injected somehow. I couldn't find any other configuration where this info would be saved, but it's always those two vehicles in my testing setup. The conveyor belt problem could be caused by #290