Hello all,
I’ve got ChatScript compiling as a DLL (via Visual Studio 2013) and accessible from a Mono project. For example, I can call InitSystem(0, null) successfully. However, when I make the first PerformChat call I get a “bot not found” error.
public string botName = "Harry";
public string playerName = "Katherine";
public string dictPath = "../DICT";
public string dataPath = "../RAWDATA";
public string userPath = "../USERS";
// Use this for initialization
void Start () {
ChatscriptLib.chatscript.InitSystem(0, null, dictPath, dataPath, userPath);
Debug.Log ("InitResponse:" + SendChat (""));
}
private string SendChat (string input){
System.Text.StringBuilder output = new System.Text.StringBuilder (1024);
ChatscriptLib.chatscript.PerformChat (playerName, botName, input, null, output);
return output.ToString ();
}
Which files/folders from the original ChatScript zip should be in unchangedPath, readonlyPath and writablePath? (I assume writablePath should be empty.)