Hello,
I need a little help from the experts please.
I've managed to work through most difficulties in changing from the Debug version to Release version of TeapotWars_2010. It compiles and build without error. The one remaining bug I can't seem to figure out is related to a ScriptEvent during runtime. The ScriptEvent for EvtData_Set_Controlled_Actor::sk_EventType(0xbe5e3388) is appropriately registered. When the event is triggered by the script, the value 'passed in' for the Set Controlled Actor is 0xbe5e3400 which is close to registered GUID but not correct.
Where does this value live in the script event trigger? If it lives in the code and is 'passed out to' the script, how is it getting mangled? Why does it happen in the conversion from Debug to Release? Has anyone seen this before?
Suspecting that LuaPlus libraries were at fault I've tried both the Release and Debug versions of LuaPlus libraries with the same results.
I've been able to repeat this using the code straight out of the repository and changing the build configuration to Release. PlayerOptions.xml sets graphics.renderer to Direct3D 9. Rebuild the 3rd party libraries as Release build configuration. The TeapotWars_2010 Release configuration property page has an error in the Configuration Properties->Debugging in the working Directory field. Change it to "$(ProjectDir)..\..\..\Game".
Additional information:
Visual Studio 2010 Express
Windows 7
Thanks in advance for your help!
I need a little help from the experts please.
I've managed to work through most difficulties in changing from the Debug version to Release version of TeapotWars_2010. It compiles and build without error. The one remaining bug I can't seem to figure out is related to a ScriptEvent during runtime. The ScriptEvent for EvtData_Set_Controlled_Actor::sk_EventType(0xbe5e3388) is appropriately registered. When the event is triggered by the script, the value 'passed in' for the Set Controlled Actor is 0xbe5e3400 which is close to registered GUID but not correct.
Where does this value live in the script event trigger? If it lives in the code and is 'passed out to' the script, how is it getting mangled? Why does it happen in the conversion from Debug to Release? Has anyone seen this before?
Suspecting that LuaPlus libraries were at fault I've tried both the Release and Debug versions of LuaPlus libraries with the same results.
I've been able to repeat this using the code straight out of the repository and changing the build configuration to Release. PlayerOptions.xml sets graphics.renderer to Direct3D 9. Rebuild the 3rd party libraries as Release build configuration. The TeapotWars_2010 Release configuration property page has an error in the Configuration Properties->Debugging in the working Directory field. Change it to "$(ProjectDir)..\..\..\Game".
Additional information:
Visual Studio 2010 Express
Windows 7
Thanks in advance for your help!
-Troy