Skip to content

Compiling new C++ code causes crashes during gameplay #1

@R0NIN-6

Description

@R0NIN-6

Thank you for making this tool. Is it a common issue for the game to crash when adding new C++ logic to the codebase? For example, I added functionality to spawn some NPCs at the start of the mission in the player.cpp class in the Init function. Compiling and loading the mod works fine, and sometimes the NPC would spawn, but it will always lead to the game crashing about 30 seconds into a level whether on the first try or subsequent attempts. I tried in debug/release versions, and in 32 and 64 bit versions. I also tried with the original executables and the ones from the 64 bit modded executables you made. I think you did a great job with this tool and it has incredible potential, I just want to solve the crashes so I can keep trying new code and mods. I can include my PC specs too but it is pretty powerful machine so doubt that is the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions