Nice work! :) Looks like you've completely obsoleted <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Lua_class_hierarchy" target="_blank">my own attempt on the wiki</a> (I was too lazy to do a full blown app anyway so I went for the simple script approach) - perhaps you should consider adding a wiki renderer to it.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Can anyone get this to work?
Its searching for lua51.dll
C:\Users\Creationism>"C:\Ns2Docs\Ns2Docs-Console.exe - Shortcut.lnk" System.DllNotFoundException: Unable to load DLL 'lua51.dll': The specified modul e could not be found. (Exception from HRESULT: 0x8007007E) at LuaInterface.LuaDLL.luaL_newstate() at LuaInterface.Lua..ctor() at Ns2Docs.Spark.Parsing.SparkParser.InitLua() at Ns2Docs.Spark.Parsing.SparkParser..ctor() at Ns2Docs.Cli.Program.RunFromArgs(String[] args) at Ns2Docs.Cli.App.Start(String[] args)<!--c2--></div><!--ec2-->
So .. i took ns2's lua5.1.dll and put it in my ns2docs folder renamed it to lua51.dll
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->C:\Users\Creationism>"C:\Ns2Docs\Ns2Docs-Console.exe - Shortcut.lnk" System.DllNotFoundException: Unable to load DLL 'lua51.dll': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more de tail. (Exception from HRESULT: 0x800736B1) at LuaInterface.LuaDLL.luaL_newstate() at LuaInterface.Lua..ctor() at Ns2Docs.Spark.Parsing.SparkParser.InitLua() at Ns2Docs.Spark.Parsing.SparkParser..ctor() at Ns2Docs.Cli.Program.RunFromArgs(String[] args) at Ns2Docs.Cli.App.Start(String[] args)<!--c2--></div><!--ec2-->
Onos Ate MeJoin Date: 2010-12-31Member: 76072Members, NS2 Playtester, Squad Five Blue
edited August 2012
<!--quoteo(post=1961451:date=Aug 11 2012, 08:03 PM:name=Luitjens)--><div class='quotetop'>QUOTE (Luitjens @ Aug 11 2012, 08:03 PM) <a href="index.php?act=findpost&pid=1961451"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Can anyone get this to work?<!--QuoteEnd--></div><!--QuoteEEnd--> ns2docs uses a different version of lua that is incompatible with ns2's. to get it to work, either extract <a href="http://dl.dropbox.com/u/53107776/lua.zip" target="_blank">this</a> into the ns2docs folder or install <a href="http://code.google.com/p/luaforwindows/downloads/list" target="_blank">lua for windows</a>.
added support for paths with spaces, added in the dlls just in case, manually optimized the code so speed should have gone up. <a href="https://dl.dropbox.com/u/2310376/ns2.zip" target="_blank">https://dl.dropbox.com/u/2310376/ns2.zip</a>
here is the edited source. I know it would be better to do all of the work of forking and all that but its just too complicated for me to follow. <a href="https://dl.dropbox.com/u/2310376/ns2docssrc.zip" target="_blank">https://dl.dropbox.com/u/2310376/ns2docssrc.zip</a> on a humorous note i learned that it is able to read its own lua, the lua of workshop mods without failing. For those of you who wished for a patch file of my edits here you go. <a href="https://dl.dropbox.com/u/2310376/myfixes.patch" target="_blank">https://dl.dropbox.com/u/2310376/myfixes.patch</a> Also here is the latest build docs currently 235 <a href="https://dl.dropbox.com/u/2310376/ns2docs/src/index.html" target="_blank">https://dl.dropbox.com/u/2310376/ns2docs/src/index.html</a>
For people having a System.NotSupportedException (see attachment; due to having the updated .net framework); you'll have to "unblock" the .exe and .dll you downloaded. To do this right-click --> property than press the "Unblock" button & "Ok" (see attachment). You might need to do that for every .dll individually (I didn't see the unblock button when selecting all the .dll :-/).
Comments
Looks like you've completely obsoleted <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Lua_class_hierarchy" target="_blank">my own attempt on the wiki</a> (I was too lazy to do a full blown app anyway so I went for the simple script approach) - perhaps you should consider adding a wiki renderer to it.
Its searching for lua51.dll
C:\Users\Creationism>"C:\Ns2Docs\Ns2Docs-Console.exe - Shortcut.lnk"
System.DllNotFoundException: Unable to load DLL 'lua51.dll': The specified modul
e could not be found. (Exception from HRESULT: 0x8007007E)
at LuaInterface.LuaDLL.luaL_newstate()
at LuaInterface.Lua..ctor()
at Ns2Docs.Spark.Parsing.SparkParser.InitLua()
at Ns2Docs.Spark.Parsing.SparkParser..ctor()
at Ns2Docs.Cli.Program.RunFromArgs(String[] args)
at Ns2Docs.Cli.App.Start(String[] args)<!--c2--></div><!--ec2-->
So .. i took ns2's lua5.1.dll and put it in my ns2docs folder renamed it to lua51.dll
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->C:\Users\Creationism>"C:\Ns2Docs\Ns2Docs-Console.exe - Shortcut.lnk"
System.DllNotFoundException: Unable to load DLL 'lua51.dll': The application has
failed to start because its side-by-side configuration is incorrect. Please see
the application event log or use the command-line sxstrace.exe tool for more de
tail. (Exception from HRESULT: 0x800736B1)
at LuaInterface.LuaDLL.luaL_newstate()
at LuaInterface.Lua..ctor()
at Ns2Docs.Spark.Parsing.SparkParser.InitLua()
at Ns2Docs.Spark.Parsing.SparkParser..ctor()
at Ns2Docs.Cli.Program.RunFromArgs(String[] args)
at Ns2Docs.Cli.App.Start(String[] args)<!--c2--></div><!--ec2-->
Any help would be great
ns2docs uses a different version of lua that is incompatible with ns2's. to get it to work, either extract <a href="http://dl.dropbox.com/u/53107776/lua.zip" target="_blank">this</a> into the ns2docs folder or install <a href="http://code.google.com/p/luaforwindows/downloads/list" target="_blank">lua for windows</a>.
<a href="https://dl.dropbox.com/u/2310376/ns2.zip" target="_blank">https://dl.dropbox.com/u/2310376/ns2.zip</a>
here is the edited source. I know it would be better to do all of the work of forking and all that but its just too complicated for me to follow.
<a href="https://dl.dropbox.com/u/2310376/ns2docssrc.zip" target="_blank">https://dl.dropbox.com/u/2310376/ns2docssrc.zip</a>
on a humorous note i learned that it is able to read its own lua, the lua of workshop mods without failing.
For those of you who wished for a patch file of my edits here you go.
<a href="https://dl.dropbox.com/u/2310376/myfixes.patch" target="_blank">https://dl.dropbox.com/u/2310376/myfixes.patch</a>
Also here is the latest build docs currently 235
<a href="https://dl.dropbox.com/u/2310376/ns2docs/src/index.html" target="_blank">https://dl.dropbox.com/u/2310376/ns2docs/src/index.html</a>
https://dl.dropbox.com/u/2310376/ns2/ns2docs/src/index.html
if you get a 404 error its because its still being uploaded to dropbox
2nd attachment = see below
Try http://ns2docs.bplaced.net/ that's my mirror