Solved Why does adding toggles to my collapse crash my game?

Status
Not open for further replies.

ThePerplexedOne

Platinian
This works:

C++:
    const char *features[] = {
            OBFUSCATE("Collapse_Add Currency"), //Not counted
            OBFUSCATE("CollapseAdd_SeekBar_Amount_1_1000000"),
            OBFUSCATE("CollapseAdd_Button_Add Nether"),
            OBFUSCATE("CollapseAdd_Button_Add Souls"),
            OBFUSCATE("CollapseAdd_Button_Add Blood"),
            OBFUSCATE("CollapseAdd_Button_Add Hearts"),
            OBFUSCATE("CollapseAdd_Button_Add Pumpkins"),
            OBFUSCATE("CollapseAdd_Button_Add Cookies"),
            OBFUSCATE("CollapseAdd_Button_Add Coffins (Normal)"),
            OBFUSCATE("CollapseAdd_Button_Add Coffins (Faction)"),
            OBFUSCATE("CollapseAdd_Button_Add Shovels"),
            OBFUSCATE("CollapseAdd_Button_Add Dust"),

            OBFUSCATE("Collapse_Missions"),
    };

This does not, and crashes my game on start:

C++:
    const char *features[] = {
            OBFUSCATE("Collapse_Add Currency"), //Not counted
            OBFUSCATE("CollapseAdd_SeekBar_Amount_1_1000000"),
            OBFUSCATE("CollapseAdd_Button_Add Nether"),
            OBFUSCATE("CollapseAdd_Button_Add Souls"),
            OBFUSCATE("CollapseAdd_Button_Add Blood"),
            OBFUSCATE("CollapseAdd_Button_Add Hearts"),
            OBFUSCATE("CollapseAdd_Button_Add Pumpkins"),
            OBFUSCATE("CollapseAdd_Button_Add Cookies"),
            OBFUSCATE("CollapseAdd_Button_Add Coffins (Normal)"),
            OBFUSCATE("CollapseAdd_Button_Add Coffins (Faction)"),
            OBFUSCATE("CollapseAdd_Button_Add Shovels"),
            OBFUSCATE("CollapseAdd_Button_Add Dust"),

            OBFUSCATE("Collapse_Missions"),
            OBFUSCATE("CollapseAdd_Toggle_Unlock all stages"),
    };

Am I missing something here? It literally looks the exact same on the github repo: Android-Mod-Menu/Main.cpp at master · LGLTeam/Android-Mod-Menu
 
Status
Not open for further replies.
Back
Top Bottom