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
Crash (during wars?) #10
Comments
The crash I experience can be described as:
|
I have the same issue. Wish there was a fix as this mod is awesome when it isn't suck frozen. |
Hey @YoruBestBudPingu , is there any other info about the crash you've noticed? Like, when does the crash happen for you? |
Hi I have the same issue. It happens quite always during wars. I'm gonna try to see if I can do something, perhaps debug it. |
Sounds good, let me know when the new version comes out! Awesome mod!
…On Fri, Mar 9, 2018 at 10:29 AM, Lucas Vinícius ***@***.***> wrote:
Hey @YoruBestBudPingu <https://github.com/yorubestbudpingu> , is there
any other info about the crash you've noticed? Like, when does the crash
happen for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ajb96L7Uj78slzPGqRBSn22a_z0SqVL9ks5tcp_rgaJpZM4RZUaV>
.
--
Joshua Harrison-Maul
*Phone: 437-772-1710*
*Email: joshuamaul123@gmail.com <joshuamaul123@gmail.com>*
|
UPDATE 1 |
Hmmm, I've looked around the scripthookvdotnet issues a bit and I think it could have something to do with one of the Natives directly called in this mod; maybe one of them is being called providing wrong parameters or invalid data? |
Or... it could be something with the MarkAsNoLongerNeeded function and underlying natives. At least the "Access violation" error, that is (the stack overflow is probably something else) |
UPDATE 2 Though, The exception is unlikely to happen just because of high number of gangs. It mostly looks like a logical error in code. |
Haha yeah, it's pretty unpredictable. Have you made any changes to the code before testing? Even if you didn't, did you recompile the mod or something like that? |
Nope, Nope. I used the same dll I used before, just attached the Debugger to game process. |
OK, I've got some UPDATEs 3
I think, it might be performance / memory related because when I make the following changes, I don't get crashes anymore :
It's not a fix of course, But I think it can be a workaround for now ! |
Hmmm, were the crashes without the debugger all of the "access violation" type? |
To be honest, I forgot where I could see the exception type in those two 😀 or maybe they were not like the other one, Maybe they really were different, I don't know. UPDATE 4 : |
hahah when I crashed, I checked windows's event viewer, it showed the exception type there too. |
I'm thinking maybe your mod has no problem. Maybe its something related to NativeUI or ScriptHookV.Net ? |
Hmmm... I still think it's something related to this mod because other mods don't seem to have the same issue. |
I've made a few tweaks to the mod in the "untested" branch... I haven't tested it too much, but have had no crashes so far. I guess I haven't tested it enough hahaha |
Hi, sorry for Too late reply. |
I use Visual Studio Community 2013, referencing the latest ScripthookVDotNet (the latest release from https://github.com/crosire/scripthookvdotnet/releases) and a NativeUI.dll that was built with that SHVDN (I don't know if I built mine from the exact commit from version 1.7 of NativeUI, or from a commit that came afterwards, like you mentioned... it's probably better to do it like you said, stick to the released version to avoid unstable code and stuff) |
Hi 😬 |
Hey, don't worry about it hahahah I've also been a bit busy... and Hard Disks can be troublesome hehe. |
-I've tried commenting out everything vehicle-related (including spawning) |
As of lately, crashes seem rare, and seem to happen mostly when quickly despawning/marking as no longer needed large numbers of members (when using a trainer to teleport to somewhere far, or reloading scripts with Insert)... |
Users (me too) have been experiencing crashes during some apparently intense moments. Those crashes don't seem to be predictable, however, so the exact cause isn't known. It's possible to fight 3 or 4 wars without crashing, and then crash during, or after, another one
The text was updated successfully, but these errors were encountered: