Quote:
Originally Posted by surquizu
the last version of draughts does not work in my 505. It starts with the attached screen and it does not do any more. The previous version works well.
|
I am guessing that your problem is with the startup script Draughts.js. This is what it looks like in the repository:
Code:
/* Name: Draughts game
Original code (c) Ben Chenoweth
Initial version: March 2011
*/
tmp = function() {
var Draughts = {
name: "Draughts",
title: "Draughts",
description: "Board game",
icon: "GAME",
activate: function () {
kbook.autoRunRoot.sandbox._icon = Core.config.compat.NodeKinds.getIcon("GAME",0);
kbook.autoRunRoot.sandbox._title = Draughts.title;
kbook.autoRunRoot.sandbox.getSoValue = Core.system.getSoValue;
kbook.autoRunRoot.sandbox.hasNumericButtons = Core.config.compat.hasNumericButtons;
kbook.autoRunRoot.path = Core.config.addonsPath + "Draughts/draughts.xml";
kbook.autoRunRoot.enterIf(kbook.model);
},
actions: [{
name: "Draughts",
group: "Games",
icon: "GAME",
action: function () {
Draughts.activate();
}
}]
};
Core.addAddon(Draughts);
};
try {
tmp();
} catch (e) {
// Core's log
log.error("in Draughts.js", e);
}
Hopefully your file is different! Change it to the one above, and everything should be fine.
Sincerely,
Ben.