diff --git a/NHSE.WinForms/Properties/Settings.Designer.cs b/NHSE.WinForms/Properties/Settings.Designer.cs index d516fcd..7ace143 100644 --- a/NHSE.WinForms/Properties/Settings.Designer.cs +++ b/NHSE.WinForms/Properties/Settings.Designer.cs @@ -59,6 +59,18 @@ internal sealed partial class Settings : global::System.Configuration.Applicatio } } + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool SysBotPrompted { + get { + return ((bool)(this["SysBotPrompted"])); + } + set { + this["SysBotPrompted"] = value; + } + } + [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("2889584832")] diff --git a/NHSE.WinForms/Properties/Settings.settings b/NHSE.WinForms/Properties/Settings.settings index 12d49a6..c70abd4 100644 --- a/NHSE.WinForms/Properties/Settings.settings +++ b/NHSE.WinForms/Properties/Settings.settings @@ -11,6 +11,9 @@ 6000 + + False + 2889584832 diff --git a/NHSE.WinForms/Subforms/SysBotUI.cs b/NHSE.WinForms/Subforms/SysBotUI.cs index 79bc0aa..0acf662 100644 --- a/NHSE.WinForms/Subforms/SysBotUI.cs +++ b/NHSE.WinForms/Subforms/SysBotUI.cs @@ -23,6 +23,21 @@ public SysBotUI(Action read, Func write, InjectionType type) TB_IP.Text = Settings.SysBotIP; TB_Port.Text = Settings.SysBotPort.ToString(); + + PopPrompt(); + } + + private void PopPrompt() + { + if (Settings.SysBotPrompted) + return; + + const string info = "This SysBot reads and writes RAM directly to your game when called to Read/Write."; + const string reqd = "Using this functionality requires the sys-botbase sysmodule running on the console." + + "Your console must be on the same network as the PC running this program."; + WinFormsUtil.Alert(info, reqd); + Settings.SysBotPrompted = true; + Settings.Save(); } private uint GetOffset(InjectionType type)