An overlay for Spelunky 2 to help you with modding, exploring the depths of the game and practicing with tools like spawning arbitrary items, warping to levels and teleporting.
The dump_string function wasn't being called protected, crashing the game if there was an error on it
The current backend also wasn't getting pushed, so when dump_string tried to get an entity's user data, it couldn't get the backend and crashed (returned an unhandled error)
InputString
Originally it was a copy of
ImGui::InputText
from imgui_stdlib.cpp and used to call the ImGui C function, but on the commit below, it started calling the function it was copied from, without removing the the previous code, making the assert to fail on debug and executing some unnecessary code https://github.com/spelunky-fyi/overlunky/commit/3b70edc64918a5cf47f23acaf161b9ec29865d7f#diff-1da18dbcb5bae1fe88bb2854c55ac61aa27b5afe3204a14fc975ad31460bc1c1R173LuaConsole::execute
dump_string
function wasn't being called protected, crashing the game if there was an error on itdump_string
tried to get an entity's user data, it couldn't get the backend and crashed (returned an unhandled error)