I've got AIs working, and that's fine. But I've got a dead-simple Gamescript, and it's failing silently and I can't figure out why.
Here's the info.nut:
Code: Select all
class Arbiter extends GSInfo {
function GetAuthor() { return "gregdek"; }
function GetName() { return "Arbiter"; }
function GetDescription() { return "An arbiter of AI-only games"; }
function GetVersion() { return 1; }
function GetDate() { return "2021-02-02"; }
function CreateInstance() { return "Arbiter"; }
function GetShortName() { return "ARBX"; }
function GetAPIVersion() { return "1.9"; }
function GetSettings();
}
/* Tell the core we are a GS */
RegisterGS(Arbiter());
Code: Select all
class Arbiter extends GSController
{
constructor()
}
function Arbiter::Start()
{
GSLog.Info("[arbi] I am here!");
GSController.Sleep(1);
while (true) {
// we just wait every 10 ticks and ping
GSLog.Info("[arbi] I am still here!");
GSController.Sleep(10);
}
}
Code: Select all
[game_scripts]
arbiter = foo=1
Any hints? I'm tearing my hair out. Thanks!