Hi, people are having issues with "VirtualAlloc failed" and "out of memory" errors. But it seems to be caused by random things and not even always. Any ideas?
Viewing post in Serious Sam: The Sequel (Public Beta) comments
Just as clueless as you are. I’ve seen “VirtualAlloc failed” be reported under many different circumstances, even the unmodded vanilla game. It could be caused by new OS versions or graphics cards drivers for all I know.
And “out of memory” crashes should usually be traceable through debug because they are displayed by the engine but I have no idea where to begin because there’s zero context about anything. It might even be caused by engine functions, which have been misused by the mod somehow.
Hey, do you know where main menu elements, such as game options are located within the code? I noticed that blood options are gone, for some reason and I want to put them back. Also thinking of adding some extra stuff like enemy speed modifiers.
By the way, you might be aware of this, but when running my mod through your patch, weapons like the tommygun, lasergun and their derivatives, get way faster than they're supposed to.
The blood options are located in Scripts/menu/GameOptions.cfg and Scripts/menu/SPOptions.cfg configs for multiplayer and singleplayer respectively. You have these files packed with the latest version of the mod but for some reason the blood option is missing from them. You can copy it from the original game configs.
You have implemented your own fixes for the slowdown bug, which end up halving the firerate of the weapons when paired with my patch feature. I have considered adjusting patch behavior for certain mods but I’m still on the fence about this because (1) it requires extra effort for more content than the base game and (2) I cannot guarantee that this stuff will still work if the mods in question are continuously updated, which brings me to the former point. If I do end up implementing it, I’ll make sure to disable slowdown fixes from the patch in favor of your mod.