NS2Docs

2»

Comments

  • BJHBnade_spammerBJHBnade_spammer Join Date: 2005-02-25 Member: 42431Members
    nice and im glad you are finally back
  • FireStormFireStorm Join Date: 2002-11-06 Member: 7390Members
    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.
  • LuitjensLuitjens Join Date: 2010-07-26 Member: 73034Members, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, Subnautica Playtester
    <!--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-->


    Any help would be great
  • Onos Ate MeOnos Ate Me Join Date: 2010-12-31 Member: 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>.
  • LuitjensLuitjens Join Date: 2010-07-26 Member: 73034Members, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, Subnautica Playtester
    <3 you! I tried it with a few files from the internet, yours works from your zip! Much appreciated :)
  • jfmherokillerjfmherokiller Join Date: 2012-12-18 Member: 175408Members
    edited December 2012
    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>
  • fivesevenfiveseven Join Date: 2012-11-26 Member: 173272Members
    Cheers jfmherokiller
  • jfmherokillerjfmherokiller Join Date: 2012-12-18 Member: 175408Members
    just updated it to build 238 enjoy
  • jfmherokillerjfmherokiller Join Date: 2012-12-18 Member: 175408Members
    edited March 2013
    updated to 240 link also changed
    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
  • jfmherokillerjfmherokiller Join Date: 2012-12-18 Member: 175408Members
    updated my docs to 243
  • RedSwordRedSword Join Date: 2006-12-07 Member: 58947Members, Reinforced - Shadow, WC 2013 - Supporter
    edited September 2013
    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 :-/).

    2nd attachment = see below
  • RedSwordRedSword Join Date: 2006-12-07 Member: 58947Members, Reinforced - Shadow, WC 2013 - Supporter
    edited September 2013
    2nd image (wtf can't f* attach a file when editing ??)
  • jfmherokillerjfmherokiller Join Date: 2012-12-18 Member: 175408Members
    Im still here and Ive updated my docs and changed the link http://jfmhero.me/drop/ns2/ns2docs/src/
  • clankill3rclankill3r Join Date: 2007-09-03 Member: 62145Members, NS2 Map Tester, Reinforced - Shadow
    All of the links are down, including the last one.
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    clankill3r wrote: »
    All of the links are down, including the last one.

    Try http://ns2docs.bplaced.net/ that's my mirror
  • clankill3rclankill3r Join Date: 2007-09-03 Member: 62145Members, NS2 Map Tester, Reinforced - Shadow
Sign In or Register to comment.