Decoda News Update - Decoda 1.07 released
Max
Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
Comments
Is there a way of rolling back a version?
ONLY when running the project from the debugger, it crashes on loading a block from memory.
IF I change the following:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if (0 != luaL_loadbuffer(m_pLuaState, LuaCommand.c_str(), LuaCommand.size(), NULL))<!--c2--></div><!--ec2-->TO:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if (0 != luaL_loadbuffer(m_pLuaState, LuaCommand.c_str(), LuaCommand.size(), "navilua"))<!--c2--></div><!--ec2-->All is well.
I'm off the block now, but I thought someone might like to see this.
ONLY when running the project from the debugger, it crashes on loading a block from memory.
IF I change the following:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if (0 != luaL_loadbuffer(m_pLuaState, LuaCommand.c_str(), LuaCommand.size(), NULL))<!--c2--></div><!--ec2-->TO:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if (0 != luaL_loadbuffer(m_pLuaState, LuaCommand.c_str(), LuaCommand.size(), "navilua"))<!--c2--></div><!--ec2-->All is well.
I'm off the block now, but I thought someone might like to see this.<!--QuoteEnd--></div><!--QuoteEEnd-->
That definitely sounds like a bug. Decoda uses the final parameter for a bunch of things and most likely there's somewhere in there that has issue with NULL being passed in. We'll fix that for the next patch, thanks for reporting it.