Got the following warning message from 3.6beta1
Any suggestions on what to do about these???
Deprecated classes, methods, and fields in C:\GAMES\VASSAL module edits\Europe Engulfed edits\Europe_Engulfed_v3.0 beta-RC-67.vmod
(used by => removed item, date eligible for removal)
There’s supposed to be a message in a dialog when you open a module using anything deprecated (or removed) which explains what to do. Did that message not appear for you?
It looks like this for me:
[attachment=0]Screenshot from 2021-08-26 15-11-55.png[/attachment]
The relevant part is “Please consult the javadoc for the deprecated items at vassalengine.org/javadoc/ for advice about how to replace them.” If you look up those items in the javadoc for 3.5.8, you’ll find notes about what to use for replacements.
There’s custom code in the module; this message wouldn’t be displayed if there weren’t. However, I don’t see where that custom code is in use. I checked all the versions back to 1.7 and found nothing, and I gather from the version history file in the module that the custom code was introduced in 2006, as a preview of a feature we added to VASASL 2.8.
I think the solution to your problem is simply to remove the custom code: Unzip the module, delete the viewer directory, rezip the module.