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

Impossible to load a savegame with two mods #3567

Closed
wzdev-ci opened this issue Jun 23, 2012 · 11 comments
Closed

Impossible to load a savegame with two mods #3567

wzdev-ci opened this issue Jun 23, 2012 · 11 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by NoQ


Steps to reproduce: install two (non-conflicting) mods (eg. nullbot and skyzone) to your autoload, start the game, save the game, try loading. It will always report something like that while loading:

popup   |02:15:36: [rebuildSearchPath:421] The required mod could not be loaded: nullbot-1-34.wz, arizone.wz

Warzone will try to load the game without it.

And the mods will be actually not loaded, eg. the AI won't run, reporting it cant find the .js files, etc.

Removing any of the two mods (while leaving the other in place) solves the problem (the game starts to load correctly).


Issue migrated from trac:3567 at 2022-04-16 09:54:51 -0700

@wzdev-ci
Copy link
Contributor Author

Cyp changed component from other to Savegames

@wzdev-ci
Copy link
Contributor Author

Sparksman commented


"Removing any of the two mods (while leaving the other in place) solves the problem (the game starts to load correctly)."

Above stated comment is wrong, at least with local saved Single User Savegames! (Windows 7 x64, WZ2100 v 3.1.0)

Even if your delete all mods/keep only one within the proper directories ("mods/.." within "config" dir or the wz2100 program dir itself) AND delete/modify the "mods=..." line within file "gameinfo.ini", the error appears continually... means an error popup and an new error log entry!

However, the game continues (at least in my case) with the default settings, and doesn't crash or exit!

@wzdev-ci
Copy link
Contributor Author

NoQ commented


I never said that uninstalling a mod will help you load a savegame that relies on it to be installed.

@wzdev-ci
Copy link
Contributor Author

Sparksman commented


Well, then how should I Interpret above line from you?

"Removing any of the two mods (while leaving the other in place) solves the problem (the game starts to load correctly)."

I just tried like described by you (keeping the one necessary mod), and just added my 2 Cents that the mentioned description won't solve the Problem... nothing more, nothing less!

@wzdev-ci
Copy link
Contributor Author

NoQ changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

NoQ commented


When you remove one mod then start the game then save it then load, then it loads correctly. No single mod is at fault.

I could not have imagined somebody will even try to load the game with different mods compared to what was there when it was saved.

@wzdev-ci
Copy link
Contributor Author

Cyp changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Cyp changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Not sure what's going on with Github/trac at the moment, so I'll autoclose this, instead...


87cade1a684f3da0572f13e92539100f35b4f6fe
Author: haonoq
Date: Thu May 30 21:52:57 2013 +0000

Fix off-by-one error in setOverrideMods (strlcpy copies n-1 bytes). Fixes #3567.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jul 1, 2013

dak180 changed owner from `` to dak180

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jul 1, 2013

dak180 committed [34]


In Warzone2100/warzone2100@34e8a6f:

#CommitTicketReference repository="" revision="34e8a6f06111ce3c58919eb2981cffa80eb3e360"
Merge branch 'bugfixes' into 3.1.

* bugfixes:
  Automatically build the sequences only on tags.
  Update png for mac builds to 1.5.16.
  Fix off-by-one error in setOverrideMods (strlcpy copies n-1 bytes). Fixes #3567.
  Simplified Chinese translation update by Peng.
  Update png to 1.5.15 for the mac builds.
  Update zlib to 1.2.8 for the mac builds.
  Hungarian translation update by mtomi78.

Conflicts:
	macosx/configs/mkdmgs.sh

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