Bloodbane
Well-known member
I'm helping nsw25 to debug a serious bug in Urban Lockdown. The message from the log was this:
After some tests, I discovered that the free function referred by the log is from memory clearing by story mode scripts in endlevel.c
Unfortunately I don't know what else to check for errors in story system scripts which could cause the error above
. Anybody can give me a hand?
Code:
...
Script function 'free' returned an exception, check the manual for details.
parameters: #196608032,
********** An Error Occurred **********
* Shutting Down *
There's an exception while executing script 'endlevel' Total Ram: 1546768384 Bytes
...
After some tests, I discovered that the free function referred by the log is from memory clearing by story mode scripts in endlevel.c
Code:
#include "data/scripts/story/story_clear.c"
void main()
{
clearStory();
setglobalvar("zoomentity", NULL());
changeopenborvariant("slowmotion", 0);
}
Unfortunately I don't know what else to check for errors in story system scripts which could cause the error above
