Serbien Muss Sterbien

The problem is, that some custom code in the module 1914: Serbien Muss Sterbien uses parts of the Vassal API (Application Programming Interface) which have been deprecated or even removed.

This is the same problem as reported with 1914: Offensive à outrance - also by Peter (@pdietrich2 ) - see this discussion. As explained there, the fix is to recompile the custom code against a newer Vassal, making sure to fix the code so that it doesn’t call removed or deprecated API.

As with the other module, the module 1914: Serbien Muss Sterbien does contain the source code for the custom code. However, the source code is very out of date. Fortunately, Joel (@uckelman ) has maintained a repository of the code which is relatively up-to-date with the Vassal API.

That means, to fix the issue, unpack the module, get the code, and rebuild it

$ mkdir tmp
$ unzip 1914-SerbienMussSterbien 108.vmod -d tmp
$ cd tmp
$ rm -rf sources net com
$ git clone https://github.com/uckelman/tite-ocs.git
$ cd tite-ocs 
$ javac -d ../                                          \
        --release 11                                    \
        -Xlint                                          \
        -cp /usr/share/vassal/lib/Vengine.jar           \
        --source-path src                               \
        `find src/net -name "*.java"` 
$ cd ..
$ rm -rf tite-ocs
$ zip -r ../1914-SerbienMussSterbien_1.8.2.vmod .
$ cd ..
$ rm -rf tmp

(above is for MacOS or Linux).

If you want @pdietrich2 you can either

  1. add me temporarily as owner on the 1914: Serbien Muss Sterbien and i will upload a new version of the module,
  2. Pick up the update module and upload it yourself (note, I will delete this file sometime soon), or
  3. do the above yourself.

Yours,
Christian