Template talk:WkIncompatible
From Worms Knowledge Base
Idea for a module
This template actually brought me an idea to make a WormKit module. It does the version check for the modules that do not have their own version check. And when an incompatible module is found, it displays a error message and then terminates W:A. (rather than let W:A crash by itself)
This is off-topic but I just tell my idea. --Explorer09 10:34, 2 December 2010 (CET)
- Hey, great idea! However, there's no real way of knowing what version a module was written for outside of: a WA version check included by the author, a module version check done by WormKit (explained in next paragraph), or a database of known module version compatibility.
- WoW's addons are each required to have a version number in their .toc file (table of contents file) so WoW can check whether it's "up to date". Before logging into their character, the player can see a list of their installed addons with descriptions and an up-to-date flag. They can toggle an option called "Load out of date addons" to load addons marked with old version numbers but still work. A similar method applied to WormKit and its modules would be great, but that would probably require changing WormKit itself. WormKit is open-source, but all this would need to be coordinated to be useful at all. Meaning, everyone would have to update WormKit. Since that probably won't happen on top of this taking a lot of effort to coordinate between module authors and whoever would code/build/host the modified WormKit, this method wouldn't make a very realistic project.
- The database-of-known-module-compatibility could work. Someone would have to maintain that and everyone would have to download the module.
- -Lex 05:54, 3 December 2010 (CET)