SoliDTX Posted October 31, 2022 Share Posted October 31, 2022 The Game is working, Mr Polite. I'm just trying to understand why the mod created by Gilan Stopped to work. And I did not change anything.. Link to comment
nurver9 Posted October 31, 2022 Share Posted October 31, 2022 1 hour ago, SoliDTX said: The Game is working, Mr Polite. I'm just trying to understand why the mod created by Gilan Stopped to work. And I did not change anything.. You quoted a reply about modifying system files and the game not working subsequently ¯\_(ツ)_/¯ Post the error logs found in \debug Link to comment
Nathanlooms Posted October 31, 2022 Share Posted October 31, 2022 Since the new update on pokemmo my encounter counter has stopped working i've tried deleting it and reinstalling it but nothing seems to help it's stuck at 0. Wondering if you have any ideas on how to fix this? Thank you! ❤️ Link to comment
SoliDTX Posted October 31, 2022 Share Posted October 31, 2022 1 hour ago, nurver9 said: You quoted a reply about modifying system files and the game not working subsequently ¯\_(ツ)_/¯ Post the error logs found in \debug That's OK. I've quoted because when I looked into the debug I found the same output. But I'm not a fan to change things without sufficient knowledge. I did not use any strings things mentioned on the Post I have quoted. What I did so far: - Tried to change UI scaling for 1.5x and 1.25. - reinstall Pokemmo and GEC mod, - create a new profile on settings - Test with all themes. I'm running Win 10 last update (KB5018410) 1 hour ago, Nathanlooms said: Since the new update on pokemmo my encounter counter has stopped working i've tried deleting it and reinstalling it but nothing seems to help it's stuck at 0. Wondering if you have any ideas on how to fix this? Thank you! ❤️ I think the problem started in the same time. I'm not so sure, because past days I was just playing pvps. Thank you all in advance 🙂 Link to comment
Gilan Posted October 31, 2022 Author Share Posted October 31, 2022 1 hour ago, SoliDTX said: That's OK. I've quoted because when I looked into the debug I found the same output. But I'm not a fan to change things without sufficient knowledge. I did not use any strings things mentioned on the Post I have quoted. What I did so far: - Tried to change UI scaling for 1.5x and 1.25. - reinstall Pokemmo and GEC mod, - create a new profile on settings - Test with all themes. I'm running Win 10 last update (KB5018410) I think the problem started in the same time. I'm not so sure, because past days I was just playing pvps. Thank you all in advance 🙂 Go through the custom string files that you have. At least one of them is lacking the “is_primary” key in the header of the xml file (you can look at the standard pokemmo strings file to see). Add the “is_primary” key to the header and set it to 0 (or false I’m not at my pc at the moment). Hope this helps you identify the issue. Link to comment
Gilan Posted October 31, 2022 Author Share Posted October 31, 2022 3 hours ago, Nathanlooms said: Since the new update on pokemmo my encounter counter has stopped working i've tried deleting it and reinstalling it but nothing seems to help it's stuck at 0. Wondering if you have any ideas on how to fix this? Thank you! ❤️ I’m not aware of the new update being a cause for the tool breaking. Did you have to change anything with Java etc. when updating pokemmo? Link to comment
zinnerzPT Posted October 31, 2022 Share Posted October 31, 2022 I am running into the exact same issue as SoliDTX since the halloween update. gecDebug.log looks like this: ERROR:root:gecException: Traceback (most recent call last): File "GilansEncounterCounter.py", line 1294, in run_app File "GilansEncounterCounter.py", line 300, in refresh_font_info File "GilansEncounterCounter.py", line 135, in refresh_gui_info KeyError: 'is_primary' Link to comment
Nathanlooms Posted October 31, 2022 Share Posted October 31, 2022 1 hour ago, Gilan said: I’m not aware of the new update being a cause for the tool breaking. Did you have to change anything with Java etc. when updating pokemmo? Not that I know of. all I know is that when I went to play this morning my counter was stuck at 53665 and wasn't moving so I tried uninstalling and reinstalling and now it's just stuck at 0. 😕 but it's all good I'll keep trying things to fix it. but if you have any ideas on what to do it's much appreciated! Link to comment
Gilan Posted October 31, 2022 Author Share Posted October 31, 2022 (edited) 1 hour ago, zinnerzPT said: I am running into the exact same issue as SoliDTX since the halloween update. gecDebug.log looks like this: ERROR:root:gecException: Traceback (most recent call last): File "GilansEncounterCounter.py", line 1294, in run_app File "GilansEncounterCounter.py", line 300, in refresh_font_info File "GilansEncounterCounter.py", line 135, in refresh_gui_info KeyError: 'is_primary' And in my reply I explained the issue. There is an xml file in your strings folder (./PokeMMO/data/strings/) that has an incorrect heading. If you open up the xml files in notepad you can look at the heading (literally first 2 lines). For example, the default strings_en.xml file looks like this for me: And the default strings_es.xml file looks like this for me: See how they both have is_primary? You need to go through all your string xml files and check to make sure they have this parameter. Only one of them should be set to "1" (whatever is your main language), the rest should be set to "0". The GEC program expects this in your strings files because it informs the program what text will show up when you encounter pokemon. Edited October 31, 2022 by Gilan Link to comment
zinnerzPT Posted November 1, 2022 Share Posted November 1, 2022 1 hour ago, Gilan said: And in my reply I explained the issue. There is an xml file in your strings folder (./PokeMMO/data/strings/) that has an incorrect heading. If you open up the xml files in notepad you can look at the heading (literally first 2 lines). For example, the default strings_en.xml file looks like this for me: And the default strings_es.xml file looks like this for me: See how they both have is_primary? You need to go through all your string xml files and check to make sure they have this parameter. Only one of them should be set to "1" (whatever is your main language), the rest should be set to "0". The GEC program expects this in your strings files because it informs the program what text will show up when you encounter pokemon. Sorry I'm relatively new to PokeMMO and I wasn't aware of the (default) strings folder. Apparently the default "strings_pl.xml" file does not have "is_primary" at all, so that is probably what was causing the issue. Thank you so much for the help, and thanks for the great tool. Link to comment
Gilan Posted November 1, 2022 Author Share Posted November 1, 2022 4 minutes ago, zinnerzPT said: Sorry I'm relatively new to PokeMMO and I wasn't aware of the (default) strings folder. Apparently the default "strings_pl.xml" file does not have "is_primary" at all, so that is probably what was causing the issue. Thank you so much for the help, and thanks for the great tool. oh I see. Hmm this is a problem since that is a strings file that comes with the client. I'll look into fixing the code for this. Link to comment
Gilan Posted November 1, 2022 Author Share Posted November 1, 2022 Actually @Desu is the strings_pl.xml (Polish) file missing it's header? It's not selectable as a valid client language. I do see it as a chat language though. nurver9 1 Link to comment
nurver9 Posted November 1, 2022 Share Posted November 1, 2022 (edited) 1 hour ago, Gilan said: Actually @Desu is the strings_pl.xml (Polish) file missing it's header? It's not selectable as a valid client language. I do see it as a chat language though. it appears you are correct. header present in 21392, missing since 21578. I just double checked the files I've been archiving. Quote <strings is_primary="0" lang="pl" lang_full="Polski (Polish)"> Edited November 1, 2022 by nurver9 Link to comment
zinnerzPT Posted November 1, 2022 Share Posted November 1, 2022 It seems like an overnight patch fixed the missing header on the strings_pl.xml file, so it was probably an oversight by the devs. Gilan 1 Link to comment
SoliDTX Posted November 1, 2022 Share Posted November 1, 2022 Thank you @Gilan and @nurver9 for your support. It seems after the new game patch your mod is working properly again. Gilan 1 Link to comment
nurver9 Posted November 1, 2022 Share Posted November 1, 2022 4 hours ago, SoliDTX said: Thank you @Gilan and @nurver9 for your support. It seems after the new game patch your mod is working properly again. Yeah, really glad you guys were able to figure it out. This was affecting a lot of people (even non-GEC users.) so it was great that you came forward with this. Apologies if my original reply came off as inconsiderate. Link to comment
themagikarpman Posted November 2, 2022 Share Posted November 2, 2022 im running in to a problem were it wont save my encounter number when the game is closed this i the error read out Traceback (most recent call last): File "gui.py", line 414, in safe_save FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfig.json' -> 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfigDelete.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "gui.py", line 885, in <module> File "gui.py", line 813, in run File "gui.py", line 420, in save_data File "gui.py", line 418, in safe_save FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\tmpvgwrwm3x.tmp' -> 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfig.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "gui.py", line 414, in safe_save FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfig.json' -> 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfigDelete.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "gui.py", line 895, in <module> File "gui.py", line 420, in save_data File "gui.py", line 418, in safe_save FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\tmprl7t_3kd.tmp' -> 'C:\\Users\\natha\\OneDrive\\Desktop\\PokeMMO\\data\\mods\\Gilans Encounter Counter\\config\\gecconfig.json' Link to comment
repposh Posted November 3, 2022 Share Posted November 3, 2022 Got this weird but pretty cool bug, no idea how it happened maybe it has to do with my discord pfp being a celebi? or it could be that i was looking through some adv stuff on smogon but im surprised it only picked celebi if thats the case. Link to comment
Roiman980 Posted November 5, 2022 Share Posted November 5, 2022 (edited) Hello, i did everything like in the video but the app isn't showing in the game. Edit: Nevermind, 10 hours later, it's now working for some reason.. Edited November 6, 2022 by Roiman980 Link to comment
knocsaM Posted November 7, 2022 Share Posted November 7, 2022 Hi Gilan, not sure what I did wrong but I haven't been able to get the encounter counter working recently. It was working when I first started playing PokeMMO but now that I'm trying to start shunting, nothing. Everything looks like it would work until I go do an encounter and she just stays at 0. Creating new profiles and reinstalling has done nothing to fix, any ideas? Made a short video to demonstrate just in case there is any confusion with my explanation: nurver9 1 Link to comment
nurver9 Posted November 7, 2022 Share Posted November 7, 2022 11 hours ago, knocsaM said: Hi Gilan, not sure what I did wrong but I haven't been able to get the encounter counter working recently. It was working when I first started playing PokeMMO but now that I'm trying to start shunting, nothing. Everything looks like it would work until I go do an encounter and she just stays at 0. Creating new profiles and reinstalling has done nothing to fix, any ideas? Made a short video to demonstrate just in case there is any confusion with my explanation: I see you have modified the games dialog. More than likely your error is originating from dialog being removed or your xml headers are incorrectly formatted. Link to comment
knocsaM Posted November 9, 2022 Share Posted November 9, 2022 On 11/7/2022 at 8:52 AM, nurver9 said: I see you have modified the games dialog. More than likely your error is originating from dialog being removed or your xml headers are incorrectly formatted. These specific strings claim to be compatible with GEC, and this has been going on since before I downloaded them. I can try it unmodified again but I don't think I'll see any results. nurver9 1 Link to comment
realmadrid1809 Posted November 9, 2022 Share Posted November 9, 2022 32 minutes ago, knocsaM said: These specific strings claim to be compatible with GEC, and this has been going on since before I downloaded them. I can try it unmodified again but I don't think I'll see any results. Definitely try with a clean strings folder. There have been a lot of formatting issues recently with strings. GEC is very specific about what it needs from those files so they can cause inconsistencies. Make sure that your ingame language, rom language and gec settings language are the same Link to comment
Blakeblk Posted November 9, 2022 Share Posted November 9, 2022 Hi, I just want to report a bug. When a horde with 3 zoruas spawn, It counts the 3 zoruas and my own Pokémon. nurver9 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now