I don't know what to think but "WHAT THE @#$% ?!" For some reason my mod is actively self destructing, elements are failing everywhere, please give a diagnosis.
https://github.com/cyberdragon442/Mythical-Mod
Please help. PLEASE!
I FOUND THE CAUSE! (I rapidly smacked keys untill it bluescreened then ran a debug) This is result:
Unhandled exception at 0x77B23792 (ntdll.dll) in Mythical Mod.exe: 0xC0000005: Access violation reading location 0x00000D01.
EUREKA! I tried to replicate the crash so I pressed keys in alphabetical order. It crashed at "mnop".
EDIT: OH S***!
Unhandled exception at 0x77BBE6C3 (ntdll.dll) in Mythical Mod.exe: 0xC0000374: A heap has been corrupted (parameters: 0x77BF4268).
in "ntdll.pdb" (whatever that is)
EDIT: Confirmed that pressing "P" crashes it.
void SigHandler()...all gone. :)
It said: Mythical Mod.exe has triggered a breakpoint.
here, in malloc.c:
if (size <= _HEAP_MAXREQ) {
for (;;) {
res = _heap_alloc(size); // here
and this:
Unhandled exception at 0x77BBE6C3 (ntdll.dll) in Mythical Mod.exe: 0xC0000374: A heap has been corrupted (parameters: 0x77BF4268).
OH, and those broken elements, all run from "switch() case:" functions elsewhere, but only some of the cases are broken while the rest work. O_o
As PewDiePie says: "What da hewl?!"
EDIT: "IT WAS THE BARRELS!" :P
Oh...compiler needs to update. Maybe that will fix it.
EDIT: I FIXED THE GOD D*** MOTHER-F***ER! It was attempting to double link.
EDIT: NO! F***ER! STOP TRYING TO DOUBLE LINK! YOU'RE GOING TO BLOW OUT MY MEMORY! NO! #$%&!!!