Page 2 of 2

Re: Self Updating Package Script

Posted: Sun Mar 23, 2014 12:48 am
by icesteruk
fetaera wrote:Just display the package.loaded table for that info.

Sorry for the late reply but, What do you mean? .. that just shows all my triggers/alias/scripts etc :/

Re: Self Updating Package Script

Posted: Mon Jun 09, 2014 9:57 am
by icesteruk
sorry for the double post but what AM I looking for in 'package.loaded'??

Re: Self Updating Package Script

Posted: Sat May 23, 2015 8:55 am
by herbert
does anyone happen to know how these work?

Re: Self Updating Package Script

Posted: Wed Sep 23, 2015 2:58 pm
by fstltna
Can i pay someone $25 to set this up for me? Im a little lost at what i need to do...

Re: Self Updating Package Script

Posted: Wed Sep 23, 2015 3:17 pm
by SlySven
@icesteruk: typing in "lua display(package.loaded)" in the Mudlet command line will show pretty much everything that the lua system has stored, including lua system libraries such as the lua file system library a.k.a. "lfs"), the "global" table "_G", the lua commands that Mudlet provides for you (mainly coded in the, um, somewhat meaty source ./src/TLuaInterpreter.cpp file). Needless to say, removing the wrong thing, by setting the value to nil and allowing the garbage collection to do its work, can stop things from working, so the other posters' systems have ways of "blacklisting" or otherwise telling their code "please don't touch those things"...