Mafuyu 50 Posted August 29, 2019 Share Posted August 29, 2019 PythonApplication.cpp if (m_isMinimizedWnd) { canRender = false; } change to: if (m_isMinimizedWnd) { canRender = true; } thats it. tested and works. If already public, sorry! 1 Link to comment Share on other sites More sharing options...
Nirray 192 Posted August 29, 2019 Share Posted August 29, 2019 It doesn't work, I assure you. I completely abandoned working on the files for this game. I do not respond to private messages. Link to comment Share on other sites More sharing options...
Premium filipw1 1926 Posted August 29, 2019 Premium Share Posted August 29, 2019 I didn't analyze code but I'm sure it would decrease performance Link to comment Share on other sites More sharing options...
Mafuyu 50 Posted August 29, 2019 Author Share Posted August 29, 2019 vor 30 Minuten schrieb Nirray: It doesn't work, I assure you. tested it for 3 hours, works fine. You have some mistakes made vor 15 Minuten schrieb filipw1: I didn't analyze code but I'm sure it would decrease performance yes, instead of 1,5% the game will take 4,5% in background (atleast on my pc) so its wayne ^^ Link to comment Share on other sites More sharing options...
Premium filipw1 1926 Posted August 29, 2019 Premium Share Posted August 29, 2019 3 minuty temu, Mafuyu napisał: tested it for 3 hours, works fine. You have some mistakes made yes, instead of 1,5% the game will take 4,5% in background (atleast on my pc) so its wayne ^^ Open more in game windows and tell me what happens, I'm curious about that Link to comment Share on other sites More sharing options...
Nirray 192 Posted August 29, 2019 Share Posted August 29, 2019 (edited) 7 minutes ago, Mafuyu said: tested it for 3 hours, works fine. You have some mistakes made Yeah, mistakes... to change from false to true It's about ddraw library, granny and the way the system creates windows itself, not just "canRender = bool" thing. Minimized fullscreen client with correct fix:https://metin2.download/picture/0utqnvAFlS2NTEvDqVzP3U2w28Quvj78/.gif Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal 6 1 6 1 11 I completely abandoned working on the files for this game. I do not respond to private messages. Link to comment Share on other sites More sharing options...
Premium filipw1 1926 Posted August 29, 2019 Premium Share Posted August 29, 2019 (edited) 22 minuty temu, Nirray napisał: Yeah, mistakes... to change from false to true It's about ddraw library, granny and the way the system creates windows itself, not just "canRender = bool" thing. Minimized fullscreen client with correct fix:https://metin2.download/picture/0utqnvAFlS2NTEvDqVzP3U2w28Quvj78/.gif I didn't test that yet but he could be right anyways. If it works there is a simplier solution for that problem Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Mafuyu 50 Posted August 29, 2019 Author Share Posted August 29, 2019 (edited) vor 43 Minuten schrieb Nirray: Yeah, mistakes... to change from false to true It's about ddraw library, granny and the way the system creates windows itself, not just "canRender = bool" thing. Minimized fullscreen client with correct fix:https://metin2.download/picture/0utqnvAFlS2NTEvDqVzP3U2w28Quvj78/.gif its not needed to do this too because its completly irrelevant if the mini window shows the live game or if it show nothing Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Nirray 192 Posted August 29, 2019 Share Posted August 29, 2019 (edited) 1 hour ago, Mafuyu said: its not needed to do this too because its completly irrelevant if the mini window shows the live game or if it show nothing Well, then just leave a game with this"fix" minimized in the city full of players or in a place full of mobs (or any .gr2 non-static models [I'm not counting speedtree engine rendered trees]) and come back here with blackscreen bug. Mini-window means that the directdraw is working even when minimized, still performing (carrying out) background calculations and it's not skipping frames like default metin2 client does (default: leave the game in the full window minimized for a few minutes/hours and you will see a framerate drop or freeze + fog draw distance change, shadow level change, LOD errors, .mse unlocking from cache [showing effects like quest arrow, skill effects etc.*) * I mean catching up since minimizing Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal I completely abandoned working on the files for this game. I do not respond to private messages. Link to comment Share on other sites More sharing options...
Active Member Helia01 2125 Posted August 30, 2019 Active Member Share Posted August 30, 2019 (edited) 9 hours ago, Nirray said: Well, then just leave a game with this"fix" minimized in the city full of players or in a place full of mobs (or any .gr2 non-static models [I'm not counting speedtree engine rendered trees]) and come back here with blackscreen bug. Mini-window means that the directdraw is working even when minimized, still performing (carrying out) background calculations and it's not skipping frames like default metin2 client does (default: leave the game in the full window minimized for a few minutes/hours and you will see a framerate drop or freeze + fog draw distance change, shadow level change, LOD errors, .mse unlocking from cache [showing effects like quest arrow, skill effects etc.*) * I mean catching up since minimizing Yes, it’s true, in order to correct a black screen error, it is necessary to skip frames correctly and “freeze” to clear old effects and load new ones after the window has unminimized Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
alexghinet 11 Posted January 27, 2020 Share Posted January 27, 2020 don't do that , error will appear : "? ?? ??? ???" Link to comment Share on other sites More sharing options...
Mafuyu 50 Posted March 15, 2020 Author Share Posted March 15, 2020 On 1/27/2020 at 12:24 PM, alexghinet said: don't do that , error will appear : "? ?? ??? ???" u are just using a shit client^^ i've got it in my live server and beta server for 6 month now and not even one player had the "????" error Link to comment Share on other sites More sharing options...
alexghinet 11 Posted April 8, 2020 Share Posted April 8, 2020 Is good but single problem is cause "?? ?? ??" Will appear afther some time Link to comment Share on other sites More sharing options...
Mafuyu 50 Posted April 9, 2020 Author Share Posted April 9, 2020 5 hours ago, alexghinet said: Is good but single problem is cause "?? ?? ??" Will appear afther some time No it doesnt, maybe if you use some kind of random garbage client. Every basic client will work just fine. You have some other issues in your source. I had this fix on my public server for 5 month without any crashes! Link to comment Share on other sites More sharing options...
alexghinet 11 Posted April 9, 2020 Share Posted April 9, 2020 15 hours ago, Mafuyu said: No it doesnt, maybe if you use some kind of random garbage client. Every basic client will work just fine. You have some other issues in your source. I had this fix on my public server for 5 month without any crashes! Okay , thanks ! mby .mde skins have troubbles. i mean in generaly What vs do u use? Link to comment Share on other sites More sharing options...
Mafuyu 50 Posted April 10, 2020 Author Share Posted April 10, 2020 On 4/9/2020 at 5:45 PM, alexghinet said: Okay , thanks ! mby .mde skins have troubbles. i mean in generaly What vs do u use? my client runs with vs2019, everything is up2date i also use .mde weapon skins, for me they have absolutley no problems, as i said this changes runs on my PUBLIC server for 4 month without any crash or smth like this. Link to comment Share on other sites More sharing options...
alexghinet 11 Posted April 13, 2020 Share Posted April 13, 2020 what netframework is need to take no errors? Link to comment Share on other sites More sharing options...
Recommended Posts