-
Notifications
You must be signed in to change notification settings - Fork 51
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
Game Crash when opening multiple instances of the game #218
Comments
So I continued testing out versions and the last one that was working is this one https://github.com/openmultiplayer/launcher/actions/runs/9931390735 from 15th July. The next one after that https://github.com/openmultiplayer/launcher/actions/runs/10069919744 from 24th July starts causing this issue. Seems very strange as the difference only seems to be the version number and some strip value being added. |
What are you mods? and what happens when you try it with a clean gtasa? |
By default samp unmodded doesn't allow multiprocess (multipleinstances). So when I try it with unmodded gta, nothing happens when you try opening a second game. Basically your game is already open and doesn't allow opening other sessions. This feature of multiporcess is present in sampfuncs. It might also be present in samp addon if I am not mistaken (I also have that installed). I did some more testing and I found out the file which is causing the issue. It's called audio.asi and I think it gets installed by samp addon, need to do some further testing to make sure that file belongs to samp addon or not. This file is placed in the main game folder. The reason I am saying this might belong to samp addon is because I see a couple of differences with and without the file. Without it, when launching a server you get presented with the device selection pop-up, then you get connected to the server and have the regular black background when hitting escape and going to the pause menu. When adding that file, the pop-up doesn't appear anymore (which I remember is a feature of samp addon to remember your resolution and stop asking you about it every time) and the pause menu is transparent (another feature specific to that multimod). Maybe it has something to do with the resolution, I am not sure. I will make some more tests, probably reinstall samp addon and try other settings for it. EDIT: |
Thanks for your research, I'll see if I can make omp file compatible |
Hi there,
Ever since I updated to the final release of the launcher (https://github.com/openmultiplayer/launcher/releases/tag/v1.4.0) my game crashes when trying to open multiple instances.
I have tested this on samp R1 client and it works fine with that, opening multiple instances of the game without causing the already opened ones to crash.
I also retested on the previous launcher version I used (this one here https://github.com/openmultiplayer/launcher/actions/runs/9905220882 release on 10th July) and it also works fine. Tested as well with the R1 version when launching the game.
I use R1 because I have cleo and sampfuncs mods installed which I use. I also tried removing most of the mods but the issue still persists.
Please note that when testing the newest release of the launcher I tried R1 as well, so this does not seem to be an incompatibility between the samp version and the mods.
https://youtu.be/Z-yZWoUDKDw
In the above video I am testing with the previous launcher version from July. You can connect multiple instances of the game without an issue.
https://youtu.be/8MDlI2mRuMg
Here I tested the latest release of the launcher on the same server. It crashed after the 3rd instance, but usually it crashes the game at the second one in over 90% of the time. Somehow I got „lucky” here.
https://youtu.be/j709hcXvyzc
This is a retest of the old launcher from July with many more instances to show that it could open many more without any issues. I think I had 6 open there.
This is the omp-launcher.log of the July launcher:
This is the omp-launcher.log of the latest released launcher:
That's basically the same.
This is the game crash output when using the new launcher and the multiple instance crashes:
So I find this strange and maybe it's a launcher issue? I mean, it works with exactly the same game and mods on an older version of the launcher as well as the samp r1 client, but it crashes on the latest release. I will do some more testing and see from which version of the launcher this problem happens. Maybe it that would make it easier to spot what has changed between version and pinpoint the problem.
For those wondering why are multiple instances of the game useful, they could be used for connecting to multiple servers at once if you play on multiple servers, or in my case, very useful for testing changes to the server gamemode without having to rely on multiple other people to come help you test stuff that needs multiple accounts connected.
The text was updated successfully, but these errors were encountered: