Search the Community
Showing results for tags 'erro'.
Ok guys, PKHeX doesn't work on my patato pc System.TypeInitializationException: Se produjo una excepción en el inicializador de tipo de 'PKHeX.WinForms.Main'. ---> System.TypeInitializationException: Se produjo una excepción en el inicializador de tipo de 'PKHeX.Core.GameInfo'. ---> System.MissingMethodException: Método no encontrado: '!! 0  System.Array.Empty ()'. es PKHeX.Core.Util.GetStringList (String f) es PKHeX.Core.GameLanguage.GetStrings (String ident, String lang, String type) es PKHeX.Core.GameStrings..ctor (String l) en PKHeX.Core.GameInfo. GetStrings (Int32 index) en PKHeX.Core.GameInfo..cctor () --- Fin del seguimiento de la pila de la excepción interna --- en PKHeX.WinForms.Main .. es PKHeX.WinForms.Main.FormLoadInitialSettings (String  args, Boolean & showChangelog, Boolean & BAKprompt) es PKHeX.WinForms.Main..ctor () es PKHeX.WinForms.Program.Main () System.MissingMethodException: Método no encontrado: !! 0  System.Array.Empty () '. es PKHeX.Core.Util.GetStringList (String f) es PKHeX.WinForms.WinFormsTranslator.GetTranslationFile (String lang) es PKHeX.WinForms.WinFormsTranslator.GetContext (String lang) en PKHeX.WinForms.ErrorWindow..ctor (String lang) es PKHeX.WinForms.ErrorWindow.ShowErrorDialog (String friendlyMessage, Exception ex, Boolean allowContinue) es PKHeX.WinForms.Program.CurrentDomain_UnhandledException (Remitente de objeto, UnhandledExceptionEventArgs e) thank very much sorry if i used the wrong channel
I was experiencing a certain bug when performing a certain series of actions. I wanted to increase the friendliness and affection of each and every Pokémon in my PC. Since I did not want to spend the time doing all of that, nor did I want to punish my hand muscles like that, I wrote a Python script that uses PyAutoGUI (shown below). This is pretty much a way to tell the computer to control its own mouse and keyboard, and you can tell it exactly where to press when and what to press or type. I watched as it, for an entire PC box, did what I wanted: It right-clicked, selected "View", clicked on the "Memories" button, double-clicked the Friendship text box, typed 2-5-5, double-clicked the Affection text box, typed 2-5-5, right-clicked on the original Pokémon again, and selected to "Set", and then it moved on to the next one. I then trusted that it would do this for all of the boxes that I told it to, which took approximately an hour. When I came back to my computer, to my dismay, it reached the end, but the changes were somehow reverted. I feel like this is a glitch on the part of PKHeX. I just thought that I should report this, so that I could receive a solution or bugfix to this issue. Please respond soon if you know what is going on. Here is the script from before. Basically, pyautogui.click(x, y) just tells the thing to click in that location and doubleClick(x, y) tells it to double-click in that area, while pyautogui.press('2') or pyautogui.press('5') told it to press one of these two buttons, in case you were wondering how this worked: import pyautogui import time time.sleep(5) for b in range(1, 31): pyautogui.click(1095, 193) for yy in range(0, 5): for xx in range(0, 6): pointx = 913 + (40 * xx) pointy = 232 + (31 * yy) pyautogui.click(x=pointx, y=pointy, button='right') pyautogui.click(x=pointx+40, y=pointy+15) pyautogui.click(x=759, y=433) pyautogui.doubleClick(x=793, y=220) pyautogui.press('2') pyautogui.press('5') pyautogui.press('5') pyautogui.doubleClick(x=935, y=220) pyautogui.press('2') pyautogui.press('5') pyautogui.press('5') pyautogui.click(x=1016, y=430) pyautogui.click(x=pointx, y=pointy, button='right') pyautogui.click(x=pointx+40, y=pointy+35)