1. Post #41
    Athos's Avatar
    July 2007
    87 Posts
    The lua compiler doesn't accept continue keyword...

  2. Post #42
    yakahughes's Avatar
    April 2008
    1,318 Posts
    The lua compiler doesn't accept continue keyword...
    Obviously. continue is gmod specific, an addition by garry. If he told someone how he did it, they could add it to luac.

  3. Post #43
    Athos's Avatar
    July 2007
    87 Posts

  4. Post #44
    yakahughes's Avatar
    April 2008
    1,318 Posts
    That may be it, I just assumed garry wrote it. I don't know how to apply it though, and don't really have the time to figure it out.

  5. Post #45

    February 2011
    31 Posts
    If you compile lua with the -s flag does it make it completely impossible to decompile and get original source, or does it just make it a huge pain in the ass?

  6. Post #46
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,720 Posts
    Sorry to bump this thread, but this doesn't make any sense:
    Code:
    ] lua_run_cl runclua("falcoprivate/11antilag.lua")
    Not running file falcoprivate/11antilag.lua (invalid path)
    ] lua_run_cl include("falcoprivate/11antilag.lua")
    addons\falco's small scripts\lua\falcoprivate\11antilag.lua: unexpected end in precompiled chunk
    The include shows that the file exists, while the runclua function says it's an invalid path.

  7. Post #47
    Gold Member
    raBBish's Avatar
    March 2007
    2,667 Posts
    Sorry to bump this thread, but this doesn't make any sense:
    Code:
    ] lua_run_cl runclua("falcoprivate/11antilag.lua")
    Not running file falcoprivate/11antilag.lua (invalid path)
    ] lua_run_cl include("falcoprivate/11antilag.lua")
    addons\falco's small scripts\lua\falcoprivate\11antilag.lua: unexpected end in precompiled chunk
    The include shows that the file exists, while the runclua function says it's an invalid path.
    It only seems to load files in garrysmod/lua, not inside addons, since the module doesn't use Source's filesystem API.

  8. Post #48
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,720 Posts
    I just saw it, thanks though.

  9. Post #49

    May 2010
    119 Posts
    Does this still work? And what parts don't work?

  10. Post #50
    I made WAYWO a better place
    OldFusion's Avatar
    September 2011
    1,311 Posts
    It does.