301. Mortem,
Something interesting I noticed is that if you hammer enter once you join the table to start the game, multiple of the game will attempt to be initialized. As you'd expect, it leads to interesting results with Angelscript.
I got these assertions at one point:
Assertion failed!
Program: C:\Program Files (x86)\QuentinCGameroom\qcgc.exe
File: as_module.cpp, Line 845
- Expression: (*globIt)->refCount.get()
1
Assertion failed!
Program: C:\Program Files (x86)\QuentinCGameroom\qcgc.exe
File: as_scriptfunction.cpp, Line 524- Expression: module
0
At another point, it allowed me to navigate through the menu but when I pressed exit it gave me a script error which closed quickly. These things also happened in the debug log:
Destroying game engine...
Destroying AngelScript engine...
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The function in previous message is named 'wait'. The func type is 1
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The function in previous message is named 'main'. The func type is 1
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The builtin type in previous message is named 'SimpleMenuItem'
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The builtin type in previous message is named 'Menu'
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The builtin type in previous message is named 'List'
Warning: There is an external reference to an object in module 'main', preventing it from being deleted
Info: The builtin type in previous message is named 'List'
Error: Object {5}. GC cannot destroy an object of type 'Menu' as it can't see all references. Current ref count is -1.
Error: Object {4}. GC cannot destroy an object of type 'List' as it can't see all references. Current ref count is 1.
Error: Object {6}. GC cannot destroy an object of type 'List' as it can't see all references. Current ref count is 1.
AngelScript engine destroyed
Destroying game engine...
Destroying AngelScript engine...
AngelScript engine destroyed
~msgScore~: +1