-
Notifications
You must be signed in to change notification settings - Fork 5
Fixes for new UI and headless mode #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,53 +1,53 @@ | ||
| RSBot.Main.Character.label3="Oro:" | ||
| RSBot.Main.Character.label2="Nivel:" | ||
| RSBot.Main.Panel.btnSave="Guardar" | ||
| RSBot.Main.fileToolStripMenuItem="Menu" | ||
| RSBot.Main.menuItemExit="Salir" | ||
| RSBot.Main.viewToolStripMenuItem="Ver" | ||
| RSBot.Main.menuSidebar="Barra Lateral" | ||
| RSBot.Main.toolsToolStripMenuItem="Bucle" | ||
| RSBot.Main.menuScriptRecorder="Grabar Script" | ||
| RSBot.Main.menuPlugins="Plugins" | ||
| RSBot.Main.languageToolStripMenuItem="Idioma" | ||
| RSBot.Main.themeToolStripMenuItem="Tema" | ||
| RSBot.Main.darkToolStripMenuItem="Negro" | ||
| RSBot.Main.lightToolStripMenuItem="Blanco" | ||
| RSBot.Main.coloredToolStripMenuItem="Elegir Color" | ||
| RSBot.Main.aboutToolStripMenuItem="Acerca" | ||
| RSBot.Main.thisToolStripMenuItem="OasisBot" | ||
| RSBot.ScriptRecorder.Panel.labelStatus="<Inactivo>" | ||
| RSBot.ScriptRecorder.Panel.btnRunNow="Correr" | ||
| RSBot.ScriptRecorder.Panel.btnSave="Guardar" | ||
| RSBot.ScriptRecorder.Panel.btnClear="Limpiar" | ||
| RSBot.ScriptRecorder.Panel.btnStart="Grabar" | ||
| RSBot.ExitDialog.Panel.btnNo="No" | ||
| RSBot.ExitDialog.Panel.btnYes="Si" | ||
| RSBot.ExitDialog.Panel.checkDontAskAgain="No Preguntar de nuevo" | ||
| RSBot.ExitDialog.labelInfo="Está seguro de que desea salir de OasisBot? | ||
| Esto lo desconectará del Servidor Silkroad!" | ||
| LabelPlayerName="Desconectado" | ||
| LabelEntityName="No se ha seleccionado ninguna entidad." | ||
| LabelPetName="< Sin nombre >" | ||
| NotifyPleaseSelectProperBotBase="Seleccione una base de bots adecuada e inténtelo de nuevo." | ||
| NotifyPlayerWasNull="Tu personaje tiene que estar en el juego para iniciar el bot." | ||
| Running="Corriendo" | ||
| Ready="Listo" | ||
| Start="Grabar" | ||
| Stop="Detener" | ||
| Idle="Inactivo" | ||
| Recording="Grabando..." | ||
| StopingBot="Deteniendo el bot [{0}]" | ||
| StartBot="Iniciar BOT" | ||
| StopBot="Detener BOT" | ||
| NoBotbaseDetected="¡No se ha detectado ninguna base de bots!" | ||
| NoBotbaseDetectedDesc="The bot can not be run without any botbase!\n Please install a proper botbase and try again.\n You can find help at https://silkroad-developer-community.github.io/OasisBot" | ||
| SaveRecordedScript="Guardar Script." | ||
| RunNow="Correr" | ||
| StopRunning="Detener" | ||
| OpenFileDialogTitle="Seleccione su archivo ejecutable de Silkroad para continuar..." | ||
| ClientTypeInputDialogTitle="¡Selecciona tu tipo de cliente!" | ||
| ClientTypeInputDialogContent="¡Seleccione el tipo de juego para que OasisBot funcione correctamente!" | ||
| SelectSroDirWarn="¡Seleccione un directorio de Silkroad adecuado!" | ||
| ClientTypeNotSelected="Está configurado en 'Vietnam' por ahora porque no ha seleccionado ningún tipo de juego." | ||
| ConfigureTrainingAreaBeforeStartBot="Please configure the training area before start the bot!" | ||
| PleaseEnterGame="¡Por favor ingrese al juego!" | ||
| RSBot.Main.Character.label3="Oro:" | ||
| RSBot.Main.Character.label2="Nivel:" | ||
| RSBot.Main.Panel.btnSave="Guardar" | ||
| RSBot.Main.fileToolStripMenuItem="Menu" | ||
| RSBot.Main.menuItemExit="Salir" | ||
| RSBot.Main.viewToolStripMenuItem="Ver" | ||
| RSBot.Main.menuSidebar="Barra Lateral" | ||
| RSBot.Main.toolsToolStripMenuItem="Bucle" | ||
| RSBot.Main.menuScriptRecorder="Grabar Script" | ||
| RSBot.Main.menuPlugins="Plugins" | ||
| RSBot.Main.languageToolStripMenuItem="Idioma" | ||
| RSBot.Main.themeToolStripMenuItem="Tema" | ||
| RSBot.Main.darkToolStripMenuItem="Negro" | ||
| RSBot.Main.lightToolStripMenuItem="Blanco" | ||
| RSBot.Main.coloredToolStripMenuItem="Elegir Color" | ||
| RSBot.Main.aboutToolStripMenuItem="Acerca" | ||
| RSBot.Main.thisToolStripMenuItem="OasisBot" | ||
| RSBot.ScriptRecorder.Panel.labelStatus="<Inactivo>" | ||
| RSBot.ScriptRecorder.Panel.btnRunNow="Correr" | ||
| RSBot.ScriptRecorder.Panel.btnSave="Guardar" | ||
| RSBot.ScriptRecorder.Panel.btnClear="Limpiar" | ||
| RSBot.ScriptRecorder.Panel.btnStart="Grabar" | ||
| RSBot.ExitDialog.Panel.btnNo="No" | ||
| RSBot.ExitDialog.Panel.btnYes="Si" | ||
| RSBot.ExitDialog.Panel.checkDontAskAgain="No Preguntar de nuevo" | ||
| RSBot.ExitDialog.labelInfo="Está seguro de que desea salir de OasisBot? | ||
| Esto lo desconectará del Servidor Silkroad!" | ||
| LabelPlayerName="Desconectado" | ||
| LabelEntityName="No se ha seleccionado ninguna entidad." | ||
| LabelPetName="< Sin nombre >" | ||
| NotifyPleaseSelectProperBotBase="Seleccione una base de bots adecuada e inténtelo de nuevo." | ||
| NotifyPlayerWasNull="Tu personaje tiene que estar en el juego para iniciar el bot." | ||
| Running="Corriendo" | ||
| Ready="Listo" | ||
| Start="Grabar" | ||
| Stop="Detener" | ||
| Idle="Inactivo" | ||
| Recording="Grabando..." | ||
| StopingBot="Deteniendo el bot [{0}]" | ||
| StartBot="Iniciar BOT" | ||
| StopBot="Detener BOT" | ||
| NoBotbaseDetected="¡No se ha detectado ninguna base de bots!" | ||
| NoBotbaseDetectedDesc="The bot can not be run without any botbase!\n Please install a proper botbase and try again.\n You can find help at https://silkroad-developer-community.github.io/OasisBot" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Translate remaining English strings in These two entries are still English, which breaks localization consistency in Spanish mode. Proposed fix-NoBotbaseDetectedDesc="The bot can not be run without any botbase!\n Please install a proper botbase and try again.\n You can find help at https://silkroad-developer-community.github.io/OasisBot"
+NoBotbaseDetectedDesc="¡El bot no puede ejecutarse sin una base de bots!\nPor favor, instala una base de bots adecuada e inténtalo de nuevo.\nPuedes encontrar ayuda en https://silkroad-developer-community.github.io/OasisBot"
-ConfigureTrainingAreaBeforeStartBot="Please configure the training area before start the bot!"
+ConfigureTrainingAreaBeforeStartBot="¡Por favor, configura el área de entrenamiento antes de iniciar el bot!"Also applies to: 52-52 🤖 Prompt for AI Agents |
||
| SaveRecordedScript="Guardar Script." | ||
| RunNow="Correr" | ||
| StopRunning="Detener" | ||
| OpenFileDialogTitle="Seleccione su archivo ejecutable de Silkroad para continuar..." | ||
| ClientTypeInputDialogTitle="¡Selecciona tu tipo de cliente!" | ||
| ClientTypeInputDialogContent="¡Seleccione el tipo de juego para que OasisBot funcione correctamente!" | ||
| SelectSroDirWarn="¡Seleccione un directorio de Silkroad adecuado!" | ||
| ClientTypeNotSelected="Está configurado en 'Vietnam' por ahora porque no ha seleccionado ningún tipo de juego." | ||
| ConfigureTrainingAreaBeforeStartBot="Please configure the training area before start the bot!" | ||
| PleaseEnterGame="¡Por favor ingrese al juego!" | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |||||
| using RSBot.Core.Components; | ||||||
| using RSBot.Core.Components.Command; | ||||||
| using System; | ||||||
| using System.Threading.Tasks; | ||||||
|
|
||||||
| namespace RSBot.General; | ||||||
|
|
||||||
|
|
@@ -12,12 +13,17 @@ public class StartClientCommand : ICLICommand | |||||
|
|
||||||
| public void Execute(string[] args) | ||||||
| { | ||||||
| GeneralPlugin.Instance.Manager.StartClientAsync().ContinueWith(task => | ||||||
| _ = Task.Run(async () => | ||||||
| { | ||||||
| if (task.IsFaulted) | ||||||
| Log.Error($"Failed to start client: {task.Exception?.InnerException?.Message ?? task.Exception?.Message}"); | ||||||
| else | ||||||
| try | ||||||
| { | ||||||
| await GeneralPlugin.Instance.Manager.StartClientAsync().ConfigureAwait(false); | ||||||
| Log.Notify("Client started"); | ||||||
| } | ||||||
| catch (Exception ex) | ||||||
| { | ||||||
| Log.Error($"Failed to start client: {ex.Message}"); | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Log the full exception for better debuggability. Logging only 📝 Proposed fix to log the full exception- Log.Error($"Failed to start client: {ex.Message}");
+ Log.Error($"Failed to start client: {ex}");Alternatively, if you want to keep the prefix message: - Log.Error($"Failed to start client: {ex.Message}");
+ Log.Error(ex);📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| } | ||||||
| }); | ||||||
| } | ||||||
| } | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix Spanish accent in confirmation label.
"Si"should be"Sí"in Spanish UI text.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents