Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Corrupted visibility data files #4581

Closed
wzdev-ci opened this issue Apr 26, 2017 · 20 comments
Closed

Corrupted visibility data files #4581

wzdev-ci opened this issue Apr 26, 2017 · 20 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by Brother Tankred


Hi,

I'm having a crash when loading a campaign game. I'm not sure which mission it is but I was able to play many missions before it started happening. I'm providing the requested files to help solving the issue. I'm not sure if it may help but my timezone is UTC-3 (Brazil).

Thanks!


Issue migrated from trac:4581 at 2022-04-16 12:42:06 -0700

@wzdev-ci
Copy link
Contributor Author

Brother Tankred uploaded file failed to load.jpg (209.2 KiB)

Error after trying to load the game.
failed to load.jpg

@wzdev-ci
Copy link
Contributor Author

Brother Tankred uploaded file WZlog-0426_103406.txt (3.2 KiB)

File in log folder

@wzdev-ci
Copy link
Contributor Author

Brother Tankred uploaded file campaign saves.zip (365.5 KiB)

The saved games

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


I think this is related to loading saved templates.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg uploaded file Warzone2100.RPT (16.5 KiB)

@wzdev-ci
Copy link
Contributor Author

Brother Tankred changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Brother Tankred changed _comment1 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Brother Tankred commented


Hi,
I found out that the mission this happens is in the first mission of the Beta campaign, playing directly after finishing the first campaign.

Could it be that I have too many saved templates? I mean I made a ton of component/chassis combinations in the playthrough.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


Number of templates should not matter. The crash happened when you tried to load a save then?

I was able to crash warzone with a fresh Alpha campaign in 3.2.3 just by having a template that I could not design yet (deleting the templates file and restarting another campaign fixed the problem).

@wzdev-ci
Copy link
Contributor Author

Brother Tankred commented


I managed to get around the problem by dowloading the portable version of the game and starting from the Beta campaign. I lost the stuff I had from the previous campaign but oh well.

@wzdev-ci
Copy link
Contributor Author

Per commented


I could load savegame 3, 4 and 5 in the attached zip. The 1 and 2 savegames seemed to have corrupted visibility data files.

The crash log looks like you have a bad stored templates files, where a template has a cheated droid body design.

I think for campaign, the solution is that we should save the stored templates in the savegame, rather than globally.

@wzdev-ci
Copy link
Contributor Author

Per changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed title from Crash loading a game from campaign to Crash loading campaign savegame when player has inaccessible stored templates

@wzdev-ci
Copy link
Contributor Author

Cyp <cyp@...> committed [44]


In Warzone2100/warzone2100@44a1e10:

#CommitTicketReference repository="" revision="44a1e1085d4811a0ceeeac8406457098f190c4a3"
Try to avoid crashing on loading unknown templates.

Refs #4581.

@wzdev-ci
Copy link
Contributor Author

Cyp changed title from Crash loading campaign savegame when player has inaccessible stored templates to Corrupted visibility data files

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Changing summary again, since it shouldn't crash due to stored templates, now.

@wzdev-ci
Copy link
Contributor Author

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Per commented


Vision problem might be fixed by 800c1b6df440670f45f595e49fb83ff7ee7f724d

Closing for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant