CLEO4 icon indicating copy to clipboard operation
CLEO4 copied to clipboard

0391 'patch' may cause a crash

Open DK22Pac opened this issue 7 years ago • 3 comments

https://github.com/cleolibrary/CLEO4/blob/07df6640da04799118f6273d55ffbb0f4239ccf9/CLEO4/CScriptEngine.cpp#L653 This may cause a crash if you load/unload TXD many times. https://sannybuilder.com/forums/viewtopic.php?id=4548

DK22Pac avatar May 23 '17 15:05 DK22Pac

@Deji69 any idea why do we have this function hooked?

x87 avatar May 23 '17 20:05 x87

Probably something to do with script dependent drawing.

Deji69 avatar May 25 '17 16:05 Deji69

this patch can be undone in a script with

0A8C: write_memory 0x465A6F size 4 value 0x0D8B2774 virtual_protect 1 // CLEO

or

Memory.WriteU32(0x465A6F, 0x0D8B2774, true); // CLEO Redux

yet it's still not clear what it affects.

x87 avatar Aug 26 '23 14:08 x87