From 77d0101143f3b8e7c2af9e0033654503cdb236e8 Mon Sep 17 00:00:00 2001 From: Mahtra Date: Sun, 10 Sep 2023 18:55:20 +1200 Subject: [PATCH] Changing lich default locations to account for lich5 --- Lists/Config.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Lists/Config.cs b/Lists/Config.cs index 396c5ed8..1ac2f5f0 100644 --- a/Lists/Config.cs +++ b/Lists/Config.cs @@ -57,9 +57,9 @@ public class Config public string sConnectString = "FE:GENIE /VERSION:" + My.MyProject.Application.Info.Version.ToString() + " /P:WIN_XP /XML"; public int[] iPickerColors = new int[17]; - public string RubyPath { get; set; } = @"C:\ruby4lich\bin\ruby.exe"; + public string RubyPath { get; set; } = @"C:\ruby4lich5\bin\ruby.exe"; public string CmdPath { get; set; } = @"C:\Windows\System32\cmd.exe"; - public string LichPath { get; set; } = @"c:\ruby4lich\lich\lich.rbw"; + public string LichPath { get; set; } = @"c:\ruby4lich5\lich5\lich.rbw"; public string LichArguments { get; set; } = @"--genie --dragonrealms"; public string LichServer { get; set; } = "localhost"; public int LichPort { get; set; } = 11024; @@ -68,7 +68,7 @@ public class Config public string ScriptExtension { get; set; } = "cmd"; public string ScriptRepo { get; set; } = string.Empty; - + public int AutoMapperAlpha { get @@ -372,7 +372,7 @@ public bool Save(string sFileName = "settings.cfg") oStreamWriter.WriteLine("#config {spelltimer} {" + bShowSpellTimer + "}"); oStreamWriter.WriteLine("#config {autolog} {" + bAutoLog + "}"); oStreamWriter.WriteLine("#config {automapper} {" + bAutoMapper + "}"); - oStreamWriter.WriteLine("#config {automapperalpha} {" + AutoMapperAlpha + "}"); + oStreamWriter.WriteLine("#config {automapperalpha} {" + AutoMapperAlpha + "}"); oStreamWriter.WriteLine("#config {editor} {" + sEditor + "}"); oStreamWriter.WriteLine("#config {prompt} {" + sPrompt + "}"); oStreamWriter.WriteLine("#config {promptbreak} {" + PromptBreak + "}"); @@ -463,8 +463,8 @@ public bool Load(string sFileName = "settings.cfg") public List SetSetting(string sKey, string sValue = "", bool bShowException = true) { - try - { + try + { List messages = new List(); if (sKey.Length > 0) { @@ -790,7 +790,7 @@ public List SetSetting(string sKey, string sValue = "", bool bShowExcept ScriptDir = sValue; break; } - + case "scriptrepo": {